It doesn't affect the pegman support. Add streetViewControl:true in the map
options to turn on the pegman.

On Tue, Jun 8, 2010 at 11:07 PM, gardnose <in...@abergavenny.org.uk> wrote:

> How would this work with the standard map option for
> 'streetViewControl:true'?
>
> I'd prefer to avoid creating my own maptypecontrol and pegman
> functionality just to hide the markers for a streetview.
>
> Failing that - are there any events associated with the standard
> streetViewControl that I can use?
>
> Thanks,
> Gavin
>
>
> On May 26, 2:28 am, Marc Ridey <mri...@google.com> wrote:
> > StreetVIew and Map share their markers.
> > To avoid having the two view share markers, create a panorama and assign
> it
> > to the map.
> > Such as:
> >
> > var panorama = new google.maps.StreetViewPanorama(map.getDiv());
> > map.setStreetView(panorama);
> >
>
> --
> 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
> google-maps-js-api...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-maps-js-api-v3+unsubscr...@googlegroups.com<google-maps-js-api-v3%2bunsubscr...@googlegroups.com>
> .
> 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 google-maps-js-api...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to