Skip to content

Commit 3a5aca8

Browse files
committed
fix potential conflict with mouse click in OpenExternalMap widget
1 parent cb1ad1a commit 3a5aca8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

widgets/OpenExternalMap.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,10 @@ define([
272272

273273
connectMapClick: function () {
274274
this.OEMapButtonDijit.set('checked', false);
275-
this.map.setMapCursor('auto');
276-
topic.publish('mapClickMode/setDefault');
275+
if (this.mapClickMode === 'externalmap') {
276+
this.map.setMapCursor('auto');
277+
topic.publish('mapClickMode/setDefault');
278+
}
277279
},
278280

279281
processPoint: function (point) {

0 commit comments

Comments
 (0)