# new Ships66.layers.LocationLayer

new Ships66.layers.LocationLayer(option)

option配置项

属性名 说明 类型 可选值 默认值
iconSrc 定位图标地址 String - -
fitZoom 定位的缩放层级 Number - 10
anchor 定位图标的偏移量 Array<Number> - [0.5,0.5]
zIndex 图层的层级 Number - 100

# 实例方法

# locationByCoordinate(coordinate)

根据coordinate经纬度定位


# removeLayer()

删除定位图层