-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
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
A way to use mapbox plugins? #63
Comments
I would also like to use plugins, namely mapbox-gl-draw. As far as I can tell it would be enough for me to be able to write my own control directive, but that is not an option right now as MapService and ControlComponent are not exposed in the library. |
I have the drawing tools working with this project. I accomplished it by doing the following: Load the css in angular.json
Import the drawing module into your component;
On load, add the control to your map;
|
I think it would be good if the created exposed |
Here is a PR with that I think is a more elegant solution and would allow community based plugins. |
after installing mapbox-gl-rtl-text following errors occured:
|
It would be awesome to use mapbox draw |
As far as i understand this was solved by #79 and should be available to do with the latests version of the library (4.8.1). Thus, i'm closing this issue. If someone thinks there's still work to do - please chime in and we'll figure it out. |
@amirofy2002 mentioned above error when the mapbox-gl-rtl-text connected with addControl method. Does anyone has an idea how to connect mapbox-gl-rtl-text to a project? |
@ArmaProjects This issue is closed. Please create a new one and provide a reproduction project (preferrably, using the stackblitz template supplied). Then, if someone has time, they may help you. |
Hi,
I've been looking to find a way to use mapbox plugins, specifically mapbox-gl-rtl-text.
I've been thinking we could use it in NgxMapboxGLModule.withConfig but that is not supported.
What is the way to do it?
The text was updated successfully, but these errors were encountered: