Skip to content

Commit d3bee94

Browse files
disable manual pan when in embeded mode
fix #56
1 parent 51ba0cb commit d3bee94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/tracker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ function load() {
430430
});
431431

432432
google.maps.event.addListener(map, 'dragstart', function() {
433-
manual_pan = true;
433+
if(!wvar.enabled) manual_pan = true;
434434
});
435435

436436
// only start population the map, once its completely loaded

0 commit comments

Comments
 (0)