Newest jvectormap Questions

Q&A for professional and enthusiast programmers

jvectormap map and markers

This is my default html file for web app project. I get error: JavaScript runtime error: '$' is undefined I presume that there is a problem with jquery. This is my first time dealing with html ...

jvectormap: add marker with centered lable

Is possible to show a marker with a centered label? I need to add a marker with a value. I need something like this image

jVectorMap marker as icon

Does anyone know how to add a Image as Marker in jVectorMap? I read a lot of posts here in stackoverflow resolving the same question, but i couldn't make it. My code is the next one: $(function(...

JVectormap error on new version

I'm trying to migrate from JVectormap v 1.2.2 to the latest, which is V 2.0.3 at the moment. However I now get the following error when checking console errors with IE F12; In our project we are ...

How to set zoom level in JVectorMap

I'm using the following code to set the initial zoom level for my jvectormap: $('#world-map').vectorMap('get', 'mapObject').setFocus({ scale: 3 }); After I initialise this scale property, the ...

JQVMap - Cannot Select/Deselect multiple countries at once

I am using JQVmap to build a map that solely works for regions versus individual countries (unless that country itself is defined as a whole region). For example, instead of seeing USA and Canada, ...

in jvectorMap, fixed labels when selected a region

I'm having an issue with js vector map, the labels of the names of the countries, don't disappear of the screen after selecting a country. I'm not sure this is the best way to do it, perhaps there ...

How can I dynamically change jvector map's marker size according to Some Value?

I am following http://jvectormap.com/maps/countries/usa/ map to implement. It is easy and well documented also. But there is a map of region selection which uses markers of different size ,here is ...

jvectormap create dynamic markers

