Geolocation automatic point

Hi,

couple of days I am trying to deal with geolocation/map at customers
I already created map, latitude, and longitude field.

with this line, I am able to center the map, is there also a posibility to set the point?

frm.fields_dict.custom_main_map.map.setView([frm.doc.custom_latitude, frm.doc.custom_longitude], 30);

journal shows me this, but I am not able to bring this to a client script:

main_map 		{"type":"FeatureCollection","features":[{"type":"Feature","properties":{},"geometry":{"type":"Point","coordinates":[16.xxxx,48.xxxx]}}]}
1 Like

no one?