Thanks all.
Hopefully this is still within the scope of the group...below is where
I need to call the marker ID, which shouldn't be too hard to change.
My question is if I add "MarkerID" to the createMarker function (so
the map obtains each unique marker reference), and then change the
delete marker html in the info window line to some php which performs
a SQL delete function, will the API/code be able to pass the markerID
value from the API into the PHP so that I can perform the code to
remove the marker from the database? I know the easy way to answer
this would be to try it and find out, but with my limited knowledge of
programming I would have no way of knowing if it didn't work whether
it was because it isn't possible, or if I did something wrong!
== creates a "normal" marker
function createMarker(point,text,value,scores) {
var marker = new GMarker(point, gicons[value]);
GEvent.addListener(marker,"click", function() {
marker.openInfoWindow("Value: "+value+"<BR>Score: "+scores
+"<BR><BR><a href=www>Delete Marker</a>" );
});
map.addOverlay(marker);
return marker;
}
basically I guess I am asking if whether a value created in the Java
API code can be passed to a piece of PHP code called within the java/
html? If yes I can continue, otherwise I'll have to figure out another
method!
Thanks again for your help
Chris
--
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.