Skip to content
Discussion options

You must be logged in to vote

My guess would be to listen to data events (see https://maplibre.org/maplibre-gl-js-docs/api/map/#map.event:data and https://maplibre.org/maplibre-gl-js-docs/api/events/#mapdataevent), looking for a dataType property with a value of style.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@wipfli
Comment options

@HarelM
Comment options

@guimochila
Comment options

Answer selected by guimochila
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants