On 20 July 2011 21:28, Scott Coffey <[email protected]> wrote:
> Hello,
> I am trying to pass the coordinates from the database to my javascript code.
> I tried posting it directly in this post but my thread got rejected.... If
> you view the source here:
>
> http://www.huarencommunity.com/chinacity/city2.aspx?cityid=6
>
> You can see that I am pulling the longitude and latitude from the 2 ASP
> labels I have, and the labels show the coordinates underneath where the map
> would be loading. Is my JavaScript wrong or is it another problem?

I can't find where you actually call the initialize() Javascript function.

However, even when it is called (I did that manually), your values are
strings, not numbers and you need to parseFloat() them.

-- 
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.

Reply via email to