Try to do that, when you get the event when pegman is dropped ( i don't know if it is possible ) and create a new map instance
Paulo Fernandes http://www.google.com/profiles/paulofernandesjr http://twitter.com/paulofernandesj +55 11 9797-5974 On Sat, Feb 19, 2011 at 6:17 PM, archinform <[email protected]> wrote: > Hi Paulo, > > thanks for your answer. > Sorry I don't have a link with an example, but I try to explain it > again: > If You have a map (with some markers set) in a div container and You > switch to Streetview by dragging the pegman -> Streetview starts in > the map div (replacing map view) with your markers showing up in the > streetview. > But if You define a separate div for the Streetview, connecting it to > the map by map.setStreetView(panorama) -> No markers showing up in > streetview > > This is described in the docs: > > http://code.google.com/intl/en-EN/apis/maps/documentation/javascript/services.html#StreetView > > I know, that it is possible with map.getStreetView to obtain the > Streetview scene with markers, but I don't find out a way to use this > method with separate divs for map and streetview. > > Sascha > > > On Feb 19, 8:52 pm, Paulo Fernandes <[email protected]> > wrote: > > If I understand you... > > > > You need to create 2 divs and 2 codes > > > > Post a link for your problem or what you wanna do. > > > > []s > > > > Paulo Fernandeshttp:// > www.google.com/profiles/paulofernandesjrhttp://twitter.com/paulofernandesj > > +55 11 9797-5974 > > > > On Fri, Feb 18, 2011 at 10:39 AM, archinform <[email protected]> > wrote: > > > Doesn't anybody have an idea? > > > > > On 16 Feb., 10:16, archinform <[email protected]> wrote: > > > > Hi, > > > > > > is it possible to create a map and a streetview in separate div > > > > containers, with a streetview containing all the overlays from the > > > > map? > > > > In the docs I found, tthat is possible to use map overlays in > > > > streetview with the standard streetview (with getStreetView(), but I > > > > Haven't found a way to use this method with separate divs. Does > anyone > > > > knows a solution? > > > > > > Sascha > > > > > -- > > > 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. > > -- > 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. > > -- 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.
