Skip to content

Map theme light/dark unpredictable and unchangable #61

@tringuyen-yw

Description

@tringuyen-yw

Using Road Registration Tool current as of 2026-04-21:

  • The self-hosted version show map with dark theme. Please note the route project was imported from a project saved on 2026-03-16 using a hosted version.
  • The hosted version show map with light theme

In the UI, there is no way to change the map theme. Ideally it would be preferable if the map theme is similar to that of the public version of Google Maps: https://www.google.com/maps

How to reproduce?

Restrict the Maps API Key to block the modern Maps API (routes, roads, places):

# MAP_APIKEY_RESOURCE_ID='projects/<project_number>/locations/global/keys/<uuid>'

gcloud services api-keys update "$MAP_APIKEY_RESOURCE_ID" \
  --api-target=service=maps-backend.googleapis.com \
  --api-target=service=places-backend.googleapis.com \
  --api-target=service=directions-backend.googleapis.com \
  --api-target=service=geocoding-backend.googleapis.com \
  #--api-target=service=routes.googleapis.com \
  #--api-target=service=roads.googleapis.com \
  #--api-target=service=places.googleapis.com

# Verif
gcloud services api-keys describe "$MAP_APIKEY_RESOURCE_ID"
Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions