Skip to content

Advanced Layer section is not working correctly #6

@aumanjoa

Description

@aumanjoa

Description

The Advanced section within the Layers panel (accessible via the layers icon in the left sidebar) contains two controls that are either broken, incomplete, or not behaving as expected:

  1. Basemap style dropdown — currently shows "Watercolor" as the selected option, but it is unclear whether switching this actually changes the map's basemap, and whether all available options work correctly.
  2. Show Provinces toggle — the toggle exists but its effect on the map is not verifiable or may not be functioning correctly.

The section likely needs to either be fully implemented so both controls have a clear and working effect on the map, or the non-functional controls should be removed/hidden until they are ready.

Screenshot

The Advanced section as it currently appears in the Layers panel:

Image

Issues to Fix

1. Basemap style dropdown ("Watercolor")

  • Verify that changing the dropdown selection actually switches the basemap style on the map
  • Confirm all available style options render correctly
  • If only one style is currently supported, either remove the dropdown or disable the non-functional options with a clear label (e.g. "coming soon")
  • The old Chronas frontend supported multiple basemap styles — this should be restored

2. Show Provinces toggle

  • Verify the toggle actually shows/hides province boundary lines on the map when switched
  • If the toggle has no visible effect, fix the underlying data/layer binding
  • The default state (on/off) should be clearly defined and consistent with what the user sees on load

Expected Behavior

  • Changing the basemap style dropdown immediately updates the map's background tiles to the selected style
  • Toggling "Show Provinces" immediately shows or hides the province boundary overlay on the map
  • Both controls persist their state correctly when the panel is closed and reopened

Acceptance Criteria

  • Basemap style dropdown changes the visible basemap on selection
  • All listed basemap options either work or are clearly marked as unavailable
  • Show Provinces toggle visibly toggles province borders on the map
  • Both controls reflect their current state correctly on panel reopen
  • If a control cannot be implemented yet, it is removed or clearly disabled rather than silently broken

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions