Skip to content

Default basemap to OSM when no Carto API key is configured #5015

Description

@Yeraze

Summary

When no Carto API key is configured, MeshMonitor still defaults to a Carto basemap (Dark Matter or Voyager). Since Carto now requires an API key for their tile endpoints, new installs see tiles covered in "API KEY REQUIRED" watermarks instead of a usable map.

Expected Behavior

When no Carto API key is present, MeshMonitor should default to OpenStreetMap (which requires no API key) so new users see a working map out of the box.

Current Behavior

New installs load Carto tiles that render with diagonal "API KEY REQUIRED — carto.com/basemaps/apikey" watermarks across the entire map. The map is functional (markers/clusters still render) but the basemap is effectively unusable.

Suggested Fix

  • Default the basemap to OSM when no Carto API key is configured
  • Optionally show a settings warning or toast when a Carto style is selected but no API key is set

Screenshot

User-reported screenshot shows the Carto Dark Matter basemap with repeating "API KEY REQUIRED" watermark text across all tiles.

Context

Authored by NodeZero 0️⃣

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions