BMFMarker.withMap constructor
BMFMarker.withMap(- Map map
)
Implementation
BMFMarker.withMap(Map map) {
if (null == map) {
return;
}
super.fromMap(map);
this.position = BMFCoordinate.coordinate().fromMap(map['position']);
this.title = map['title'];
this.subtitle = map["subtitle"];
this.isLockedToScreen = map['isLockedToScreen'];
this.screenPointToLock = BMFPoint.point().fromMap(map['screenPointToLock']);
this.identifier = map['identifier'];
this.icon = map['icon'];
this.centerOffset = map['centerOffset'];
this.enabled3D = map['enabled3D'];
this.enabled = map['enabled'];
this.draggable = map['draggable'];
this.scaleX = map['scaleX'];
this.scaleY = map['scaleY'];
this.alpha = map['alpha'];
this.isPerspective = map['isPerspective'];
}