Menu

Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.

Enterprise Open source

GeoJSON layer

The GeoJSON layer allows you to select and load a static GeoJSON file from the filesystem.

  • GeoJSON URL provides a choice of GeoJSON files that ship with Grafana.
  • Default Style controls which styles to apply when no rules above match.
    • Color configures the color of the default style
    • Opacity configures the default opacity
  • Style Rules apply styles based on feature properties
    • Rule allows you to select a feature, condition, and value from the GeoJSON file in order to define a rule. The trash bin icon can be used to delete the current rule.
    • Color configures the color of the style for the current rule
    • Opacity configures the transparency level for the current rule
  • Add style rule creates additional style rules.