Locator Maps » Version 4.0

ID #1017

08. How to change the colors of each region on the map?

Open the locator_map.xml configuration file in any text editor. In the <map_data> of the locator_map.xml you can find the following lines:

<color_map>0x04abf2</color_map>
<color_map_over>0x0000cc</color_map_over>

The first parameter identifies the color of a given region in the normal state, while the second parameter sets the highlighted state color. The colors are specified as hexadecimal values.

You can learn hexadecimal codes of various colors in any graphical editor, like Photoshop, Corel Draw or in various online color picker tools. Here are some of them:

http://www.colorpicker.com
http://html-color-codes.com
http://www.w3schools.com/html/html_colors.asp

Don't forget you must keep the 0x in front of the color code.

 After changing the XML file, save it and upload to your website.

Multi-colored map of the USA

Tags: -

Related entries:

Last update: 2011-05-19 14:12
Author: Fla-shop Team
Revision: 1.3

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