-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
Is there any way to keep the current value of Geocoder on the state?
For example, creating a hook like setSearchQuery(Geocoder.input.current.value) ?
This is my Geocoder:
<Geocoder
mapRef={mapRef}
containerRef={geocoderContainerRef}
mapboxApiAccessToken={token}
onViewportChange={handleGeocoderViewportChange}
placeholder=""
position="top-left"
minLength={4}
limit={3}
trackProximity
marker={false}
enableEventLogging={false}
/>
Thanks!
Metadata
Metadata
Assignees
Labels
No labels