> Next i was wondering if there is a way to implement a delete method > where a user can click a marker and delete it from the text file such > that the next time the map loads, the selected marker is gone.
I think your requirements have now become sufficiently complex that it will be worth learning how the various parts of your project work and how you can produce more code for it. Bear in mind we have no idea what technologies you are using, or if you've got the "upload" part working at all yet? Adding a 'delete' function to that would be very feasible. You'd re- use the same techniques as in the current code to .... It might pay to identify your markers wth some kind of ID number in your data store, whatever that might be. When location data is transmitted to the client, include the ID. Even if you never display it , make sure each displayed marker has an associated ID. Offer the user the 'delete' action - e.g. present a delete button in an infowindow. If actioned, transmit that information to your server e.g. 'delete ID xx' Have your server code verify that it is a sensible action, and remove info from your store. -- 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.
