You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
createAmplifyGeocoder function instantiates MaplibreGeocoder which supports event listeners, but createAmplifyGeocoder itself does not enable the event listener feature.
I hope createAmplifyGeocoder could allow me to add event listeners, like the example from react-map-gl does.
Context
I am using Amplify UI LocationSearch component. It allows me to customize the marker pop-up but only in Vanilla Javascript. I hope I could customize the popup with buttons which updates React state on click.
The text was updated successfully, but these errors were encountered:
Problem
createAmplifyGeocoder function instantiates
MaplibreGeocoder
which supports event listeners, butcreateAmplifyGeocoder
itself does not enable the event listener feature.I hope
createAmplifyGeocoder
could allow me to add event listeners, like the example from react-map-gl does.Context
I am using Amplify UI LocationSearch component. It allows me to customize the marker pop-up but only in Vanilla Javascript. I hope I could customize the popup with buttons which updates React state on click.
The text was updated successfully, but these errors were encountered: