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
It will be good to add a custom control to the map.
Something like map.addControl(new mapboxgl.CustomControl(/fn/, /cssClass/));
The text was updated successfully, but these errors were encountered:
Hello @Nimble-Momonga! Nice to meet you 😄
GL JS does support custom controls; however the API to create them isn't very ergonomic or well-documented. The mapbox-gl-draw plugin, for example, is implemented as a custom control.
mapbox-gl-draw
We have a couple of outstanding issues related to making custom controls easier
mapboxgl.Control
Sorry, something went wrong.
No branches or pull requests
It will be good to add a custom control to the map.
Something like map.addControl(new mapboxgl.CustomControl(/fn/, /cssClass/));
The text was updated successfully, but these errors were encountered: