Skip to content

Commit

Permalink
testing mp4 embed with gitbook (#2951)
Browse files Browse the repository at this point in the history
Signed-off-by: distefanodevinj <ddistefano@foursquare.com>
  • Loading branch information
distefanodevinj authored Jan 28, 2025
1 parent f292d61 commit f00b4b8
Showing 1 changed file with 81 additions and 0 deletions.
81 changes: 81 additions & 0 deletions docs/user-guides/c-types-of-layers/vector.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
# Vector Layer


Vector layers use the three basic GIS features – lines, points, and polygons – to represent real-world features in digital format.


{% embed url="https://4sq-studio-public.s3.us-west-2.amazonaws.com/statics/keplergl/images/kepler-gl-vector-tiles-fsq.mp4" %}


# Settings

The following tables describe every setting in the Vector Tile layer.

## Basic

Core settings for the Vector layer.

| Setting | Description |
| ---------- | -------------------------------------------- |
| Layer Type | Must be Vector Tile to use the Vector layer. |

## Fill Color

Settings related to the fill color of the vector data.

| Setting | Description |
| -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Color Based On | The field to base the fill color on. |
| Color Scale | The color scale and palette for the fill color. |
| Dynamic Color | Enable to estimate color range and scale based on tiles selected for rendering. When panning the map, the color scale will update dynamically. |
| Opacity | The opacity of the fill color. 100 = fully opaque, 0 = fully transparent. |

## Stroke Color

Settings related to the stroke/outline color of the Vector layer.

| Setting | Description |
| --------------------- | ---------------------------------------------------------------------------------- |
| Stroke Color | Toggle to enable stroke. |
| Stroke Color Based On | A column to base the stroke color on. When enabled, a color scale can be selected. |
| Color | The color or color scale to use for the stroke. |
| Opacity | The opacity of the stroke. |

## Stroke Width

Settings related to the stroke/outline width of the Vector layer.

| Setting | Description |
| ------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| Stroke Width | Toggle to enable stroke. |
| Stroke Width Slider | Slide or enter a number to select the width of the stroke/outline in pixels. When "Stroke Based On" is selected, this becomes a range. |
| Stroke Based On | A column to base the stroke width on. |
| Stroke Scale | The method by which to scale the stroke/outline size. Choose between Linear, Sqrt, and Log. |

## Height

> Note: Height only affects polygons on your map, not points.
Height settings for the Vector layer. Height is best viewed with the 3D viewing mode.

| Setting | Description |
| --------------- | -------------------------------------------------- |
| Height Slider | Increase to raise the height of the layer objects. |
| Height Based On | A column to base the height on. |
| Height Scale | Choose from linear, sqrt, and log. |
| Fixed Height | Applies height without additional modifications. |


<!-- Remove after testing -->

## Video Alternative

<video controls autoplay loop>
<source src="https://4sq-studio-public.s3.us-west-2.amazonaws.com/statics/keplergl/images/kepler-gl-vector-tiles-fsq.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>




[Back to table of contents](../README.md)

0 comments on commit f00b4b8

Please sign in to comment.