I'm experiencing the same problem right now:
I have a map with some markers, and have set the map's
streetviewcontrol to true. When I drag the pegman to a street on the
map streetview is displayed, but with the markers i have set on the
map. I don't want those markers to show on the streetview.
Nahtan said to create a custom panorama, but I can't figure out how to
show a custom panaroma in the same div as the map, which displays the
streetview at the position the pegman is displayed to.
Thanks in advance!
> If you create a custom pano then the markers on the regular map should not
> show up on the panorama unless you make a duplicate copy of the markers and
> set their "map" property to that of the pano.
>
> So simply create a custom panorama, there are references and examples of how
> to do this in Google's documentation, and then keep everything else the same
> and you should be good to go.
>
> On Thu, Jun 17, 2010 at 8:58 AM, Jean-Baptiste Matthews <
>
>
>
>
jeanbaptiste.matth...@gmail.com> wrote:
> > Hi
> > I would like to hide the markers when the map switches to the Street
> > View mode but I don't know the best way to proceed.
> > Here is the map :
> >
http://www.parisdigest.com/transfert/map_paris/map_of_paris_monuments...
>
> > As you can see, markers always are in the field of view and it's quite
> > uncomfortable...
>
> > Thanks a lot for your help.
>
> > --
> > 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-map...@googlegroups.com.
> > To unsubscribe from this group, send email to
> >
google-maps-js-a...@googlegroups.com<google-maps-js-api-v3%2B
unsub...@googlegroups.com>
> > .
> > For more options, visit this group at