Closed tbaustin closed 4 years ago
How to I access this event using react-leaflet ?
react-leaflet
I haven't tested, but something along the lines of this should work:
const setRef = (map) => { map.on('geosearch/showlocation', handleResult); }; <Map ref={setRef} />
How to I access this event using
react-leaflet
?