World Maps » Zoom World Map

ID #1003

Can I use a transparent background, a solid background or other background image to the map?

Yes, you can certainly change the background of the map to any solid color, make it transparent or add a background image.

Transparent Background:
Set the value for ‘background_image’ as “off” and specify “0” as the value for ‘background_color’ in the locator_map.xml file to make the background transparent.

 background_color = "0"
 background_image = "off"

Solid Background:
Set the value for ‘background_image’ as “off” and apply the appropriate hexadecimal color code to the ‘background_color’ in the locator_map.xml file to give a solid background color to the map.

 background_color = "0072BC"
 background_image = "off"

The above example has blue as its background color. Similarly, you can customize the map with any hexadecimal color. To find out a hexadecimal code for a color, you can use an image editing or designing software like Photoshop or Coreldraw. There are also many free online hexadecimal color pickers available. Here are some popular online tool links:

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

Background Image:
A background can be added to the map by making the map transparent and then adding an background image to the map by using a DIV tag.

  1. Make the background transparent by specifying the value ‘0’ for ‘background_color’ in the XML file as explained above.
  2. Create a DIV tag outside the embedded HTML code and specify a background style to it.

Note: Make sure that the embed code contains wmode="transparent" included. This is important for transparency.

 


Tags: background, transparent

Related entries:

Last update: 2011-09-10 19:27
Author: Fla-shop Team
Revision: 1.8

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