dhruv.shukla Report post Posted July 16, 2008 Hello, Is there any way in Fusion Maps to use Full names like NEW YORK TEXAS in USA map for entity tab instead of specified internal attributes like 'NY' or 'TX'. -Dhruv Share this post Link to post Share on other sites
FusionCharts Support Report post Posted July 17, 2008 Are you using the FusionMaps GUI? Share this post Link to post Share on other sites
dhruv.shukla Report post Posted July 17, 2008 No, I am using php to generate my XML. Share this post Link to post Share on other sites
Pallav Report post Posted July 21, 2008 You may just set the following attribute for map element: [map useSNameInLabels='0' ..] Share this post Link to post Share on other sites
dhruv.shukla Report post Posted July 21, 2008 Pallav, Thanks for your reply, But still I am not able to set my entity with the state name. Here is the snippet of my code -Dhruv Share this post Link to post Share on other sites
dhruv.shukla Report post Posted July 21, 2008 Pallav, Here is the snippet of my code [map showcanvasborder=0" usesnameinlabels="0" bordercolor="FFFFFF" connectorcolor="000000" fillalpha="80" showbevel="0" legendbordercolor="F1f1f1" hovercolor="FFFFFF" legendposition="bottom] [entity id=Colorado" value="200] [entity id=Texas" value="10] [entity id=New York" value="150] -Dhruv Share this post Link to post Share on other sites
jrheard Report post Posted July 22, 2008 Hi Pallav, I'd like to do what Dhruv is hoping to achieve as well. That is: I'd like to refer to entities by fields other than their internal ID when I'm setting their values. Here's the scenario I'm in: I've got data for a whole bunch of countries in my database, and each country on my end is referred to by its two-character country code, which seems to be the same kind as the one you use in your NewWorld Specification Sheet for each entity's Short Name. What I'd like to do is just be able to go ahead and refer to each entity by its Short Name instead of its ID, because your Short Names already match my country names, and my country names certainly don't match your internal IDs. Is there an easy way to do this, or am I going to have to write code that'll have to do some gross mapping using the specification sheet to create a huge section in my XML, remapping entity IDs to the short names they already have (and should in theory know about)? Thanks, -JR Share this post Link to post Share on other sites
Rahul Kumar Report post Posted July 23, 2008 Hi, You can define custom entity id in XML it self, could you please read http://www.fusioncharts.com/maps/docs/Contents/CustomID.html for more information. Share this post Link to post Share on other sites