toMap method

Map<String, dynamic> toMap()

Returns a Map from the current PointModel.

Implementation

Map<String, dynamic> toMap() {
  return {
    'lat': lat,
    'lng': lng,
    'altitude': altitude,
    'altitudeMode': altitudeMode,
    'drawOrder': drawOrder,
  };
}