I was wondering if anyone knew of a tutorial or how to use a form to add markers to a google map. I want a person to be able to select some things from a form and click submit and have it refresh the map with the markers on it. I assume the map will have to be in an iframe or something, but I am not sure how to do the markers like that. Anything will help
First of all you don't need a refresh to add markers on the map.With javascript api you can add markers on the fly to the map.Now if you also want these locations to be stored in a database than you should probably make a form,although an ajax request will be just fine.So as orbling mentioned start by reading the documentation.
Nevertheless i will give a simple scenario and actions to solve it.
These actions can be implemented let's say with php+mysql or jsp+postgis or any combination you like.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With