'Mapbox GL JS set color on the specific searched address
I am looking for a way to paint a specific address when searched on map. I cannot find a way around. I tried Mapbox Studio but could not find this specific feature. I am attaching a reference image. Any help will be appreciated. Checkout this image
Solution 1:[1]
I think you should use the feature of draw polygon. You can refer to these examples for more information:
https://docs.mapbox.com/mapbox-gl-js/example/mapbox-gl-draw/ and https://docs.mapbox.com/mapbox-gl-js/example/geojson-polygon/
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Zahra Ebrahimi |
