Reputation: 1971
How can I highlight one single 3D building when hover over it? Something like the OSM buildings highlight feature. It seems the mapbox streets v7 building layer feature properties are so few, it only includes:
extrude height min_height type underground
There is no unique property to differentiate the building. Is there a way to include the address of the building or some unique ID?
Upvotes: 4
Views: 1725
Reputation: 3782
I do not think there is a unique per-building id
in the Mapbox Streets v7 tileset. You may need to build your own tileset to get the desired behavior.
Upvotes: 1