On 23 September 2012 17:46, Bibelo <[email protected]> wrote: > > My problem is that the label.icon element, for the road, does not work. I > want to remove these ugly tags that appear on the road, with visibility:off > but it just does not work. > > PS : the labels.icon element for the road feature appears and works in the > JS GoogleMaps API Wizard
It may do, but it's not documented. https://developers.google.com/maps/documentation/javascript/reference#MapTypeStyleElementType Only documented features are guaranteed to work. If you use the documented style=feature:road|element:labels|visibility:off it does work (but it removes all the road labels, both names and numbers). It's entirely possible that separating icons and text is an enhancement which has made its way into the JS API but not into the Static Maps interpreter. -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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?hl=en.
