mapping constant

Map<String, Map<String, String>> const mapping

Map SDK internal 'kind' to OGC IMDF 'feature_type' and 'category'.

Implementation

static const Map<String, Map<String, String>> mapping = {
  'floor': {'feature_type': 'level', 'category': 'room'}, // Default
  'venue': {'feature_type': 'venue', 'category': 'venue'},
  'building': {'feature_type': 'building', 'category': 'building'},
  'beacon': {'feature_type': 'anchor', 'category': 'beacon'},
  'poi': {'feature_type': 'anchor', 'category': 'point-of-interest'},
  'walkway': {'feature_type': 'pathway', 'category': 'walkway'},
  'obstacle': {'feature_type': 'unit', 'category': 'restricted'},
};