Class: FMBound

FMBound

FMBound 范围类, 属于fengmap.map.min.js

new fengmap.FMBound()

Members

center

Properties:
Name Type Description
center object

中心坐标

Properties
Name Type Description
x number

x坐标

y number

y坐标

max

Properties:
Name Type Description
max object

最大坐标

Properties
Name Type Description
x number

x坐标

y number

y坐标

min

Properties:
Name Type Description
min object

最小坐标

Properties
Name Type Description
x number

x坐标

y number

y坐标

size

Properties:
Name Type Description
center object

尺寸

Properties
Name Type Description
x number

x 宽度

y number

y 高度

Methods

expandByCoords(coords)

使用坐标集合重新计算范围

Name Type Description
coords Array

二维点坐标集合

coords[].x number

x坐标

coords[].y number

x坐标