Commit 6d970180 authored by Administrator's avatar Administrator

地图插件

parent 5dfb865c
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
:center="center" :center="center"
:events="events" :events="events"
class="amap-demo" class="amap-demo"
:plugin="plugin"
> >
<!-- 用户标记 --> <!-- 用户标记 -->
<el-amap-marker <el-amap-marker
...@@ -205,7 +206,10 @@ export default { ...@@ -205,7 +206,10 @@ export default {
// alert('map clicked'); // alert('map clicked');
}, },
}, },
plugin: ['ToolBar', { plugin: [{
pName: 'ToolBar',
position: 'LB',
}, {
pName: 'MapType', pName: 'MapType',
defaultType: 0, defaultType: 0,
events: { 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