Skip to content

Commit f0f9eba

Browse files
committed
【fix】优化vt中鼠标点击位置可能偏差的问题 review by liqian
1 parent 32a6109 commit f0f9eba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples-test/leaflet/02_getFeatureByGeometryIT.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
var commonTools = require('../base/commonTools');
2+
23
module.exports = {
34
'leaflet_02_getFeatureByGeometry': function (browser) {
45
var type = 'leaflet';
@@ -14,7 +15,7 @@ module.exports = {
1415
browser.waitForElementNotPresent('.leaflet-popup-content', 10000);
1516
});
1617
browser.pause(1000);
17-
browser.moveTo('map',560, 510, function () {
18+
browser.moveTo(null,-40,40, function () {
1819
browser.pause(1000);
1920
browser.doubleClick(function () {
2021
browser.waitForElementPresent('.leaflet-popup-content-wrapper', 10000);

0 commit comments

Comments
 (0)