I have created a map and want to populate it with markers from db. Here is my array from db: cityList = {}; cityList['PL-MZ'] = [ [ 'Kobylka', 'kobylka.html', '52.3392', '21.196' ], [ 'Marki', ...

No JSON object could be decoded, JvectorMap Converter

Scenario is, Im new to python and trying to generate jvectorMap using Converter.py plugin provided by jVectorMap, I have installed OSGEO4W (Desktop INSTALL) on Windows 7 64bit. Python 2.7,GDAL 2.1.0 ...

In jvectormap is there a way to show individual us states on page load?

I am new to using jvectormap. I was wondering if there was a way to show individual US states on page load? I have USA drill down map working but need to be able to show specific states such as ...

AngularJS delay compiling directive until element is visible

I have an angular directive that renders a jVectorMap. When the page first loads, the map is hidden, but the user can click on a link to show the map in a fancyBox It's working perfectly fine in ...

Change the JVectorMap legend position

I need to change the position of JVectorMap legend box. Anybody know how to change legend box to left botton position? Regards

`panOnDrag:false` not working on mobile devices

Setting the panOnDrag option to false works on desktop browsers, but not on phones. I've seen the issue being reported, and a comment on Stackoverflow saying they wish it to be resolved on mobile. ...

jvector (world) map get dynamic latlng for multiple counties

I write code to get dynamic latlng at jvector world map. But some thing is wrong please any body suggest how i can done this task. my code:- var globalMapLocs = ["DENMARK", "CANADA", "FRANCE", "...

jvectormap: NS_ERROR_FAILURE on firefox

I use jVectorMap (jquery-jvectormap-2.0.3.min.js) And I try to display the map: jquery-jvectormap-fr-merc.js as follow: $('#france_regions').vectorMap({ map: 'fr_merc' }); But I got on Firefox: ...

maps in jVectorMaps

python ^ converter.py ^ ne_10m_admin_1_states_provinces.shp ^ test-map.js ^ --width 400 ^ --where "ISO_3166_2 = 'RU-' and code_hasc!=''" ^ --country_name_index 12 ^ --country_code_index 18 ^ --...

Draggable jVector map

How do I make a jVector map draggable using jquery draggable? For example: <div class="grid-container"> <div class="grid large"><div id = "map" class="grid-1"></div> </...

JVector map How to change the size of tooltip which are shown when mouse cursor is over region

I'm using JVector Map plugin .I want to change the size of texts which it shows (in a black tooltip) the name of regions after hover them. here is my Javascript code if nedded: $('#world-map')....

How to animate marker on jVectorMap?

I want a marker with pulsation on jVectorMap. Is there any way to animate border(stroke) thickness? Is there any example or whatever? thanks

Count number of condidates based on country and view them in JvectorMap legend

I am using JvectorMap to show the Candidates Geographical details based on the number of candidates from a country. Like: i want to show the number of candidates from USA and same for other countries. ...

JVectorMap Drill-Down doesn't color regions when scale or values change after clicking on a country

I am using JVectorMap to display some visits data over a map. This is the code. var euroMap = new jvm.MultiMap({ container: $('#map'), regionsSelectable: true, ...

how to edit javascript Objects with loop (Jvectormap)

I'm new to Javascript objects and Jquery and I have no clue how I do something like this: series: { regions: [{ values: { ...

jvectormap with country and highways

I have a vectormap of germany with markers. I would like to underlay the highway infrastructure. This map shows what I want to achive: highways. So, is there a chance either to fit that svg into my ...

JVector Map how to have dynamic images when markers hover

Hi I'm using JVector Map and I know my question maybe asked before , and also I found this article jvectormap markers label image too but my problem still not solved I want to show a picture for each ...

JVectorMap Set Scale Below 1

I am creating a web page which requires a full size map, for which I am using JVectorMap. The map has a width and height of 100%. However, this makes the map extend right to the very edges of the page ...

jvectormap how to Display only 1 country

Hi i have spend som time with on my project getting jvectormap to show 1 particular country (Denmark). but it will only show all the world. Hope you can help me? And this is what I try making it do ...

JVectorMap Multimap drill down has different style when drilled down, how can I change this style as well?

This question was asked here as well maybe a year ago, but no answer was provided. I'd like to know how I can make the "drilled-down" map have the same style and background as my main map. var ...

Convert svg maps to jvectormap

I'm using jvectormap plugin and everything works so fine but i need to add some missed country, then I searched and figured out that there was a tool to convert svg map to jvectormap js via svgTo but ...

jvectormap add marker with different radius

I'm trying to create a jvectormap and populate it with markers received via ajax. I'm now able to put the markers in the map but I'd love to change the radius of them based on another value received ...

JVectorMap - borders with Lambert coordinates

I would like to use a custom map displaying some specific region. Those regions are drawn thanks to a list of Lambert coordinates points stored in a database. I found this interesting link in the ...

jvectormap change country color

I'm using a jvectormap on a website which is working with markers, but I fail to change the color of a specific country. I took the documented examples and no errors are given. My code is: $(...

Jvectormap syntax Error color country

I want to implement jvectormap on a website. The vectormap works fine without any individual parameters. Now I'd like to change the color for different countries, starting with germany and france. ...

Colorbox not working with jvectormap

I am trying to open a colorbox by clicking on a country, but it is not working. html: .... <div class="row"> <div class="col-md-12 text-center"> <div id="world-...

Changing the height of JvectorMap?

I am having a problem setting up the height of the JVectorMap in the css. I have looked at the documentation at http://jvectormap.com/. I also looked at $('#world-map').vectorMap({ ...

Javascript TABs containing Javascript map (JVectorMap)

I'm tryng to display different maps (JVectorMap library) in different tabs created with Javascript. Probably the two scripts are in conflict because I can see the map clicking on one tab (usually the ...

Replacement for SVGtojVectorMap

I'd like to create a jVectorMap from a custom svg. I found this excellent tutorial on how to do this. Unfortunately http://svgto.jvectormap.com/ seems to be offline. Is there any handy alternative to ...

Rails/Javascript: JQueryVector Map Not Loading on Page Load

On my rails application I am using JQV map to display a world map with some data. Only problem is, the map is not loading when I load the page, it only loads if I press `ctrl + shift + r. I have it ...

jVectorMap - setFocus error - jQuery

I understand that the minified file from the zip is only the base code, and does not include libraries. Therefore I ran the build.sh file and it produced another minified file that I have included in ...

JVectorMap V2.0.3 change colors per region

I'm new so tell me if I do something wrong. At the moment I'm still a beginner with JavaScript and I'm looking for an answer relating to JVectorMap. (http://jvectormap.com/) In my PHP file I have a ...

Using jVectorMap change the marker label to be multi-line

I am attempting to use jVectorMap's library to plot different markers that have labels next to them. The problem I'm running into is with the render function under labels, where I try to loop over ...

Using Drill Down Starting from the World Map

today I got interest in the JVectorMap package which is apparently just what I was looking for. However, I have a problem which I could not solve on my own. I am trying to build a Drill Down map ...

D3 DataMaps (or jvectormap): How to put a custom object on map by coords

For example I want to add a custom html object to wold map by gps coords (lat, lng) - like pulsating dot done with css or any other(js?) marker animation <style> #circle { background: red; ...

Appended lines to SVG not responsive

I'm making use of JVectormap, on which i've placed dots. Between these dots I draw lines using: var newLine = document.createElementNS('http://www.w3.org/2000/svg','line'); newLine.setAttribute('id','...

Can we change the Marker Style in jVectorMap?

Having trouble with this JVectorMap Marker <head> <link rel="stylesheet" href="css/jquery-jvectormap-2.0.3.css" type="text/css" media="screen"/> <script src="js/jquery.js"></...

How do I trigger single & doubleclick on jvectormap

How do I combine single & double click into onRegionClick using jvectormap. I want to load different link between single & double click event. onRegionClick:function(event, code){ ...

jVectorMap, markers in series don't appear and no size change

I use a json file to produce data and want the marker size to reflect the number of shops in that location. The region do a similar thing, colours work but the markers don't appear (the ltlngs values ...

Convert data from received JSON format to JVectorMap format

I am developing dashboard of a MIS in MVC 5, and in that dashboard I want to use JVectorMap to load the registered countries. So following is my controller action that returns the JSON public ...

jVectorMap - Setting region focus according to data obtained from API

I am currently working on a project where jVectorMap is being used. All the data in the project is being obtained through API calls. The markers are also obtained from the API object where the ...

JVectorMap: update legend

I'm using JVectorMap to show a map with colored countries. The map also includes a legend and an onRegionTipShow. In my application it's possible to alter the values the map is based on. After doing ...
Translating... 0%