Styled Maps: how can I remove property number labels?

137 views
Skip to first unread message

Alastair

unread,
Aug 10, 2010, 6:37:31 PM8/10/10
to Google Maps JavaScript API v3
Hi guys,

I was very excited to discover the new 'styled map' feature in V3, but
I've got a question. In certain parts of Australia (at least), Google
shows street property numbers on the map, as you can see here:

http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=sydney&sll=37.0625,-95.677068&sspn=40.732051,69.785156&ie=UTF8&hq=&hnear=Sydney+New+South+Wales,+Australia&ll=-33.862413,151.206272&spn=0.001316,0.00213&z=19

I'd like to set up a styled map that removes them. Using the wizard
(http://gmaps-samples-v3.googlecode.com/svn/trunk/styledmaps/wizard/
index.html - just search for Sydney and zoom in) I can only remove
them if I remove *all* labels. If I click any category
(Administrative, Landscape) they persist. I can't find any extras
listed in the API docs, either.

Does anyone know if there is already a MapTypeStyleFeatureType for
property numbers, or if I should raise this as a ticket?

Thanks,
Alastair

Ben Appleton

unread,
Aug 10, 2010, 9:18:34 PM8/10/10
to google-map...@googlegroups.com
You're right, I believe the house labels should be addressable as administrative.land_parcel.  We'll follow up, but if you'd like to track progress on this bug then please raise a ticket.

Cheers
Ben


--
You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group.
To post to this group, send email to google-map...@googlegroups.com.
To unsubscribe from this group, send email to google-maps-js-a...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.


William

unread,
Aug 10, 2010, 9:33:12 PM8/10/10
to Google Maps JavaScript API v3
On Aug 11, 8:37 am, Alastair <alast...@easyroommate.com> wrote:
> I'd like to set up a styled map that removes them.
>
a hack workaround is to turn off all features, then turn them on again
using the categories, and this leaves out anything that isn't
categorized:

http://www.william-map.com/20100811/2/numbers.htm

...

Alastair

unread,
Aug 11, 2010, 12:03:29 AM8/11/10
to Google Maps JavaScript API v3
Thanks Ben, I've raised a ticket (2633)!
> > google-maps-js-a...@googlegroups.com<google-maps-js-api-v3%2Bunsu...@googlegroups.com>
> > .

Alastair

unread,
Aug 11, 2010, 12:04:07 AM8/11/10
to Google Maps JavaScript API v3
Ah, that's a great workaround for the time being. Thanks William!
Reply all
Reply to author
Forward
0 new messages