mirror of
https://github.com/grafana/grafana.git
synced 2025-08-01 05:41:49 +08:00

Co-authored-by: Ryan McKinley <ryantxu@gmail.com> Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com> Co-authored-by: Nathan Marrs <nathanielmarrs@gmail.com>
28 lines
1.0 KiB
Markdown
28 lines
1.0 KiB
Markdown
---
|
|
aliases:
|
|
- /docs/grafana/latest/features/panels/geomap/geojson/
|
|
- /docs/grafana/latest/panels/visualizations/geomap/geojson/
|
|
description: GeoJSON layer
|
|
keywords:
|
|
- grafana
|
|
- Geomap
|
|
- panel
|
|
- documentation
|
|
title: GeoJSON layer
|
|
weight: 400
|
|
---
|
|
|
|
# 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.
|