Navigation
Records in this category
- What are the requirements to install and use Locator Maps?
- How do I install "USA Map Locator 3.0" on a webpage?
- Is it possible to install "USA Map Locator 3.0" to WordPress (Joomla, Drupal, other CMS) website?
- How to change the background color of the Locator Map?
- How to make the background of the map transparent?
- How to set an image as a background for the map?
- How to change the actual size of the map on a webpage?
- What is the difference between Locator Map 3.0 and 4.0?
- How to open some URL when a user clicks on the map?
- How can I change the color of specific states?
Tags
Locator Maps » Version 3.0
How can I change the color of specific states?
Open the usa_locator.xml configuration file in any code/text editor. In the <map_data> of the usa_locator.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.

Tags: -
Related entries:
- How to change the background color of the Locator Map?
- How to change the actual size of the map on a webpage?
- What is the difference between Locator Map 3.0 and 4.0?
Last update: 2011-09-10 19:17
Author: Fla-shop Team
Revision: 1.1
You cannot comment on this entry