Geomap - CARTO Map "API KEY REQUIRED" Watermark

Hi,

Seems like CARTO has just deployed this watermark for any tile requests with no API key that uses it.

Anyone can request a free API key - I have just gotten mine now. But not sure where to inject this - I would assume on the JSON panel somewhere.

Can someone guide the community please?

Regards,

Carlo

I solved it by:

Edit the Pane

Basemap layer
[Layer type] → arcGIS MapServer
[Server instance] → Custom MapServer
[URL Template] = https://basemaps.cartocdn.com/rastertiles/dark_all/{z}/{x}/{y}.png?key={YOUR_API_KEY}
[Attribution] = carto dot com //limited to 2 links, sorry.

Refer to their github for styling: https://github.com/cartodb/basemap-styles

I went with the dark_all style

CARTO now requires a free API key for raster tile requests; the watermark just means the key hasn’t been added yet. Your map isn’t broken.

Grafana’s built-in CARTO basemap type doesn’t have a field for the key, so switch to a generic tile layer instead:

Edit panel → Basemap layer
Layer type → XYZ Tile layer
URL Template:

https://basemaps.cartocdn.com/rastertiles/dark_all/{z}/{x}/{y}.png?key=YOUR_API_KEY

Attribution → carto.com

Swap dark_all for other styles (light_all, voyager, etc.) with full list here → github.com/cartodb/basemap-styles

Still makes sense to file an issue at Grafana’s github. The whole story with Carto api key seems like an attempt to shake off users from heavy raster tiles to use vector tiles instead - these don’t require api key (on purpose, I think), and it doesn’t take much of a change to use the /vector URL in geomap source code.

Someone already did Geomap Panel: Geomap suddenly has "API key required" Watermark · Issue #131610 · grafana/grafana · GitHub

Tbm estou com esse problema usava sem a marca agua, mas agora so consegui usar assim
no Json do mapa alterei o campo

“basemap”: {

  "config": {},

  "name": "Layer 0",

  "type": "default"

}

POR

“basemap”: {

  "config": {

    "attribution": "© OpenStreetMap contributors © CARTO",

    "server": {

      "url": "https://basemaps.cartocdn.com/rastertiles/voyager/{z}/{x}/{y}.png?key=XXXXXXXXXXXXXXXXXXXXXXXXXXXX"

    }

  },

  "name": "CARTO Voyager",

  "type": "xyz"

}