I have added the fill-color for specific states such selectedhovered or available but how can I tell map to colour layer as per specific case:Note : hovered is not applicable for mobile
Sample Code :
I am currently using Shape Source to highlight particular section when user presses the map, by getting the feature from queryRenderedAtPoint
I am trying to implement Indoor Stadium map, where I want to highlight the section on a specific condition when map loads.
I have added the fill-color for specific states such
selected
hovered
oravailable
but how can I tell map to colour layer as per specific case: Note :hovered
is not applicable for mobileSample Style JSON : mobile-style.json
Current Map Screen Shot
Sample Code : I am currently using Shape Source to highlight particular section when user presses the map, by getting the feature from queryRenderedAtPoint