> For the complete documentation index, see [llms.txt](https://docs.mapbox.com/help/ja/llms.txt)

# polygon

A **polygon** is a geospatial [feature](https://docs.mapbox.com/help/ja/glossary/features/) defined by connected pairs of [latitude and longitude](https://docs.mapbox.com/help/ja/glossary/lat-lon/) coordinates that form an area with at least three sides.

You can represent polygon data using a fill layer or fill extrusion layer.

**Related resources:**

-   [Mapbox Style Specification fill layer documentation](https://docs.mapbox.com/style-spec/#fill)
-   [Mapbox Style Specification fill extrusion layer documentation](https://docs.mapbox.com/style-spec/#fill-extrusion)

**Related examples:**

-   [Line polygon examples using Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js/example/?search=polygon)
-   [Line polygon examples using Mapbox Maps SDK for Android](https://docs.mapbox.com/android/maps/examples/?search=polygon)