Environment
-
Grafana version: 12.2.1
-
Installation type: Windows (installed version)
-
Network: Offline/Air-gapped environment
What I’m trying to achieve
I want to display map tiles in Geomap panel using locally stored map data in an offline environment, and plot data points based on latitude/longitude coordinates from my database.
What I’ve tried
-
Downloaded and stored map tiles locally:
-
Downloaded GSI (Geospatial Information Authority of Japan) tiles
-
Placed them in:
C:\Program Files\GrafanaLabs\grafana\public\maps\tiles -
Directory structure:
8\214\91.png(tiles are stored under zoom level directories)
-
-
Set up IIS web server:
-
Configured IIS to serve the tiles directory
-
Confirmed tiles are accessible via:
http://localhost/GrafanaMaps -
Verified individual tile loads correctly:
http://localhost/GrafanaMaps/8/214/91.png
-
-
Configured Geomap panel:
-
Layer type: XYZ Tile layer
-
URL template:
http://localhost/GrafanaMaps/{z}/{x}/{y}.png
-
Problem
The map panel remains dark/blank and doesn’t display any tiles. When I connect to the internet, the default world map displays correctly.
Questions
-
Is my URL template format correct for offline tiles?
-
Are there any additional configurations needed in Grafana for offline map tiles?
-
Are there any CORS or security settings I need to configure in IIS or Grafana?
-
Has anyone successfully set up offline map tiles in Grafana 12.2.1?
Any guidance would be greatly appreciated!