Marker覆盖物初始化设置

Since

1.0.0

interface IMarkerOption {
    alpha?: number;
    visible?: boolean;
    isClickable?: boolean;
    zIndex?: number;
    startLevel?: number;
    endLevel?: number;
    position?: LatLng;
    anchorX?: number;
    anchorY?: number;
    located?: Located;
    isPerspective?: boolean;
    isDraggable?: boolean;
    rotate?: number;
    xOffset?: number;
    yOffset?: number;
    isFlat?: boolean;
    isTop?: boolean;
    isFixed?: boolean;
    period?: number;
    scaleX?: number;
    scaleY?: number;
    fixedScreenPosition?: Point;
    isJoinCollision?: CollisionBehavior;
    popView?: PopView;
    icon?: ImageEntity;
    icons?: ImageEntity[];
    delPreIconResource?: boolean;
    color?: string;
    infoWindow?: InfoWindow;
    animateType?: AnimateDefine;
}

Hierarchy (view full)

Properties

alpha?: number

设置透明度 [0,1]

Since

1.1.0

visible?: boolean

是否显示

Since

1.1.0

isClickable?: boolean

是否启用点击

Since

1.1.0

zIndex?: number

设置层级

Since

1.1.0

startLevel?: number

开始显示地图缩放级别

Since

1.0.0

endLevel?: number

结束显示地图缩放级别

Since

1.0.0

position?: LatLng

位置

Since

1.0.0

anchorX?: number

Deprecated

X轴锚点位置,使用 located 代替

Since

1.0.0

anchorY?: number

Deprecated

Y轴锚点位置,使用 located 代替

Since

1.0.0

located?: Located

绘制元素位于「基准Anchor」的方位,默认 Located.TOP

Since

1.1.0

isPerspective?: boolean

是否启用透视效果

Since

1.0.0

isDraggable?: boolean

是否启用拖动效果

Deprecated

Since

1.0.0

rotate?: number

旋转角度

Since

1.0.0

xOffset?: number

X轴偏移量

Since

1.1.0

yOffset?: number

Y轴偏移量

Since

1.0.0

isFlat?: boolean

是否使用旋转基准是地理北方向

Since

1.2.0

isTop?: boolean

是否置顶显示

Deprecated

Since

1.0.0

isFixed?: boolean

是否启用固定像素坐标效果

Since

1.0.0

period?: number

刷新周期

Since

1.0.0

scaleX?: number

图标X轴缩放比例

Since

1.0.0

scaleY?: number

图标Y轴缩放比例

Since

1.0.0

fixedScreenPosition?: Point

固定像素坐标位置

Since

1.0.0

isJoinCollision?: CollisionBehavior

是否参与碰撞

Since

1.1.0

popView?: PopView

附加消息气泡

Since

1.1.0

图标资源

Since

1.0.0

icons?: ImageEntity[]

图标资源

Since

1.0.0

delPreIconResource?: boolean

清除之前设置的图标资源,避免内存持续增加

Since

1.2.1

color?: string

图标颜色叠加设置

Since

1.2.0

infoWindow?: InfoWindow

附加信息框

Since

1.1.0

animateType?: AnimateDefine

动画类型

Todo

待实现

Since

1.0.0