> You can view it at the following > link:http://thebit.altervista.org/maps/testAddMarker3.php > The problem is that after to have searched an address it is not > possible to add a Marker. Why?
For some reason, you have chosen to create a new 'map' object local to your searchAddress() function. You already made a perfectly good 'map' in your initialize() function, duplicating just confuses things. > I have also 2 little questions and I hope to find solution: > 1) how I should to do to submit the form (look the previous link) by > using AJAX or without to open other pages? What previous link? Using forms with AJAX is not a particular maps issue http://www.google.com/search?q=javascript+forms+ajax > 2) I know it exists a way to delete each marker by creating another > one. > E.g if you try to add a marker you can add many marker without saving > its. I would like know how to do do delete each marker not saved whene > someone try to add a new marker. Make your script so that it only creates one marker. One way to do that is to create one marker in global scope, and to move it around when "adding" -- 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 [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-js-api-v3?hl=en.
