i like to build a form field based on google map, where user can put in their address, city and country, then the map will automatically search for it. and then you can put a pin to define the exact location, which the expected output is latitude & longitude which will be saved during form submit.
how to approach this? is there any module in Drupal 8 that i can use during form generation?
maybe something like:
$form['map'] = array(
'#type' => 'gmap',
'#otherProperty' => propertyValues,
);
Thank you, AnD