BMFDot.withMap constructor

BMFDot.withMap(
  1. Map map
)

Implementation

BMFDot.withMap(Map map) {
  if (null == map) {
    return;
  }

  super.fromMap(map);
  this.center = BMFCoordinate.coordinate().fromMap(map['center']);
  this.radius = map['radius'];
  this.color = ColorUtil.hexToColor(map['color']);
}