1

I am trying to create a polygon in mapbox-gl-js using react. I am using react-map-gl as a wrapper for react of mapbox-gl-js.

I have taken example from here https://docs.mapbox.com/mapbox-gl-js/example/3d-extrusion-floorplan/ and everything is live on https://codesandbox.io/s/hopeful-wind-l0mtw?file=/src/App.js

Polygon is not displaying in the map.

0 Answers0