On Mar 11, 11:34 am, Chris Moody <[email protected]> wrote: > > My thoughts on the issue are that I need to add an autonumber to the > marker table in the database, and somehow code the infowindow that > pops up when a marker is clicked to display a "delete marker" link, > which when clicked will reference the markers autonumber/ID and run > the sql delete code. Does this sound about right, or does someone have > a better suggestion?
Your database design is really outside the scope of this group. However, you will need a unique reference to each marker in your database, ensure that that reference is transferred to the browser with each marker, and then goes back to the server with the "delete" request. You can set a custom property for the markers, say marker.myDataKey (the name is arbitrary but should be something which Google aren't likely to use) which might make keeping everything together a little more straightforward. -- 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.
