GeoJson Layer

The GeoJSON Layer allows you to overlay geographic features such as markers, circles, rectangles, and polygons on the map. These visual elements are derived from GeoJSON or KML files and can be filtered using feature properties.

Supported Data Formats

  • GeoJSON
  • KML

Once your data is loaded into a layout, the GeoJSON Layer Settings will appear under the Settings tab.
GeoJSON layer settings

GeoJSON Layer Settings

Customize the appearance and behavior of your GeoJSON features with the following options:

  • Stroke: Toggle stroke visibility. Set to false to remove borders from polygons or circles.
  • Color: Defines the stroke (border) color.
  • Weight: Sets the stroke width in pixels.
  • Opacity: Adjusts the stroke transparency.
  • LineCap: Sets the shape at the end of a line. Options include butt, round, and square.
  • LineJoin: Sets the shape at line corners. Options include miter, round, and bevel.
  • Fill: Toggle fill visibility inside polygons or circles. Set to false to disable fill.
  • Fill Color: Defines the inner fill color.
  • Fill Opacity: Adjusts the transparency of the fill.
  • Fill Rule: Determines how the interior of shapes is filled (nonzero, evenodd).

Tips

  • Use property filters to highlight specific features based on their data (e.g., region name, category).
  • Combine GeoJSON layers with other layer types for richer geographic visualizations.

lygos GeoJson Map Layer