colors - JQVMAP Country Coloring -


I am using JQVMAP. When I have a country that has members, I want to change it without the color of that country, as the map is displayed.

I am using the following sections to get the countries, and the number of their members is my question, what do I do, once my country, to change the colors of that country ? All countries will have the same color.

$ result = mysql_query ("SELECT COUNT (profile3.organizations) total_orgh, LEFT (country code avon. Conversion, 2) profile 3, country CODEconversions WHERE TRIM (MID country codezing codes, 4 , 147)) = Profile 3 by Kodini Group Profile 3. ""; // if (mysql_num_rows ($ result)>) {$ counter = ""; while ($ line = mysql_fetch_array ($ result, MYSQL_ASSOC) ) {Foreach ($ value as $ value) {$ counter = =; $ Value = Stripship ($ value); if ($ counter == 1) {$ total = nl2br ($ value);} If ($ counter = = 2) {$ counter = 0; $ countrycode = stroller ($ value);? Gt; gdpOrgData ['& lt;? = $ CountryCode & gt ;?'] = ("& lt ;? = $ total & gt; ; "); & Lt ;?

In general, after loading the map, you can set the colors of those countries, so a different color is needed: / P>

  jquery (document) .ready (function () {jQuery ('# vmap'). VectorMap ('set', 'colors', {lt: # 8c9622 ', sv:' # 8c9622 ', Yr:' # 8c9622 '});});  

You can use PHP to create a list in this script. Just make sure to load it after the map loads. I hope it tells you in the right direction.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -