Migration from previous major SDK versions
From versions 12.x to 13.x
For Full and Map versions
-
Styles must be exported again: fixed issues with displaying custom and immersive objects.
-
Updated all layers in the
Roadsgroup for displaying immersive roads in the main map mode. -
Added the
Traffic v13.0.0group for displaying new colors of tiles with traffic jams. -
Added the
Car route line v13.0.0group for displaying car routes on immersive roads. -
Now, a single channel BaseCamera.changed is used to track camera state changes instead of separate channels for each property. Subscriptions are replaced, and additional filtering of change reasons is added.
-
Changed the method of creating some classes:
- Removed the
getSystemMemoryManagerfunction. To obtain an object for managing system memory, use the SystemMemoryManager.instance() method. - Removed the SearchHistory constructor. To obtain a search history object, use the SearchHistory.instance() method.
- Removed the RoadEventManager constructor. To obtain an object for working with road events, use the RoadEventManager.instance() method.
- Removed the
getHttpCacheManagerfunction. To obtain an object for managing the HTTP cache, use the HttpCacheManager.get() method. - Removed the
getLocaleManagerfunction. To obtain an object for managing application locales, use the LocaleManager.instance() method. - Removed the TrafficCollector constructor. To obtain an object for managing the service for traffic information collection, use the TrafficCollector.instance() method.
- Removed the
getAudioSettingsfunction. To obtain an object for managing application sound, use the AudioSettings.get() method. - Removed the
getPackageManagerfunction. To obtain an object for managing packages, use the PackageManager.instance() method. - Removed the
getTerritoryManagerfunction. To obtain an object for managing territories, use the TerritoryManager.instance() method. - Removed the
getTerritoriesAlongRouteProviderfunction. To obtain an object for extracting a list of territories along a route, use the TerritoriesAlongRouteProvider constructor. - Removed the
getVoiceManagerfunction. To obtain an object for managing voice packages, use the VoiceManager.instance() method.
- Removed the
-
Removed the
EventsProcessingSettingsclass. -
Renamed the
Gestureobject to TransformGesture. -
Renamed the
ScalingSettingsobject to ScalingRecognizeSettings. -
Renamed the
RotationSettingsobject to RotationRecognizeSettings. -
Renamed the
MultiTouchShiftSettingsobject to MultiTouchRecognizeSettings. -
Renamed the
TiltSettingsobject to TiltRecognizeSettings. -
GestureManager.scalingSettings, GestureManager.rotationSettings, GestureManager.multitouchShiftSettings, and GestureManager.tiltSettings now return objects with ScalingGestureSettings, RotationGestureSettings, MultiTouchGestureSettings, and TiltGestureSettings types, respectively.
-
Moved the Color class for representing colors from the
ru.dgis.sdk.mappackage. -
Moved the ScreenDistance class from the
ru.dgis.sdk.mappackage. -
Moved the ScreenPoint class from the
ru.dgis.sdk.mappackage. -
Moved the ScreenShift class from the
ru.dgis.sdk.mappackage. -
Removed the
buildingLevelsproperty for obtaining floor plans from the DirectoryObject. -
The DirectoryObject.buildingInfo property is now optional.
-
The BuildingInfo.buildingId property is now mandatory and cannot be empty.
-
The LevelInfo.id property is now optional.
-
Changed the type of the PublicTransportDirectoryRouteInfo.color property from
Int?to Color?. -
The SearchQueryBuilder.setGeoPoint() method now accepts an optional value type.
-
The SearchQueryBuilder.setRadius() method now accepts an optional value type.
Additionally for Full version
- Removed the
getRoadMacroGraphfunction and theRoadMacroGraphclass. Now, to build offline routes between neighboring regions, download the required region packages. - Removed the class for configuring the position of the bubble with lanes on the route (
LanesCalloutMapPositionandRouteMapObject.lanesCalloutPositions) and the property from the RouteMapObject. - Renamed the
UIntRouteLongAttributeclass to DoubleRouteLongAttribute. - Changed the type of the Route.trafficLights property from VoidRouteAttribute to StringRouteAttribute.
- Added a new transport type
motorcycleto TransportType. - Added parameters for configuring the style zoom level to the SpeedRangeToStyleZoom constructor.
- Added the
rampDown,rampUp,smoothRampDown, andsmoothRampUpvalues for ramps to RoadSubtype. - Added new values of positions and landmarks to CarInstructionCrossroadLandmark.
- Added the
deepGreenandorangecolor values to TrafficSpeedColor. - Added the
crossingflag for displaying the start and end of a crossing on a route to RouteMapObjectDisplayFlag. - Added the
crossingnew type of a route point (the start and end of a crossing) to RoutePointKind. - Added values for event notifications
betterRoute("better route") andhumps(speed bumps) to SoundCategory.