Hi Ian,
You are probably noticing a relatively recent bugfix, where visibility:off
was being ignored for landscape.natural. If you want to keep the
landscape, but not have landscape labels, then change
MapTypeStyleFeatureType.LANDSCAPE,
MapTypeStyleElementType.ALL,
[MapTypeStyleRule.visibility("off")]
to
MapTypeStyleFeatureType.LANDSCAPE,
MapTypeStyleElementType.LABELS,
[MapTypeStyleRule.visibility("off")]
You can see some additional discussion at
http://code.google.com/p/gmaps-api-issues/issues/detail?id=4213
Cheers,
-Josh
On Thu, Jul 5, 2012 at 4:50 PM, ian shields <[email protected]> wrote:
> I have a very new problem that just started occurring on my live website
> http://www.mapyourvote.com. Essentially the style that I set (and never
> change or allow to be changed) is not being display on all zoom levels.
>
> Here is the style:
>
> var simpleStyle:Array = [
> new MapTypeStyle(MapTypeStyleFeatureType.LANDSCAPE,
> MapTypeStyleElementType.ALL,
> [MapTypeStyleRule.visibility("off")]),
> new MapTypeStyle(MapTypeStyleFeatureType.POI,
> MapTypeStyleElementType.ALL,
> [MapTypeStyleRule.visibility("off")]),
> new MapTypeStyle(MapTypeStyleFeatureType.TRANSIT,
> MapTypeStyleElementType.ALL,
> [MapTypeStyleRule.visibility("off")]),
> new MapTypeStyle(MapTypeStyleFeatureType.ROAD,
> MapTypeStyleElementType.ALL,
> [MapTypeStyleRule.visibility("off")])
>
> ];
> Basically all roads, transit, points of interest, and landscapes are
> turned off.
> If you look at http://www.mapyourvote.com/Poll/Soda-vs-Pop/ the style
> appears correctly on the initial load of the page. However if you click on
> the United States, it will zoom to the sub regions. The style, like I
> said, is never being changed in the code. However, as you notice it is now
> showing a land scape texture. If you click again on Maryland, you get the
> correct style however, it appears blurry. What do you think is going on?
> No changes have been made to the site in 3 weeks, and this problem only
> very recently started occuring which convinces me it is on google's end.
> Please help. Thanks!
>
> --
> 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/-/ipayDjznNVoJ.
> 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.
>
--
You received this message because you are subscribed to the Google Groups
"Google Maps API For Flash" group.
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.