On 8 February 2011 21:45, Mike Dolbow  wrote:

> Thanks for the notes - great to see touch-friendly interfaces being
> included. One question: why doesn't the API "Satellite" default to Labels
> "on" like the main maps.google.com page has for a long time? I noticed
> that "Hybrid" disappeared for quite a while in version 2, then came back in
> version 3 of the API. Personally, I never want to look at raw "Satellite"
> without the context of the "labels"...but if I have to give my users the
> choice, I would think defaulting the labels to "on" makes sense. Is there a
> way to do that, that I'm not seeing?


Not a real answer, but if you start the map with:
  map.setMapTypeId(google.maps.MapTypeId.HYBRID);
then the satalite map type does start with the labels enabled.

Switching away and back, remembers the setting. But it doesnt help if want
to start in Map tho.


I have a related question for the floor, is there anyway to disable the
Hybrid (or Physical for that matter), I've included

    mapTypeControlOptions: {
       mapTypeIds: [google.maps.MapTypeId.ROADMAP,
google.maps.MapTypeId.SATELLITE]
    },

Yet the user can still select "Terrain", or "Labels" from the map type
selector. (I know the mapTypeIds is applying because can remove ROADMAP, to
leave just the SATELLITE)

Say creating a geography game, offer just a styled map without labels, and
Satalite, but the user can still enable Hybrid :(

-- 
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.

Reply via email to