Multi-level Maps

ID #1040

10. How to change the names on the Multi-level Map (countries, states, regions etc)?

To change the names of the first level of the map, open map.xml in the data folder.

In that XML you can find the line like this:

...
<name>Alabama</name>
...

This line indicates the name of the Alabama state. You can change the text that will be displayed when you select this state with mouse to anything you want.

If you want to change names on the second level (or deeper) of the map, look for a particular XML file that stores the level you want. For example, let’s suppose you want to edit county’s names in Alabama. First, open map.xml in the data folder. Find the state you want – Alabama in our case. You should see the following lines:

...
<name>Alabama</name>
<URL map="us_al.swf" xmlfile1="us_al.xml" xmlfile2="us_al_data.xml">#</URL>
...

This is what we need – the name of Alabama’s XML is us_al.xml.

So you should open the us_al.xml file that corresponds to Alabama counties and look for lines like this:

...
<name>Lauderdale</name>
...

Change the name to anything you want.

Don’t forget to upload all changed XMLs back to your website.

Tags: -

Related entries:

Last update: 2011-05-11 19:50
Author: Fla-shop Team
Revision: 1.1

Digg it! Share on Facebook Print this record Send FAQ to a friend Show this as PDF file
Please rate this FAQ:

Average rating: 0 (0 Votes)

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry