PointStyle.fromMap constructor
Creates a PointStyle object from a map.
Implementation
factory PointStyle.fromMap(Map<String, dynamic> map) {
return PointStyle(
size: map['size'] as double,
color: Color(map['color'] as int),
altitude: map['altitude'] as double? ?? 0.0,
transitionDuration: map['transitionDuration'] as int? ?? 500,
merge: map['merge'] as bool? ?? false,
);
}