Ok here's the deal. I'm using two different tutorials to get my
desired outcome but the tutorials have conflicting functions.
I want to allow user submitted data for saving placemarkers so I
followed this tutorial: 
http://code.google.com/apis/maps/articles/phpsqlinfo_v3.html
And I want to fetch those user submitted markers from the sql table
and display so I followed this tutorial: 
http://code.google.com/apis/maps/articles/phpsqlajax_v3.html

The downloadUrl functions on each tutorial vary only slightly when the
call callback.
function from saving placemarkers tut: callback(request.responseText,
request.status);
function from fetching placemarkers tut: callback(request,
request.status);

When I put the desired callback function in the page for what I want
to do, say saving a placemarker, the function call works. It completes
the function call and closes the infowindow but it does not display
markers already saved in the sql table.
When I put the callback for fetching placemarkers it doesn't allow me
to save placemarkers but displays all the markers already saved in the
sql table.

I can paste all my code again if necessary.

On Oct 16, 2:46 am, Rossko <ros...@culzean.clara.co.uk> wrote:
> > > >www.whereschp.com/new/index.php?p=mainmap
>
> My browser reports a javascript error in saveData()
>     location = new google.maps.marker.getLatLng();
> Why would you want to be creating a new marker at that point?
>
> The example at
>    http://code.google.com/apis/maps/articles/phpsqlinfo_v3.html
> reads a latlng from an existing marker
>    var latlng = marker.getPosition();

-- 
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 google-maps-js-api...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to