I have tracked down the cause of this behavior in my application, and it is 
so not what I would have expected.


We are using map styles to remove some of the clutter from the map, and one 
of those styles is causing the display corruption.  I'll post the code 
below. one of the styles, in var mtStylePOI works fine, but the other, 
mtStyleL causes the corruption when applied.

Support is helping me and if we can discover why this is happening, I will 
post here.

private function onMapReady(event:Event):void {
var mtStyleL:MapTypeStyle = new MapTypeStyle(
MapTypeStyleFeatureType.LANDSCAPE,
MapTypeStyleElementType.ALL,
[MapTypeStyleRule.visibility("off")]); //***causes PROBLEM ***
var mtStylePOI:MapTypeStyle = new MapTypeStyle(
MapTypeStyleFeatureType.POI,
MapTypeStyleElementType.ALL,
[MapTypeStyleRule.visibility("off")]); //OK
 var styledMapType:StyledMapType = new StyledMapType([mtStyleL]);
this.map.setCenter(new LatLng(39.011902, -98.48424649999), 3, 
styledMapType); 
this.map.addControl(new ZoomControl());
}

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-api-for-flash/-/aFO7x1l0C9AJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api-for-flash?hl=en.

Reply via email to