Skip to content

Views ​

A view is an HTML page served by the XYZ API from a workspace template. Its script loads MAPP and MAPP.UI, a locale and its layers.

  • View API - How /view finds a template and fills in ; use when adding, overriding or debugging a view template.
  • Core views - The default map view, the login view and the user admin view and what they do on load; use when changing public/views.
  • Building a custom view - A minimal working view with a locale, plugins and layers; use when creating any view other than the default.
  • URL hooks - URL params which select the locale, view, layers and locations; use when a view reads or writes URL params.
  • Language and dictionaries - Language selection, dictionaries and language templates; use when translating a view or adding a language.
  • Report views - Report links from layers and locations, and a report script; use when building a location report or print layout.
  • Embedding views and maps - Linking, framing, or the MAPP package on another site; use when a map must appear outside the default view.

XYZ v5.1.0. Generated from knowledge/ at dd7a6fa27736502733499c1bf485f15659b10338. Concepts marked draft are not reviewed.