pitommasi

Border Of The Map

Recommended Posts

How can I change the color for the border on the map?

The one marked with the circle and the arrow in the attachment...

 

P.S.: how is it possible that I cannot use the word "border" to perform a search within this forum? :blink:

post-14963-0-51387800-1309939303_thumb.jpg

Share this post


Link to post
Share on other sites

Hi,

 

To set a border color for the map, please use

canvasBorderColor

attribute.

 

Please note that other related attributes are : showCanvasBorder, canvasBorderThickness, canvasBorderAlpha.

 

For more details please check : http://www.fusioncharts.com/maps/docs/Contents/XML.html'>http://www.fusioncharts.com/maps/docs/Contents/XML.html from FusionMaps Documentation (http://www.fusioncharts.com/maps/docs/)

Share this post


Link to post
Share on other sites

Ok, it turned out that it wasn't the canvas border, but the white background of the containing DIV "peeking" from around the map, wich is strage, considering that the map and the div have the same dimensions...

Share this post


Link to post
Share on other sites

You can opt for one of these options:

 

1. Set the background color of the Flash Player : var map = new FusionMaps("../Maps/FCMap_USA.swf", "Map1Id", "750", "460", "0", "0","#000");

 

2. Set the border color of the map using canvasBorderColor

 

3. Set the map transparent using setTransparent() function:

 

e.g.,

 

   var map = new FusionMaps("../Maps/FCMap_USA.swf", "Map1Id", "750", "460", "0", "0");

  map.setTransparent(true);

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now