You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var jvm = new jsVectorMap({
map: "us_mill_en",
selector: "#map"
})
But this US map won't load. If I change the file from ../us-mill-en.js to ../world-merc.js and change the following map property from us_mill_en to world_merc it works fine:
var jvm = new jsVectorMap({
map: "world_merc",
selector: "#map"
})
The text was updated successfully, but these errors were encountered:
Sorry for the late response, I'd like to point out that jsvectormap is shipped with only two maps just like you said the world and world-merc maps, case if I decided to ship all maps via npm the package will be really heavy, however, you'll need to download your preferred map from available maps page manually.
Hi there,
I am trying to load a US map, for example the 'us_mill_en' here:
https://jvm-docs.vercel.app/docs/available-maps
I have this js file:
https://raw.githubusercontent.com/themustafaomar/jsvectormap/master/src/maps/us-mill-en.js
But this US map won't load. If I change the file from
../us-mill-en.js
to../world-merc.js
and change the following map property fromus_mill_en
toworld_merc
it works fine:The text was updated successfully, but these errors were encountered: