IAPOI.fromGeoJson constructor

IAPOI.fromGeoJson(
  1. Map map
)

Implementation

IAPOI.fromGeoJson(Map map)
    : id = map['id'],
      name = map['properties']['name'],
      floor = map['properties']['floor'],
      coordinate = IACoordinate(map['geometry']['coordinates'][1],
          map['geometry']['coordinates'][0]),
      payload = map['properties']['payload'];