-
|
I want to display information about an object when clicked. I do myMapboxVectorLayer.getFeatures(e.pixel). I get the feature. But I don’t know from what source this feature comes. How can I find out the SourceId of a feature? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
See the |
Beta Was this translation helpful? Give feedback.
-
|
|
Beta Was this translation helpful? Give feedback.
layercomes from the vector tiles, and is set by ol/format/MVT. It has a different meaning - that‘s thesource-layerin the Mapbox Style‘slayer.