Click google map marker to fill in lat/long?


(Kieran@parracity) #1

I have a google map asset, with an asset builder built into the page body, as per https://manuals.matrix.squizsuite.net/google-maps/examples/example-google-map

 

Address search field adds marker to the map and adds to list of searched addresses on page.

Clicking on one of these links pre-fills the lat/long of the asset builder.

 

When using the matrix tool "add marker", I can click on the map to create a marker on it, however this doesnt fill any fields out and nor does clicking on the marker created on the map.

 

How do I make it so that:

  • Using the inbuilt "add marker" tool - clicking on a place on the map
  • This will fill out the long/lat just like the "address finder" field does

??