People may also want to turn off "poi.medical" to prevent pharmacies
-- which I feel are more like businesses than medical facilities --
from being displayed (of course this would also affect hospitals).

On Aug 24, 1:12 am, Chris Broadfoot <c...@google.com> wrote:
> Hi, you can disable the business icons by making them invisible using a map
> style.
>
> The relevant style is
>
> [
>   {
>     featureType: "poi.business",
>     elementType: "labels",
>     stylers: [
>       { visibility: "off" }
>     ]
>   }
> ]
>
> You can use "styles" in MapOptions to apply the style across the roadmap,
> hybrid and terrain map types.
>
> Hope that helps
> Chris
>
> --http://twitter.com/broady
>
>
>
> On Wed, Aug 24, 2011 at 1:45 AM, mapblogger <kai.la...@gmail.com> wrote:
> > Hi,
>
> > since today there are restaurants and hotels displaying in the roadmap of
> > my map. How can I disable this layer?
>
> > Thanks in advance!
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Maps JavaScript API v3" group.
> > To view this discussion on the web visit
> >https://groups.google.com/d/msg/google-maps-js-api-v3/-/mmt61pJMR8QJ.
> > To post to this group, send email to
> > google-maps-js-api-v3@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-maps-js-api-v3+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-maps-js-api-v3?hl=en.

-- 
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-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to