Skip to content
WKocur edited this page Dec 22, 2020 · 8 revisions

VMap

Responsible for controlling the Mapbox GL component. Functionality is spread across several mixins as seen below.

Components: VMapBaselayerControls

Props:

options: {
  type: Object,
  default: EMPTY_OPTIONS // const imported from `default-options.js`
}

See default-options.js for details on configuration. Some of these align with Mapbox documentation

MixinAddLayers

MixinBoundingBox

MixinControls

MixinLayers

MixinPaPopup (Protected Planet specific)

VMapBaselayerControls

Map Store

VMapFilters

VMapFilter

VMapHeader

VMapDisclaimer

VMapToggler

VMapPaSearch (Protected Planet Specific)

Helpers

DefaultOptions

RequestHelpers (Protected Planet specific)

Clone this wiki locally