Back to tutorials
Beginner8 min

Design Custom Layers

Learn how to create and customize layers to organize your geographic data effectively.

Layer Types

Spatly supports four primary layer types:

  1. Point layers — Individual locations like markers, POIs, sensors
  2. Line layers — Roads, rivers, routes, paths
  3. Polygon layers — Areas, boundaries, zones, buildings
  4. Heatmap layers — Density visualization from point data

Styling Options

Every layer has a visual style you can customize:

  • Fill Color — The interior color of polygons and points
  • Stroke Color — The border/outline color
  • Stroke Width — Border thickness in pixels
  • Opacity — Transparency from 0 (invisible) to 1 (opaque)
  • Point Radius — Size of point markers

Data-Driven Styling

Use style rules to vary the appearance of features based on their attributes. For example, color zones by population density or size markers by revenue.

Layer Organization

  • Drag layers to reorder them — layers higher in the list render on top
  • Use the visibility toggle to temporarily hide layers
  • Group related layers by naming them with a common prefix

Ready to try it yourself?

Get started free