Hi - don't know if this is a new 3.4 bug, but it is not reproducible
in versions below 3.4. Using the following code:
var ROADMAP_NOPARCELS = "roadnoparcels";
var map = new
google.maps.Map(document.getElementById("map_canvas"),
{ mapTypeId: ROADMAP_NOPARCELS,
disableDefaultUI: false,
streetViewControl: true,
mapTypeControl: true,
mapTypeControlOptions: {
mapTypeIds: [google.maps.MapTypeId.HYBRID,
ROADMAP_NOPARCELS,
google.maps.MapTypeId.TERRAIN],
style: google.maps.MapTypeControlStyle.DROPDOWN_MENU
},
center: new google.maps.LatLng(-20, 150),
zoom: 9
});
var noParcels = [{ featureType: "administrative.land_parcel",
elementType: "all", stylers: [{ visibility: "off"}]}];
var roadNOPType = new google.maps.StyledMapType(noParcels, { name:
"Map" });
map.mapTypes.set(ROADMAP_NOPARCELS, roadNOPType);
The Map Type dropdown only displays the StyledMapType, not HYBRID or
TERRAIN types. Again, this is only occuring in API 3.4.
Any thoughts?
Cheers
Michael.
--
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.