Skip to content

Latest commit

 

History

History
38 lines (32 loc) · 1.18 KB

README.md

File metadata and controls

38 lines (32 loc) · 1.18 KB

Architecture

  • Style via Maputnik
  • Basemap is native Mapbox layer
  • Use ol-mapbox-style #applyStyle on a LayerGroup. Use the returned LG object to get glStyle which legend will be constructed from
  • Use legend-symbol to build legend
  • For printing, try ol-ext

Configuration

  • Application loads config file (JSON)
    • Title
    • Mapbox Access token
    • Optional tools (legend, data tables, buffer)
    • Center/extent/initial zoom/minmax zoom
    • LAND data
    • Basemap (Mapbox)
    • Aerials
      • Nearmap
        • API key
      • XYZ/WMS/WMTS
    • Overlays
      • olms - VectorTile with MB GL Styles
      • wms - supports wms info
      • geojson
      • xyz - probably not need too much
  • Vector layers loads matching name .js file for configuring popup templates
  • One basemap, one mbgl vector overlay layers, one wms/image overlay per map

Share

  • A map can have zero or many revokeable access tokens to allow sharing of internal maps to external entities.

Handlers

  • Handlers are optional per maps. They come with their own MD context menu and specified tools under that context, something like:
<select-handler data-table buffer public-notice>