phegman / vue-mapbox-gl

A Vue.js component for Mapbox GL JS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mouseenter and mouseleave for fills

lizziekarr opened this issue · comments

so the example popup seems fairly simple, except my added layer has type fill, not type points

I tried @map-mouseenter:fills instead of @map-mouseenter:points but I'm not sure where to go from here.

Thanks for your help!

Found the answer in the mapbox documentation - for anyone else who gets confused, the "fills" doesn't refer to a keyword, it's the source id