Skip to content
Andy Rothwell edited this page Aug 4, 2020 · 4 revisions

map Configuration

Used to append more options to the map object which should primarily be held in a base config, but which are highly specific to the current app.

This is where you set the map.type to "mapbox" (or "leaflet", which is not recommended).

Example:

map: {
  type: 'mapbox',
  defaultBasemap: 'pwd',
  defaultIdentifyFeature: 'address-marker',
  imagery: {
    enabled: true
  },
  initialImagery: 'imagery2019',
},
Clone this wiki locally