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

Already on GitHub? Sign in to your account

Different colors to differente countries #90

Closed
marciosm opened this Issue Sep 15, 2012 · 3 comments

Comments

Projects
None yet
3 participants

Hi. I'm trying to use the 1.0 version to create a map with different colors for some countries, not using the scale (from to). I saw some codes to 0.23 version but when I try to use on 1.0 they do not work. Is it possible to share some code about that? The documentation has no enough examples about this kind of thing. My intention is to read a XML file (later) to fill the countries with specific colors. Thank you very much.
Marcio

I am wanting to do the same. The documentation for v1.0 doesn't explain how.

Owner

bjornd commented Oct 5, 2012

In the new version you can set different colors for different regions easily: http://jvectormap.com/examples/france-elections/, http://jvectormap.com/examples/random-colors/

@bjornd bjornd closed this Oct 5, 2012

Dear Bjornd, I am sorry but I tried to use the example of french election and it did not work. I even downloaded the entire code of the page that is in the Jvectormap site with all the CSS and JSs. When I change the code color of the page to, let's say, green and yellow, the map did no change from pink and blue to these new region colors. Any one could use it here? Tks a lot again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment