Hi --
To save geo point in DB with geoPoint type you should do:
ol
liCreate update service./li
liNavigate to data tab./li
liClick "Edit mappings"./li
liNavigate to the "Request" tab./li
liFind your geoLocation field parameter. And click "Add JS"/"Edit JS"./li
liJS Editor appears. Insert the following code:
precode
//You should change these constants to your dynamic data. For example using localStorage variables.
var latitude = "44"
var longitude = "12"
return [latitude, longitude];/code/pre
/li
/ol
That's all. After the update service invokes you will update your geoPoint field type with values you have passed to.
Regards.