diff --git a/pages/component/map/map.test.js b/pages/component/map/map.test.js index d354cf81d6c2fcff5e2da50c5612ecaa21c3d0e2..adfc8bef143cd084e663a6283141b5c300639faa 100644 --- a/pages/component/map/map.test.js +++ b/pages/component/map/map.test.js @@ -17,7 +17,7 @@ describe('web-map', () => { }); it('Check MapMethods', async () => { - const mapMethods = ['addControls', 'addMarkers', 'addMarkersLabel','addPolyline', 'addPolygons', 'addCircles','includePoint'] + const mapMethods = ['addControls', 'addMarkers', 'addMarkersLabel','removeMarker','addPolyline','removePolyline', 'addPolygons','removePolygon', 'addCircles','removeCircle','includePoint'] for (var i = 0; i < mapMethods.length; i++) { await page.callMethod(mapMethods[i]) await page.waitFor(500); diff --git a/pages/component/map/map.uvue b/pages/component/map/map.uvue index bb4fcefb4395329eeb13ddce1eb8d798d1697490..7b2227bc82abfe1d80da57b10cc4744048ae2eec 100644 --- a/pages/component/map/map.uvue +++ b/pages/component/map/map.uvue @@ -16,12 +16,17 @@ @confirm="confirm_scale_input"> + - + - - - + + + + + + + 方法示例 @@ -38,104 +43,104 @@