Skip to content

ggcity/map-viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published