Navigation
Records in this category
- 03. What are the requirements to install and use Multi-level Maps?
- 01. How do I install the Multi-level Map on a webpage?
- 11. Is it possible to install Multi-level Map to WordPress (Joomla, Drupal, other CMS) website?
- 07. How to change the background color of the Multi-level Map?
- 08. How to make the background of the map transparent?
- 09. How to set an image as a background for the map?
- 12. How to change the actual size of the map on a webpage?
- 10. How to change the names on the Multi-level Map (countries, states, regions etc)?
- 05. How to change the colors of each region on the map?
- 06. How to change the colors of texts on the map?
- 04. How to open some URL when a user clicks on the map?
- 02. How to install Multi-Level Map to my website (detailed description)?
- 13. How to add a few cities? (video)
Tags
Multi-level Maps
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:
- 03. What are the requirements to install and use Multi-level Maps?
- 01. How do I install the Multi-level Map on a webpage?
- 11. Is it possible to install Multi-level Map to WordPress (Joomla, Drupal, other CMS) website?
- 07. How to change the background color of the Multi-level Map?
- 09. How to set an image as a background for the map?
Last update: 2011-05-11 19:50
Author: Fla-shop Team
Revision: 1.1
You cannot comment on this entry