Commit 6d970180 authored by Administrator's avatar Administrator

地图插件

parent 5dfb865c
......@@ -8,6 +8,7 @@
:center="center"
:events="events"
class="amap-demo"
:plugin="plugin"
>
<!-- 用户标记 -->
<el-amap-marker
......@@ -205,7 +206,10 @@ export default {
// alert('map clicked');
},
},
plugin: ['ToolBar', {
plugin: [{
pName: 'ToolBar',
position: 'LB',
}, {
pName: 'MapType',
defaultType: 0,
events: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment