Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add extra maps #83

Open
nielssteenbakker opened this issue Mar 30, 2022 · 4 comments
Open

Add extra maps #83

nielssteenbakker opened this issue Mar 30, 2022 · 4 comments

Comments

@nielssteenbakker
Copy link

A limited number of maps is included in this library.

@bitbruder
Copy link
Contributor

There is no right or wrong amount to the provided maps in this library. You can create your own custom maps with this configurator! 😊

https://jvm-docs.vercel.app/docs/available-maps#generating-maps

@nielssteenbakker
Copy link
Author

I know, that is why I created a pull request to close this 'issue'.

@alfangr
Copy link

alfangr commented Jul 15, 2023

I found a great feature to convert SVG maps to jvectormap files, which might be useful.

Check this link https://ruibarreira.github.io/jvectormap-svg-converter/

@mathieu-ducrot
Copy link

Hi, first of all, thank you for your work to maintaining this project !

I was wondering how available maps does work ?

I can see on your repository that there are multiple maps in https://github.com/themustafaomar/jsvectormap/tree/main/packages/maps/src
But when I install your lib (using yarn add jsvectormap), I only see the world map in node_modules/jsvectormap/dist/maps
image

Why does it behave like that ? Do I need to add another package to enable adding those extra maps ?

Also, do you accept PR for adding new maps ?
I personally reformat the following files from https://github.com/1618033/jvectormap-maps/blob/master/README.md with your jsVectorMap.addMap( syntax to work on my project :

  • fr-departements-merc
  • fr-regions-merc
  • europe-merc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants