Thanks Larry! My JS skills really are quite rusty, not that I was ever a good programmer. Getting on this...which is a bit more complex than I had thought.
On Jan 8, 5:45 pm, "[email protected]" <[email protected]> wrote: > On Jan 8, 5:40 pm, "[email protected]" <[email protected]> > wrote: > > > > > On Jan 8, 5:13 pm, "[email protected]" <[email protected]> > > wrote: > > > > Hi gmappers > > > > Thanks in advance to anyone who tries to help me. I truly appreciate > > > having such an amazing resource such as this group! > > > >http://www.climateatlas.org/highlands.html > > > > I've basically ripped a bunch of code from examples, but I'm simply > > > trying to get the streetview panorama to work. What am I doing wrong? > > >http://code.google.com/apis/maps/documentation/reference.html#GMap2.c... > > click(overlay:GOverlay, latlng:GLatLng, overlaylatlng:GLatLng) > > > you are pretending the first argument is a GLatLng, it is an overlay > > (if you clicked on one) or null (if you didn't). > > The second argument is a GLatLng (if you didn't click on an overlay) > > or null (if you did). > > The third argument should always be a GLatLng (but that doesn't seem > > to always be true). > > Once you get past that, you will find that you are missing the > callback function for > getNearestPanorama:http://code.google.com/apis/maps/documentation/reference.html#GStreet... > > -- Larry > > > > > > What I'd really like to do is have a simple infowindow open any time a > > > user clicks on the blue part of the map, and have the streetview > > > inside the infowindow. Is that possible? > > > > Thanks, > > > > Peter- Hide quoted text - > > > - Show quoted text -
-- You received this message because you are subscribed to the Google Groups "Google Maps API" 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-api?hl=en.
