Forum

Thread tagged as: Question, Problem, Runway

Setting initial Google Map Values

Morning all,

I have a question - I understand you can use a google map in the forms which is great. Is there a way I can set the initial lat/lng values? I'm using Perch runway and the data i'm importing via the api provides me with a lat and a lng so I'd love to be able to assign these as part of the import. I can't see anything obvious in the documentation.

Thanks for your help

Phil Judge

Phil Judge 0 points

  • 2 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

The map field type doesn't have dedicated importer support yet.

You may be able to fake it with

'mapid_lat' => '',
'mapid_lng' => '',
'mapid_clat' => '',
'mapid_clng' => '',
'mapid_type' => '',
'mapid_zoom' => '',