Geolocation field

try if this works

frm.get_field("geolocation_fieldname").locate_control.start()