grafana / worldmap-panel

Worldmap panel plugin for Grafana 3.0 that can be overlaid with circles for data points.
MIT License
312 stars 199 forks source link

Missing Map Error #207

Open liangjq24 opened 5 years ago

liangjq24 commented 5 years ago

recently I found that the map is missing and there are only data points just like the picture shows 图片 I try to directly open the pngs of map using url but failed 图片 I don't know if there is something wrong with the website? version 0.2.0

yaominsi commented 5 years ago

i got this ploblem too,pls fix it

amotl commented 5 years ago

Hi there,

it looks like requests to this tile server backend are blocked for you, so you should probably check if you can get hold of an alternative backend which is not blocked for you.

Maybe someone from the community might help providing alternative URLs to configure manually into this plugin. Saying that, we will be happy to make the tile server URLs configurable from the user interface within the fork at [1].

With kind regards, Andreas.

[1] https://github.com/hiveeyes/grafana-worldmap-panel

liangjq24 commented 5 years ago

thx @amotl for reply @yaominsi i fixed the problem by changing the url to https://b.basemaps.cartocdn.com/light_all/ you can find the code in /dist/module.js

amotl commented 5 years ago

Hi there,

good this worked for you.

you can find the code in /dist/module.js

Where exactly?

With kind regards, Andreas.

alisenyanyan commented 5 years ago

Hi there,

good this worked for you.

you can find the code in /dist/module.js

Where exactly?

With kind regards, Andreas.

You can search key word "CartoDB Positron" or "CartoDB Dark" in /dist/module.js to locate the url

that needs to be modified.

I fixed it by changing url of CartoDB Dark to

"https://b.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png".

You may also need to change url of CartoDB Positron to

"https://b.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png"

when your dashboards are in light mode.