Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration Options "disableSplitter, disablePedestrianMode, disableMyLocation" Not Working in Latest Build #721

Open
luca-moscatelli opened this issue Dec 10, 2024 · 0 comments

Comments

@luca-moscatelli
Copy link

Description

The following configuration options are not working as expected in the latest build of TerriaMap (ghcr.io/terriajs/terriamap:latest):

  1. disableSplitter: Despite being set to true, the splitter is still visible and functional in the map interface.
  2. disablePedestrianMode: Setting this to false does not enable pedestrian mode, nor does changing it to true disable the feature as expected.
  3. disableMyLocation: Even when set to true, the "My Location" feature remains accessible in the user interface.

Steps to Reproduce

  1. Pull the latest version of TerriaMap:
    docker pull ghcr.io/terriajs/terriamap:latest
    
  2. Set the following configuration in config.json:
    parameters{
      "disableSplitter": true,
      "disablePedestrianMode": true,
      "disableMyLocation": true,
      "otherThings":{}
    }
  3. Restart the TerriaMap application and observe the interface.

Expected Behavior

  • When disableSplitter is set to true, the splitter should be hidden or disabled.
  • When disablePedestrianMode is set to false, pedestrian mode should be enabled.
  • When disableMyLocation is set to true, the "My Location" button should be hidden or non-functional.

Actual Behavior

  • The splitter remains visible and functional.
  • Pedestrian mode does not toggle as expected.
  • The "My Location" feature is still accessible.

Environment

  • TerriaMap Version: ghcr.io/terriajs/terriamap:latest

Thank you for looking into this issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant