On 16 September 2010 14:07, Stef <[email protected]> wrote:
> Hi
> I am trying to create markers from a database. I do this by outputting
> the DB results to json and loading the json in the google maps code.
> The JSON is valid and is being loaded.
This looks like Version 3 code
> var marker = new google.maps.Marker({
> position: location.Latlng,
> map: map,
> });
> }
but I doubt that postion can be a string. You probably need to create
a maps.LatLng object instead.
Version 3 Group: http://groups.google.com/group/google-maps-js-api-v3/
--
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.