Skip to content

Feature Request: createAmplifyGeocode allow event listener #236

@ericxinzhang

Description

@ericxinzhang

Problem

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions