Your workaround is okay if you do not need international borders to be 
visible. However, it is not a viable workaround in the event that 
international borders need to remain visible while hiding province borders. 
Alas!

I just submitted a bug report for 
this: https://code.google.com/p/gmaps-api-issues/issues/detail?id=8884


On Tuesday, August 23, 2011 at 10:31:36 AM UTC-7, AevumDesign wrote:
>
> When using the Google Maps style wizard (http://gmaps-samples- 
> v3.googlecode.com/svn/trunk/styledmaps/wizard/index.html) I have 
> noticed that the country of France does not honor this code: 
>
> { featureType: "administrative.province", stylers: [ { visibility: 
> "off" } ] } 
>
> The province outlines remain, while the rest of the world map honors 
> it. 
>
>
> A workaround I have found is to do this: 
> { featureType: "administrative", elementType: "geometry", stylers: 
> [ { visibility: "off" } ] } 
>
>
> This code turns off all the geometry, which forces provinces to turn 
> off as well.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-maps-js-api-v3+unsubscr...@googlegroups.com.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
Visit this group at http://groups.google.com/group/google-maps-js-api-v3.
For more options, visit https://groups.google.com/d/optout.

Reply via email to