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