-
Notifications
You must be signed in to change notification settings - Fork 8
BasemapSelectControl
andy.rothwell edited this page Sep 26, 2019
·
4 revisions
A BasemapSelectControl is a custom widget that can be added to a Leaflet map.
The props that can be passed to a phila-vue-mapping BasemapSelectControl are:
prop | description or example |
---|---|
position |
The <basemap-select-control>
tag is put inside a <map_>
tag:
<map_>
...
<div v-once>
<basemap-select-control :position="this.basemapSelectControlPosition" />
</div>
...
</map_>
If using Mapboard, the BasemapSelectControl is automatically included on the map if you include any layers of type "imagery". You can cancel that with the following code in your config:
imagery: {
enabled: false
},