Hello,
i am looking for a web-editing-solution with scriptcase, where i can move a marker on a map (for example leaflet) and store lat and lng in the database. Does anybody have an idea (program)? Other solutions to integrate leaflet are also welcome (marker, polygon, …)!
Thanks
Stephan
Do you mean the google maps api? Free to use and you can add markers and stuff where you want. The free account has some limitations but you can find that out when you have activated your developer account which you would ned then anyway.
Then there is the yahoo maps api the bing maps api etc lots of choice…
The openstreetmaps api is there as well…
I havent delved deeply into it but specially for the google maps api there is a very comprehensive api available.
Great stuff to play with but you need to learn json/xml/… but it isnt that hard…
Every web-editing-app have some fields to edit: name, street, town etc. . Also there is a geometry-field (or two, lat and lng). It is easy to view the map with the marker in an iframe. But i am searching for this: A little map is always open and you can move the marker to the “exactly” position. This position must be stored in the database. lat and lng from the marker in the iframe to the form.
Well you can set markers in google maps check the pages: https://developers.google.com/maps/tutorials/
http://stackoverflow.com/questions/7916438/allow-user-to-place-marker-on-a-google-map
http://stackoverflow.com/questions/5757533/allowing-users-to-add-markers-to-google-maps-and-getting-the-coordinates
etc… a little searching on the internet tells you how to allow setting markers. The whole thing is a little more complicated but google maps fully allows it.
Similarly you can do this in bing maps and open streetmaps, I havent delved deeply enough into it to know how exactly. I know for sure that google maps allows it.
Here maps (used to be from nokia) even may have some possibilities… Anyway for google maps you will find tons of examples on the internet…