nimrod

Color Range Change In New Version Of Fusionmaps Xt

Recommended Posts

Hi,

 

Was there a change in the format of defining the color range of a map in the latest version of FusionMaps XT?

 

I updated the files and the legend and the colorrange are not working after the update. Here's a snippet of the XML generated:

 

<map toolTipBgColor='FFFFFF' showBevel='0' showMarkerLabels='1' fillColor='CCCCCC' borderColor='000000' showCanvasBorder='0' baseFont='Arial' baseFontSize='12' markerFontColor='000000' markerFontSize='12' legendPosition='bottom' useHoverColor='1' showMarkerToolTip='1'>

<colorRange>

<color minValue='0' maxValue='0' displayValue='0' color='F8F8F8'/>

<color minValue='1' maxValue='26' displayValue='1 - 25' color='f0e3d4'/>

<color minValue='26' maxValue='50' displayValue='26 - 50' color='e2c9aa'/>

<color minValue='50' maxValue='100' displayValue='51 -100' color='c59353'/>

<color minValue='100' maxValue='300' displayValue='101 - 300' color='936e3e'/>

<color minValue='300' maxValue='20000' displayValue='301+' color='62492a'/>

</colorRange>

 

Also, I saw in the documentation that you are using 'code' instead of 'color', I tried that but the colors and legend are still not displaying.

Edited by nimrod

Share this post


Link to post
Share on other sites

Hi,

 

Was there a change in the format of defining the color range of a map in the latest version of FusionMaps XT?

 

I updated the files and the legend and the colorrange are not working after the update. Here's a snippet of the XML generated:

 

<map toolTipBgColor='FFFFFF' showBevel='0' showMarkerLabels='1' fillColor='CCCCCC' borderColor='000000' showCanvasBorder='0' baseFont='Arial' baseFontSize='12' markerFontColor='000000' markerFontSize='12' legendPosition='bottom' useHoverColor='1' showMarkerToolTip='1'>

<colorRange>

<color minValue='0' maxValue='0' displayValue='0' color='F8F8F8'/>

<color minValue='1' maxValue='26' displayValue='1 - 25' color='f0e3d4'/>

<color minValue='26' maxValue='50' displayValue='26 - 50' color='e2c9aa'/>

<color minValue='50' maxValue='100' displayValue='51 -100' color='c59353'/>

<color minValue='100' maxValue='300' displayValue='101 - 300' color='936e3e'/>

<color minValue='300' maxValue='20000' displayValue='301+' color='62492a'/>

</colorRange>

 

Also, I saw in the documentation that you are using 'code' instead of 'color', I tried that but the colors and legend are still not displaying.

 

Nevermind, I saw the problem, it was this line: <color minValue='0' maxValue='0' displayValue='0' color='F8F8F8'/>

Share this post


Link to post
Share on other sites
Guest Sashibhusan

Hi,

 

I am glad to hear that you have managed of your own to resolve your issue.:)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now