User location by js map
Is there some kind of map that allows selecting on the fly locations 开发者_运维问答and allows to save them for users? Some Gmap API method for example?
I would like a navigable map instead of standard input text where user can specify their own location by clicking on the location itself if possible.
There are lots of options for the javascript programmable client side map processing. For the Javascript client you could use:
Bing Maps SDK
Google Maps SDK
OpenLayers
GeoExt
PolyMaps
Leaflet
Of these I would personally recommend OpenLayers as the most versatile and truly open client side framework.
This is an example of something similar to what you are suggesting using OpenLayers.
You may want to use a geocoding service, google offer a versatile geocoding API, but there are others. One thing to think about is the licensing agreements of the various client side frameworks and APIs vary massively.
精彩评论