Yep, I just changed it to 'lat.innerHTML, lng.innerHTML' and it worked fine. Thanks and sorry for the protocol violation.
On Mon, Mar 7, 2011 at 2:46 PM, [email protected] <[email protected]>wrote: > On Mar 7, 12:39 pm, Nathan Taylor <[email protected]> wrote: > > Sorry....http://www.geology.ar.gov/test/map_test.htm > > I get a javascript error: > Line: 941 > Error: Number expected > > from this line in your code. > var coordinates = new GLatLng(lat.innerHtml, lng.innerHtml); > > perhaps parseFloat() will fix that... > > -- Larry > > > > > > > > > On Mon, Mar 7, 2011 at 1:43 PM, xelawho <[email protected]> wrote: > > > > What am I doing wrong? > > > > > I think your first error is described in detail here: > > > > >http://groups.google.com/group/google-maps-api/web/why-including-a-li. > .. > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "Google Maps API V2" 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.- Hide quoted text > - > > > > - Show quoted text - > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps API V2" 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. > > -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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.
