Map<String, dynamic> toJson() { return { 'size': size, 'appearance': appearance.toJson(), 'placemarks': placemarks.map((e) => e.toJson()) }; }