BMFMarkerUpdateExtension extension Null safety
marker 更新
- on
Methods
-
updateAlpha(
double alpha) → Future< bool> - 更新透明度
-
updateCenterOffset(
dynamic centerOffset) → Future< bool> - 更新marker centerOffset信息
-
updateDraggable(
bool draggable) → Future< bool> - 更新是否可拖拽
-
updateEnabled(
bool enabled) → Future< bool> - 更新marker是否响应触摸事件, true则响应,false则不响应
-
updateEnabled3D(
bool enabled3D) → Future< bool> - 更新marker是否显示3D效果
-
updateIcon(
String icon) → Future< bool> - 更新显示的图片
-
updateIconData(
Uint8List iconData) → Future< bool> - 更新显示的图片 since 3.2.0
-
updateIsLockedToScreen(
bool isLockedToScreen, dynamic screenPointToLock) → Future< bool> - 更新是否锁定在屏幕上的位置
-
updateIsPerspective(
bool isPerspective) → Future< bool> - 更新近大远小的开关
-
updatePosition(
dynamic position) → Future< bool> - 更新位置经纬度
-
updateScaleX(
double scaleX) → Future< bool> - 更新x方向缩放倍数
-
updateScaleY(
double scaleY) → Future< bool> - 更新y方向缩放倍数
-
updateSubTitle(
String subtitle) → Future< bool> - 更新subTitle
-
updateTitle(
String title) → Future< bool> - 更新title
-
updateVisible(
bool visible) → Future< bool> - 更新marker是否显示
-
updateZIndex(
int zIndex) → Future< bool> - 更新z轴方向上的堆叠顺序