On Sep 24, 4:28 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> n Sep 24, 2:22 pm, David Kyle <[EMAIL PROTECTED]> wrote:
>
> > Hello
>
> > I have had maps working with Geocoder on my site for some time now.
> > An example is:
>
> >http://www.timothyclinerealty.com/listing-5102+Alysheba+DR+Indian+Tra...
>
> > You'll notice that I have space to the right for streetview.  My
> > problem is that I cannot get the latlng to pass to the streetview
> > section of code. It always says that it is undefined.
>
> That is because it is undefined.
> // Retrieve the latitude and longitude
> point = new GLatLng(place.Point.coordinates[1],
> place.Point.coordinates[0]);
> point = latlng;
>
> I think you want delete the line that sets point to be latlng (it
> already has the right value in it).
>
> > My map is a php file that is framed.  I read that you cannot do that
> > with StreetView, so I created a div like suggested.
>
> you have a problem with the map div not reporting it's size to IE6
> correctly, the marker is in the upper left hand corner.  I don't see
> why that is.
>

I see that I didn't really address your original concern.
You have your script defined inside the DOM.  IE will not like that.
You have multiple places where you sent the window.onload and
window.onload events,  only one of them will end up being effective
(Doug Henderson had a post about adding multiple onload events several
years ago, you may want to investigate it or rethink how you want your
code to work).  This is most likely why you are having trouble adding
the streetview functionality.

  -- Larry

>
>
>
>
> > All the examples I have found don't really cover this.  I can get it
> > to work if I hard code the latlng, so I know it's something to do with
> > passing the variable.
>
> > Any help is appreciated.
>
> > David- 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to