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
Asked
Active
Viewed 110 times
1 Answers
0
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/

Zahra Ebrahimi
- 61
- 5
-
This is much appreciated. Just one more question do you have any idea how to get coordinates of the search address from MapboxGeocoder. It will be done then – Umer Mar 11 '22 at 18:28
-
I am able to get coordinates with geocoder of searched address. But this geojson-polygon requires outline coordinates to fill the color. How can I get these outline coordinates with address' coordinate? – Umer Mar 11 '22 at 20:11