lightmap
base-map
Installation
npm install base-map -S
Import
import baseMap from '@lightmap/base-map'
Vue.use( baseMap )
Usage
Options of base-map
Option | Description | Type |
---|---|---|
styleType | Default is 1, display vertical, styleType is 2, display horizontal | Number |
baseurl | Map path | String |
loadbasemapurl | Click the event triggered by each base image and return the parameter: Map path(url) | Funtion |
Use in components