//设置不能缩放
interactions: ol.interaction.defaults({
doubleClickZoom: false,
mouseWheelZoom: false,
shiftDragZoom: false,
pinchZoom:false
}),
设置不能旋转
altShiftDragRotate:false,
pinchRotate:false