Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Configure automatically set the Maps zoom level to fit the map to size of the screen.

Some experience with JSON is recommended but not required.
If you require any assistance please contact our support team at helpdesk@qedas.com

When the Map loads it will default to the zoom level of 0.
For large maps, this means that the whole map isn’t always viewable after loading.
Using the AutoZoom feature the map will be automatically resized to fit the available window.

How to configure

The AutoZoom value can be configured via the Stylesheet.

Navigate to the Stylesheets page, found under the Administration Settings menu.
Find the correct Stylesheet from the list and click the Edit icon ((blue star)).

 How to find the Stylesheet being used by the Map Profile

Navigate to the Map Profiles page via the Admin Dashboard, this can be accessed under the Administration Settings menu.

Find the Map profile that you want to update, then click the Edit icon ((blue star)) in the Action column.

This is the Stylesheet that needs to be updated.

You will see the Stylesheet editor, it should look similar to the above.

You must modify the JSON data found above the line /** LINE REQUIRED - CSS BELOW **/.

Here is an example of a customised Stylesheet.

In the JSON section of the stylesheet, you will need to add an object with the key "autoZoom".

This object will accept 2 values, each value expects a boolean (true/false).
Default is used for larger screens such as a browser or Kiosk.
Mobile is used for smaller devices which run a Mobile OS, such as iOS or Android.

  "autoZoom": {
    "default": true,
    "mobile": true
  }

For assistance with this configuration please contact our support team at helpdesk@qedas.com

  • No labels