The Hex Tile Layer must be used to visualize Hex Tile, Foursquare's analytic tiling system for geospatial data that combines the ability of tiling systems to handle massive datasets with the power of the H3 hierarchical grid system.

For more information:

- [Learn about Hex Tiles](https://docs.foursquare.com/analytics-products/docs/hex-tiles)
- [Learn how to create Hex Tiles from your dataset](https://docs.foursquare.com/analytics-products/docs/hex-tiles-create)
- [Learn the best practices for visualizing Hex Tiles](https://docs.foursquare.com/analytics-products/docs/hex-tiles-visualize)

An example of the Hex Tile Layer.

# Settings

The following sections detail every setting available for the Hex Tile Layer.

## Basic

Core settings for the Hex Tile Layer.

| Setting | Description |
| --- | --- |
| Layer Type | Must be Hex Tile to display a Hex Tile dataset. |
| Dataset | The Hex Tile dataset to use. |

## Fill Color

Color settings for the Hex Tile fill color.

| Setting | Description |
| --- | --- |
| Color Based On | The metric that the fill color is based on. |
| Color Scale | The [color scale and palette](https://docs.foursquare.com/analytics-products/docs/layers-color-scale-and-palettes) of the layer. |
| Dynamic Color | Use a dynamic color scale based on the data visible in the viewport. |
| Opacity | The opacity of color fill. |

## Height

Height settings for the Hex Tile layer. This is best viewed with [3D view mode enabled](https://docs.foursquare.com/analytics-products/docs/maps-view-modes).

| Setting | Description |
| --- | --- |
| Height Slider | Increase to raise the height of the layer's hexagons. |
| Height Based On | An column to base the height off of. |
| Height Scale | Choose from linear, sqrt, and log. |

# JSON Schema

For details on how to programmatically specify layer properties, refer to the [Studio Layer Configuration](https://docs.foursquare.com/developer/docs/studio-layer-reference#hex-tile) specification.
