Class: FMInteractions

FMInteractions

FMInteractions描述, 属于fengmap.map.min.js

Members

enableDamping

Properties:
Name Type Description
enableDamping boolean

{boolean} true:启用惯性;false:关闭惯性,默认值 false

enableDrag

Properties:
Name Type Description
enableDrag boolean

拖拽 true:启用;false:禁用,默认值 true

enableRotate

Properties:
Name Type Description
enableRotate boolean

旋转 true:启用;false:禁用,默认值 true

enableTilt

Properties:
Name Type Description
enableTilt boolean

倾斜 true:启用;false:禁用,默认值 true

enableZoom

Properties:
Name Type Description
enableZoom boolean

缩放 true:启用;false:禁用,默认值 true

readonlymouseMode

Properties:
Name Type Description
mouseMode fengmap.FMMouseMode

鼠标模式, 默认值: fengmap.FMMouseMode.NORMAL

zoomSpeed

Properties:
Name Type Description
zoomSpeed number

鼠标滚轮zoom的速度,绝对值越大越快,大于0的时候前滚放大,后滚缩小,小于0的时候前滚缩小,后滚放大, 默认值: 1