Breaking Changes
- The
__typeproperty across MapView elements has been lower cased for consistency.
// ❌ Before
Label.__type; // 'Label'
Marker.__type; // 'Marker'
Model.__type; // 'Model'
Shape.__type; // 'Shape'
Path.__type; // 'Path'
PathSegment.__type; // 'PathSegment'
Image3DView.__type; // 'Image3D'
Text3DView.__type; // 'Text3D'
// ✅ After
Label.__type; // 'label'
Marker.__type; // 'marker'
Model.__type; // 'model'
Shape.__type; // 'shape'
Path.__type; // 'path'
PathSegment.__type; // 'path-segment'
Image3DView.__type; // 'image-3d'
Text3DView.__type; // 'text-3d'
Features
-
Added
pointsgetter toEnterpriseLocationwhich returns thePointOfInterestinstances associated with the location. -
Added a visual map element for
Areas which can be updated usingMapView.updateState(). -
Added
MapView.getInView()to return the 2D elements that are currently in view. -
Added
MapView.Labels.getAll()to return all labels in the map. -
Added
MapView.Markers.getAll()to return all markers in the map.
Fixes
- Merges
MapDatalocalizations with the default language.