We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi @stepankuzmin
I cannot add a marker by clicking on a map using your library. For example, by clicking I want to add input and write something in it.
And marker position fix:
const [markerData, setMarkerData] = useState(null); const markerPositionFix = React.useRef(null); React.useEffect(() => { if (markerPositionFix.current !== null) markerPositionFix.current._el.style.width = "fit-content"; }, [markerData]); <MapGL onClick={({ lngLat }) => setMarkerData(lngLat)} {...options} />
https://codesandbox.io/s/peaceful-taussig-r980y - urbica https://codesandbox.io/s/react-map-gl-markers-demo-m2bqr - uber
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi @stepankuzmin
I cannot add a marker by clicking on a map using your library. For example, by clicking I want to add input and write something in it.
And marker position fix:
https://codesandbox.io/s/peaceful-taussig-r980y - urbica
https://codesandbox.io/s/react-map-gl-markers-demo-m2bqr - uber
The text was updated successfully, but these errors were encountered: