Open IncidGeo opened 7 months ago
Hi. This library is tightly coupled to Mapbox's Control interface and events. I haven't worked with Maplibre, but it seems that Control is the same as Mapbox. As long as it emits the same events and include the same properties, it could potentialy work. I suggest you to try and tell us ☺️
Thank you markusand for your answer, it does not seems to work directly As an exemple to use MapboxDraw in Maplibre i need to add : MapboxDraw.constants.classes.CONTROL_BASE = 'maplibregl-ctrl'; MapboxDraw.constants.classes.CONTROL_PREFIX = 'maplibregl-ctrl-'; MapboxDraw.constants.classes.CONTROL_GROUP = 'maplibregl-ctrl-group';
I try to understand it.
I' had a look to the code, what a nice library ! I won't use 1/100 of the code so I've finally wrote my own code, just need to read the match expression in the map style. It would be very nice to have it for Maplibre, i'm not competent enough to convert it.
Hi, I'd like to know if this library is also working with maplibre-gl-js ?