ERPNext Foundation ERPNext Cloud Chat Blog Discuss Frappé* Donate

Put Marker in Geolocation Field


#1

I have lang and lat field in my doctype. I want to show a marker instead of Circle. Can you help me out to resolve this issue.


#2

For anyone running into this issue,

L.marker([ lat, lng ]).addTo( cur_frm.fields_dict.[geolocation_fieldname].map ).bindPopup(‘Marker Popup Text’).openPopup();