Hi,

I apologize if this is a duplicate topic, but I'm having trouble figuring 
out how to disable all info windows from popping up on a Google Map with 
the traffic layer.

I've tried this:

var disablePOI = [

  {

    featureType: "all",

    elementType: "labels",

    stylers: [

      { visibility: "off" }

    ]

  }

];


map = new google.maps.StyledMapType(styles,{name: "new map"});


To no avail. What am I missing?

Thanks,
Cameron

-- 
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 https://groups.google.com/group/google-maps-js-api-v3.
For more options, visit https://groups.google.com/d/optout.

Reply via email to