Skip to content

Commit

Permalink
修改rotate交互的bug。
Browse files Browse the repository at this point in the history
  • Loading branch information
fanzia committed Sep 26, 2016
1 parent a663d5c commit d63d518
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GeoBeans/Control/DragMapControl.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ GeoBeans.Control.DragMapControl = GeoBeans.Class(GeoBeans.Control, {

// 是否在rotate交互
var interaction = that.map.getInteraction(GeoBeans.Interaction.Type.ROTATE);
if(interaction != null && interaction.getRotateStatus){
if(interaction != null && interaction.getRotateStatus()){
return;
}
e.preventDefault();
Expand Down

0 comments on commit d63d518

Please sign in to comment.