Sorry Luke, But that doesn't work. Until now, I've always had the map
initialized with streetViewControl: false, since I have not wanted the
pegman in streetview. Until Oct 8, it worked a treat. Currently, the
pegman does not respond to the map initialization instruction, or to
further calls. Something must have broken!


On Oct 8, 7:21 pm, Luke Mahé <[email protected]> wrote:
> Hi Arolletson,
>
> You need to set streetViewControl to be false in your  map constructor 
> options,
> like this:
>
> function initialize() {
>   var mapDiv = document.getElementById('map-canvas');
>   var map = new google.maps.Map(mapDiv, {
>     center: new google.maps.LatLng(37.4419, -122.1419),
>     zoom: 13,
>     mapTypeId: google.maps.MapTypeId.ROADMAP,
>     streetViewControl: false
>   });
>
> }
>
> Hope this helps
>
> - Luke
>
>
>
> On Sat, Oct 9, 2010 at 12:07 AM, arolletson <[email protected]> wrote:
> > As of 5pm October 7 EST the  v.3 pegman has remained mercifully absent
> > from my maps, thanks to invoking the mapOption { ...
> > streetViewControl: false ...}  when initializing a map.
>
> > As of 7am October 8 EST the pegman has arrived unwanted to put its
> > clunky feet all over my map details, ignoring the above option.
>
> > Specific calls of .. map.setOptions({streetViewControl: false}); . . .
> > sprinkled everywhere have failed to make any impression.
>
> > Has anybody got any good ideas about how to remove my unwanted
> > visitor?
>
> > arolletson
>
> > --
> > 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]<google-maps-js-api-v3%2B 
> > [email protected]>
> > .
> > 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 [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