i would like to hide all transit stations and thought it should work
something like this:
var myOptions = {
zoom: 15,
center: swiss,
mapTypeId: google.maps.MapTypeId.ROADMAP,
//StyledMapType StyledMapTypeOptions MapTypeStyle
MapTypeStyleFeatureType
mapType: { style: { featureType: ['transit.station',
'visibility: hidden']} }
};
map = new google.maps.Map(document.getElementById("map_canvas"),
myOptions);
i've probably got the syntax wrong, can some please help?
--
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 [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-js-api-v3?hl=en.