Release Notes

We are pleased to announce the availability of version 4.7.6.0 (Lite Edition) of the new HERE SDK for Android.

This is a stable release. We are constantly working on new features, stabilizing APIs, improving our KPIs, and evaluating your feedback.

Changes

This section documents major changes to this release that may require you to update your applications.

Version 4.7.6.0

Known Issues

  • A Maneuver.polyline list of GeoCoordinates has only one element for the last maneuver of a route.
  • The jamFactor indicating TrafficSpeed is currently calculated linear without taking road types and other parameters into account.

Changes from Previous Releases

This section documents major changes from past releases. We encourage you to use the latest release, 4.7.6.0.

Version 4.7.5.0

New Features

  • Routing: Added avoidance options for pedestrians with PedestrianOptions.avoidanceOptions.
  • Search: Added support to search along longer route polylines with a GeoCorridor. Either increase halfWidthInMeters when set via constructor or do not set it - by using the GeoCorridor constructor that only allows to set the GeoPolyline. The parameter radiusInMeters has been deprecated: Please only use halfWidthInMeters as constructor parameter to specify the thickness of the route corridor. When increasing halfWidthInMeters then a greater simplification of the polyline shape can be achieved resulting in a longer route that can be searched along. On the downside the results are less accurate and can lie farther away from the route. When halfWidthInMeters is not set, a suitable value is set internally based on "best guess".

Known Issues

  • A Maneuver.polyline list of GeoCoordinates has only one element for the last maneuver of a route.
  • The jamFactor indicating TrafficSpeed is currently calculated linear without taking road types and other parameters into account.

Version 4.7.4.0

New Features

  • Routing: Added TruckType enum to specify the type of a truck for the TruckSpecifications.
  • Routing: Added TruckSpecifications.trailerCount to specify the number of trailers.
  • Routing: Added accessPoint to RoutePlaceType enum. It allows to differentiate Section's based on RoutePlace.type.
  • Public transit: Added FarePriceType enum, FarePrice.type, FarePrice.minimum and FarePrice.maximum properties. FarePrice provides the actual price value.

API Changes

  • Custom map layers: Extended the validation for custom raster layer names raster to include hyphens and underscores. Now, only alphanumeric characters like \[a-zA-Z0-9\], hyphens and underscores are allowed.
  • Routing: Deprecated FarePrice.unit, use the newly introduced FarePrice.validityPeriodInSeconds property instead.
  • Routing: Deprecated the unsupported Agency.icon property. This property is no longer supported and will be removed with HERE SDK release v4.10.0.

Known Issues

  • A Maneuver.polyline list of GeoCoordinates has only one element for the last maneuver of a route.
  • The jamFactor indicating TrafficSpeed is currently calculated linear without taking road types and other parameters into account.

Version 4.7.3.0

New Features

  • Routing: Added support for EVCarOptions and EVTruckOptions for the RefreshRouteOptions class.
  • EV Routing: Added new parameters to BatterySpecifications:
    • minChargeAtChargingStationInKilowattHours: The minimum charge when arriving at a charging station.
    • minChargeAtDestinationInKilowattHours: The minimum charge at the final route destination.
    • maxChargingVoltageInVolts: The maximum charging voltage supported by the vehicle's battery.
    • maxChargingCurrentInAmperes: The maximum charging current supported by the vehicle's battery.
    • chargingSetupDurationInSeconds: The time spent after arriving at a charging station, but before actually charging.
  • SearchEngine: For reverse geocoding it is now possible to search in a GeoCircle with search(GeoCircle circle, SearchOptions options, SearchCallback callback).

Known Issues

  • A Maneuver.polyline list of GeoCoordinates has only one element for the last maneuver of a route.
  • The jamFactor indicating TrafficSpeed is currently calculated linear without taking road types and other parameters into account.

Version 4.7.2.0

New Features

  • Added a feature to refresh a Route: Added the RouteOptions.enableRouteHandle flag to get a RouteHandle, a RefreshRouteOptions class and a RoutingEngine.refreshRoute() method. Note that currently EVRouteOptions are not supported. See the related chapter in the Developer's Guide for more information.

Known Issues

  • A Maneuver.polyline list of GeoCoordinates has only one element for the last maneuver of a route.
  • The jamFactor indicating TrafficSpeed is currently calculated linear without taking road types and other parameters into account.

Version 4.7.1.0

New Features

  • Introduced taxi routes. Added TransportMode.TAXI type and a TaxiOptions class to calculate routes optimized for taxis via RoutingEngine.calculateRoute(). Note: This is a beta release of this transport mode, so there could be a few bugs and unexpected behaviors.
  • Routing: Added RouteOptions.speedCapInMetersPerSecond to limit the maximum allowed speed for a vehicle. When set, the route duration will be shorter for car and truck transport modes. For scooter routes it may also affect the route geometry. Other transport modes are ignored.

Resolved Issues

  • Fixed: Public transit routes do not contain maneuvers.

Known Issues

  • A Maneuver.polyline list of GeoCoordinates has only one element for the last maneuver of a route.
  • The jamFactor indicating TrafficSpeed is currently calculated linear without taking road types and other parameters into account.

Version 4.7.0.0

Highlights

  • Introduced public transit routing with a new TransitRoutingEngine that can calculate public transit routes. It uses TransitWaypoint type waypoints and a TransitRouteOptions class to specify various transit related options. Note that the API is in an early development stage. More features and overall stabilization are planned for the next releases.

New Features

  • Along with the newly introduced TransitRoutingEngine (see above), the following supportive types have been added: AttributionType enum, FarePriceType enum, FareReason enum, PreActionType enum, TransitDepartureStatus enum, TransitIncidentType enum, TransitIncidentEffect enum, TransitMode enum, TransitModeFilter enum, Agency class, Attribution class, Fare class, FarePrice class, PreAction class, TransitIncident class, TransitDeparture class, TransitSectionDetails class, TransitStop class, and TransitTransport class.
  • Routing: Introduced a new Span class that is accessible from a Section on a Route. It points to the related section notices to indicate possible route violations. With the Span class these violations can now be identified on the Route as they contain the length in meters and the geometry.
  • Routing: Added additional constructor for IsolineOptions.Calculation: IsolineOptions.Calculation(@NonNull final IsolineRangeType rangeType, @NonNull final List<Integer> rangeValues, @NonNull final IsolineCalculationMode isolineCalculationMode).
  • Search: Added new method to SearchEngine to get place details for a Suggestion that contains a href String. Use the new sendRequest() method for this.

API Changes

  • Removed the previously deprecated LocationProvider and the LocationListener.onLocationTimeout() method.
  • Removed the previously deprecated Section.getTransportMode() method.
  • Removed the previously deprecated GeoCorridor(List<GeoCoordinates>, Double) constructor.
  • Removed the previously deprecated Place.getCoordinates().
  • Removed the previously deprecated fields and constructors from com.here.sdk.core.Color.

Resolved Issues

  • Fixed: The opening hours for a Place that closes after midnight end at midnight.

Known Issues

  • A Maneuver.polyline list of GeoCoordinates has only one element for the last maneuver of a route.
  • The jamFactor indicating TrafficSpeed is currently calculated linear without taking road types and other parameters into account.
  • Public transit routes do not contain maneuvers.

Version 4.6.5.0

New Features

  • Added support for political views. SDKOptions allow now to specify the politicalView string. It's a three letter country code defined by ISO 3166-1 alpha-3. When set, all map data will respect the point of view of this country. Note that this is a beta feature and thus there can be bugs and unexpected behaviour.
  • A Place can now be serialized or deserialized with serializeCompact() and deserialize() to or from a String.
  • Routing: Added SectionNoticeCode and NoticeSeverity enums, SectionNotice class and Section.getSectionNotices() method to get informed on possible route violations.
  • Isoline Routing:
    • Added RoutePlaceDirection enum with values ARRIVAL and DEPARTURE.
    • Added isolineDirection field inside IsolineOptions.Calculation structure (with default value of RoutePlaceDirection.DEPARTURE)
    • Extended the existing IsolineOptions.Calculation constructor to accept the new RoutePlaceDirection enum.
    • Added RouteOptions.arrivalTime to set an optional time when a travel is expected to end. Note that this parameter is currently only supported for isoline route calculation.

API Changes

  • Routing: Deprecated the Notice class and NoticeCode enum along with Section.getNotices() method, use the newly introduced SectionNoticeCode, SectionNotice class and Section.getSectionNotices() method instead.
  • Search: Deprecated SearchError.OPTION_NOT_AVAILABLE enum value, it will be replaced by the existing SearchError.INVALID_PARAMETER value.

Known Issues

  • A Maneuver.polyline list of GeoCoordinates has only one element for the last maneuver of a route.
  • The jamFactor indicating TrafficSpeed is currently calculated linear without taking road types and other parameters into account.

Version 4.6.4.0

New Features

  • Routing: Introduced Waypoint.minCourseDistanceInMeters to specify an optional distance parameter during which a user can avoid taking actions.

Known Issues

  • A Maneuver.polyline list of GeoCoordinates has only one element for the last maneuver of a route.
  • The jamFactor indicating TrafficSpeed is currently calculated linear without taking road types and other parameters into account.

Version 4.6.3.0

New Features

  • Routing: Added sideOfStreetHint property to Waypoint. These optional GeoCoordinates indicate which side of the street should be used to reach the waypoint. For example, if the location is to the left of the street, the route will prefer using that side in case the street has dividers. Hence, if the street has no dividers, sideOfStreetHint is ignored.

Known Issues

  • A Maneuver.polyline list of GeoCoordinates has only one element for the last maneuver of a route.
  • The jamFactor indicating TrafficSpeed is currently calculated linear without taking road types and other parameters into account.

Version 4.6.2.0

Resolved Issues

  • Fixed: When SDKOptions is created before initialization of SDKNativeEngine it may contain a corrupted path.

Known Issues

  • A Maneuver.polyline list of GeoCoordinates has only one element for the last maneuver of a route.
  • The jamFactor indicating TrafficSpeed is currently calculated linear without taking road types and other parameters into account.

Version 4.6.1.0

New Features

  • Routing: Introduced ZoneCategory enum and added zoneCategories field to to the AvoidanceOptions struct which is a collection of ZoneCategory's.
  • EV routing: Introduced Route.getEVDetails() which returns the accumulated evDetails data for all sections of a route.

API Changes

  • Routing: The AvoidanceOptions constructor requires to set the new field zoneCategories.
  • Routing: Deprecated Section.getDeparture() and Section.getArrival(). Instead, use the newly introduced Section.getDeparturePlace() and Section.getArrivalPlace() to get a RoutePlace.
  • Deprecated the Address fields stateName, countyName, streetName and the related constructors. Instead, use the newly introduced constructor that takes the new fields state, country and street.

Resolved Issues

  • Fixed: Performing a CategoryQuery or a TextQuery search no longer returns SearchError.HTTP_ERROR when searching in a circle, whose radius is a number with a fraction.

Known Issues

  • A Maneuver.polyline list of GeoCoordinates has only one element for the last maneuver of a route.
  • The jamFactor indicating TrafficSpeed is currently calculated linear without taking road types and other parameters into account.
  • When SDKOptions is created before initialization of SDKNativeEngine it may contain a corrupted path.
  • The opening hours for a Place that closes after midnight end at midnight.
  • An inner city Route for trucks carrying dangerous goods may not result in an error message.

Version 4.6.0.0

Highlights

  • Added isoline routing to calculate the reachable area for the given center coordinates and a range defined in time, distance or energy consumption. Added a new calculateIsoline() method to RoutingEngine. Added related classes:
    • IsolineOptions: Options for isoline calculation.
    • IsolineRangeType: Enumeration specifying whether the range type is defined in time, distance or energy consumption.
    • IsolineCalculationMode: Specifies how the isoline calculation can be optimized.
    • Isoline: Represents a single isoline.
    • MapMatchedCoordinates: Contains a pair of user-defined and map-matched coordinates.

More New Features

  • Added ScooterOptions.allowHighway property.
  • Search: Added categories field to OpeningHours. It contains categories related to specific OpeningHours. For example, when a Place has multiple opening hours associated with it.
  • Added SDKNativeEngine.dispose() to release resources. It should be used in cases when it's necessary to create a new instance of SDKNativeEngine with the same access key id as previously used.

API Changes

  • Removed beta status for scooter transport mode.
  • Search: Deprecated the following Contact fields landlinePhoneNumbers, mobilePhoneNumbers, emailAddresses, websiteAddresses. Use these newly introduced fields instead: landlinePhones, mobilePhones, emails, websites. Each holds a list of newly created classes LandlinePhone, MobilePhone, EmailAddress, WebsiteAddress - containing a string representation of the item and a list of related PlaceCategory values.
  • Deprecated all methods to set the maximum tiles cache size on MapViewLite. Use SDKOptions.cacheSizeInBytes instead. This option can be set from AndroidManifest or programmatically. The default cache size is 256 MB.
  • The SDKNativeEngine now locks access to the map data cache. When another instance of SDKNativeEngine is instantiated with the same access key id then now an exception is thrown.
  • Maneuver: Deprecated roadName, roadNameLanguageCode, roadNumber, nextRoadName, nextRoadNameLanguageCode, nextRoadNumber. Added instead RoadTexts with roadTexts and nextRoadTexts and LocalizedText and LocalizedTexts.

Resolved Issues

  • Fixed: MapOverlay views may not be fully visible when the map is moved.

Known Issues

  • A Maneuver.polyline list of GeoCoordinates has only one element for the last maneuver of a route.
  • The jamFactor indicating TrafficSpeed is currently calculated linear without taking road types and other parameters into account.
  • When SDKOptions is created before initialization of SDKNativeEngine it may contain a corrupted path.

Version 4.5.4.0

Highlights

  • The supported device specifications have been fine tuned and contain now more granular details on the supported devices. Details can be found in the About section of the Developer's Guide for this edition.
  • Added a sky box to MapViewLite. The effect is visible on the highest zoom levels with a big tilt.

New Features

  • Extended walk routing options: Added PedestrianOptions.walkSpeedInMetersPerSecond property. Note that this feature is released as beta. By setting a walk speed you can calculate pedestrian routes specific for different walk profiles.
  • Searching for a CategoryQuery within a GeoCircle or GeoBox is no longer marked as a beta feature.
  • Added new map cache options to SDKOptions with SDKOptions.cacheSizeInBytes and SDKOptions.persistentMapStoragePath. Also available as key in manifest (com.here.sdk.cache_size_in_bytes, com.here.sdk.persistent_map_storage_path). With this you can control where to store cached map data and it also allows to specify the amount of data you want to reserve for caching.

Known Issues

  • MapOverlay views may not be fully visible when the map is moved.
  • A Maneuver.polyline list of GeoCoordinates has only one element for the last maneuver of a route.
  • The jamFactor indicating TrafficSpeed is currently calculated linear without taking road types and other parameters into account.

Version 4.5.3.0

New Features

  • Added a NoticeCode that describes issues after a Route was calculated. For example, when a route should avoid tunnels, but the only possible route needs to pass a tunnel, the Route contains a notice that the requested avoidance of tunnels was violated. Therefore, it is recommended to always check a calculated Route for possible violations. The NoticeCode is part of a Notice object. A list of possible Notice objects can be accessed per Section of a Route. The list will be empty, when no violation occurred.
  • Added search for a CategoryQuery within a GeoCircle or GeoBox. Extended the existing CategoryQuery constructors to accept GeoCircle or GeoBox. Note that this feature is currently in BETA state.

Known Issues

  • MapOverlay views may not be fully visible when the map is moved.
  • A Maneuver.polyline list of GeoCoordinates has only one element for the last maneuver of a route.
  • The jamFactor indicating TrafficSpeed is currently calculated linear without taking road types and other parameters into account.

Version 4.5.2.0

Highlights

  • Added suppport for scooter route calculation with the new ScooterOptions. Note that this is a BETA feature. Using scooter routes for navigation is not yet supported.

API Changes

  • Cache path to store map data is now unique per access key ID (which is unique per customer). The HERE SDK automatically appends the current version of the cache and the access key ID. If you want to keep existing cache data, it may be required to copy it from <cache-root> to <cache-root>/v1/<access-key-id>, as the current version of the cache is "v1".
  • Deprecated SDKNativeEngine.setAccessKey(access_key_id, access_key_secret). Use SDKNativeEngine.setAccessKeySecret(access_key_secret) instead, in combination with setting the access key ID via SDKOptions when constructing a new SDKNativeEngine.
  • Deprecated LocationUpdateListener. Use the new LocationListener instead.
  • Removed deprecated GeoCircle constructor that accepts single precision float type for radius.

Resolved Issues

  • Fixed various deadlocks and crashes of MapViewLite, for example when callbacks are executed after the map view was already destroyed.

Known Issues

  • MapOverlay views may not be fully visible when the map is moved.
  • A Maneuver.polyline list of GeoCoordinates has only one element for the last maneuver of a route.
  • The jamFactor indicating TrafficSpeed is currently calculated linear without taking road types and other parameters into account.

Version 4.5.1.0

New Features

  • Introduced Maneuver.getLengthInMeters() method to return the length of the maneuver.
  • Introduced SectionTransportMode enum and Section.getSectionTransportMode() method returning an instance of this type indicating now transport modes such as ferries. Section.getTransportMode() has been deprecated, use the newly introduced method instead.
  • Search: Introduced SupplierReference type and Details.references property, which holds the list of supplier references to a place.

API Changes

  • MapPolygonLite accepts now any list order: A GeoCoordinates list does no longer need to be clockwise ordered when passed to constructor. If it's counter-clockwise, its order is reversed.
  • The strokes for MapCircleLite and MapPolygonLite are no longer doubled.
  • Very sharp MapPolygonLite edges now have bevel joins instead of miter joins.
  • Deprecated CameraLimits.ErrorCode.VALUE_OUTSIDE_LIMITS, because it's unused.

Known Issues

  • MapOverlay views may not be fully visible when the map is moved.
  • A Maneuver.polyline list of GeoCoordinates has only one element for the last maneuver of a route.
  • The jamFactor indicating TrafficSpeed is currently calculated linear without taking road types and other parameters into account.

Version 4.5.0.0

Highlights

  • Added heresdk-lite-mock-<version>.jar to release package to enable easy mocking of HERE SDK classes for Unit Tests, check the new UnitTesting example app to see how to use it in your own tests.
  • Added route calculation for electric vehicles (EV). It's now possible to calculate the energy consumption per route section according to the given consumption model (supported for electric cars and trucks). Charging stations are automatically added to the calculated route as waypoints to ensure that the electric vehicle doesn't run out of energy along the way (supported for electric cars).

New Features

  • Added LogAppender interface to insert your own log class into the SDKNativeEngine. This way you can log HERE SDK messages for various predefined log levels even on release builds.
  • Added new methods to calculate routes for electric vehicles (car and trucks are supported): RoutingEngine.calculateRoute(List<Waypoint>, EVCarOptions, CalculateRouteCallback), RoutingEngine.calculateRoute(List<Waypoint>, EVTruckOptions, CalculateRouteCallback).
  • Added the following classes and fields to support EV routing (see above):
    • BatterySpecifications - parameters that describe the electric vehicle's battery.
    • ChargingConnectorAttributes - details of the connector that is suggested to be used for charging.
    • ChargingConnectorType - enumeration of the available charging connector types.
    • ChargingStation - charging station data.
    • ChargingSupplyType - enumeration of available charging supply types.
    • EVCarOptions - options to specify how a route for an electric car should be calculated.
    • EVConsumptionModel - parameters specific for the electric vehicle, which are used to calculate energy consumption on a given route.
    • EVDetails - additional information that is available for electric vehicles.
    • EVTruckOptions - options to specify how a route for an electric truck should be calculated.
    • PostActionType - enumeration of available post action types.
    • PostAction - an action that must be done after arrival.
    • RoutePlaceType - shows whether the place on the route (such as departure or arrival) is a charging station or a regular place.
    • Arrival.type - the type of the arrival place.
    • Arrival.chargeInKilowattHours - battery charge at arrival.
    • Arrival.chargingStation - charging station data at arrival.
    • Departure.type - the type of the departure place.
    • Departure.chargeInKilowattHours - battery charge at departure.
    • Departure.chargingStation - charging station data at departure.
    • Section.postActions - actions that must be done after the arrival.
    • Section.evDetails - additional section information that is available for electric vehicles.

API Changes

  • Removed deprecated camera limits methods, use the previously introduced setBearingRange(AngleRange value), getBearingRange() instead:
    • double getMaxBearing()
    • double getMinBearing()
    • void setMaxBearing(double)
    • void setMinBearing(double)
  • Removed deprecated camera API:
    • GeoBox getBoundingRect(), use the previously introduced getBoundingBox() instead
  • Removed deprecated pick map items methods, use the previously released counterparts instead:
    • public void pickMapItems(@NonNull Point2D viewCoordinates, @NonNull Float radius, @NonNull PickMapItemsCallback callback)
  • Removed deprecated map items styling methods, use the previously released counterparts setXYInPixels() instead:
    • void MapPolygonStyle.setStrokeWidth(float)
    • float MapPolygonStyle.getStrokeWidth()
    • void MapCircleStyle.setStrokeWidth(float)
    • float MapCircleStyle.getStrokeWidth()
    • void MapPolylineStyle.setWidth(float)
    • float MapPolylineStyle.getWidth()
  • Removed a deprecated GeoCoordinates constructor, use the previously introduced counterpart instead.
  • Removed a deprecated Anchor2D constructor, use the previously introduced counterpart instead.
  • Moved AngleRange from com.here.sdk.mapviewlite to com.here.sdk.core package.

Resolved Issues

  • Fixed: A category search along a route will crash when the GeoCorridor.polyline list parameter is empty.

Known Issues

  • MapOverlay views may not be fully visible when the map is moved.
  • A Maneuver.polyline list of GeoCoordinates has only one element for the last maneuver of a route.
  • The jamFactor indicating TrafficSpeed is currently calculated linear without taking road types and other parameters into account.

Version 4.4.6.0

Highlights

  • This release focuses on overall stability and performance improvements.

Known Issues

  • MapOverlay views may not be fully visible when the map is moved.
  • A category search along a route will crash when the GeoCorridor.polyline list parameter is empty.
  • A Maneuver.polyline list of GeoCoordinates has only one element for the last maneuver of a route.

Version 4.4.5.0

New Features

  • Added GeoBox GeoBox.containing(@NonNull List<GeoCoordinates> geoCoordinates) to construct a GeoBox from a list of Geocoordinates.
  • A CategoryQuery can now be created from a single PlaceCategory with the additional constructor CategoryQuery(@NonNull PlaceCategory category, @NonNull String filter, @NonNull GeoCoordinates areaCenter).

Known Issues

  • MapOverlay views may not be fully visible when the map is moved.
  • A category search along a route will crash when the GeoCorridor.polyline list parameter is empty.

Version 4.4.4.0

Highlights

  • The HERE SDK supports now multiple instances of MapViewLite at the same time. The exception that is thrown when a second instance is created was removed.

API Changes

  • targetSdkVersion and compileSdkVersion of the internal AndroidManifest used by the HERE SDK have been updated from 28 to 29.

Resolved Issues

  • Fixed issue with empty IDs for reverse geocoding results: IDs of place results are no longer empty strings and contain now a valid ID.
  • Route calculation: When no truck route is found due to incompatible truck restrictions, the reason is now logged and RoutingError.NO_ROUTE_FOUND error is returned. For example, a log may contain: "Potential route would violate truck restriction:{"maxHeight":400}".

Known Issues

  • MapOverlay views may not be fully visible when the map is moved.

Version 4.4.3.0

New Features

  • Certain areas can now be excluded from route calculation with AvoidanceOptions that contain an avoidAreas list holding GeoBox items which routes should not cross.
  • Added optional Suggestion.getHref() to get a direct link to discover more details. It is available when the suggestion result type is category or chain.
  • Added RoadFeatures.DIFFICULT_TURNS enum value. Note that it is valid only for truck transport mode.
  • Added a new GeoCorridor constructor with radiusInMeters as integer type - as replacement for the deprecated constructor with radiusInMeters as double type, see below.

Deprecated

  • Deprecated GeoCorridor constructor with radiusInMeters as double type. Use the newly introduced GeoCorridor constructor with radiusInMeters as integer type instead, see above.

API Changes

  • The AvoidanceOptions(avoidFeatures, avoidCountries) constructor was extended to allow a list of GeoBox items as 3rd parameter.

Resolved Issues

  • Fixed a crash in MapViewLite when an app is coming back to an Activity from background.
  • Fixed: SearchEngine: Place.getId() is empty for reverse geocoding results.
  • Fixed: Map gestures can be slow when there's no internet connection and the map is using cached map data.

Known Issues

  • MapOverlay views may not be fully visible when the map is moved.

Version 4.4.2.0

New Features

  • Added Place.getGeoCoordinates() method to get the GeoCoordinates of a Place. Note that only Place instances retrieved from a Suggestion result may not contain geographic coordinates, hence the returned value is optional.
  • Added departure/arrival information to the Section of a Route:
    • Added Departure class with the following fields:
      • waypointIndex
      • originalCoordinates
      • mapMatchedCoordinates
    • Added Arrival class with the following fields:
      • waypointIndex
      • originalCoordinates
      • mapMatchedCoordinates
    • Added Section.get_departure() method.
    • Added Section.get_arrival() method.
  • Added Suggestion.getType() to get the new SuggestionType enum that indicates whether this Suggestion is a place, a chain like a store, restaurant or bussiness chain - or a category.

Deprecated

  • Deprecated Place.getCoordinates() method, use Place.getGeoCoordinates() instead. Note that only Place instances retrieved from a Suggestion result may not contain geographic coordinates, hence the returned value has become optional.

Resolved Issues

  • Fixed: When the Route used to search along the route is too long, now a proper error is returned with SearchError.ROUTE_TOO_LONG.
  • Fixed: For places that are obtained from the Suggestion class, the geographic coordinates always contain a latitude and a longitude equal to 0. An additional places request is needed to obtain the coordinates.

Known Issues

  • SearchEngine: Place.getId() is empty for reverse geocoding results.
  • Map gestures can be slow when there's no internet connection and the map is using cached map data.

Version 4.4.1.0

New Features

  • Traffic flows can now be identified along a Route. Introduced TrafficSpeeds class to provide traffic speed information over a Section polyline. The Section.getTrafficSpeeds() method returns a list of TrafficSpeeds's which covers the Section polyline.
  • Added SearchError.QUERY_TOO_LONG and SearchError.FILTER_TOO_LONG. These errors will appear if the search query or search filter is too long (over 300 characters).
  • Added Route.getTransportMode() which returns the original TransportMode as requested for the route calculation.

Resolved Issues

  • Fixed: Fixed memory leaks caused by PlatformThreading.

Known Issues

  • SearchEngine: Place.getId() is empty for reverse geocoding results.
  • Map gestures can be slow when there's no internet connection and the map is using cached map data.
  • For places that are obtained from the Suggestion class, the geographic coordinates always contain a latitude and a longitude equal to 0. An additional places request is needed to obtain the coordinates.

Version 4.4.0.2

New Features

  • Search for places along a route: Added the GeoCorridor option to filter TextQuery results when performing an asynchronous search request along a route with the method TextQuery(@NonNull String query, @NonNull GeoCorridor corridorArea, @NonNull GeoCoordinates areaCenter).
  • Search for places by category along a route: Added the CategoryQuery structure that accepts the GeoCorridor option in its constructors with the filter parameter CategoryQuery(@NonNull List<PlaceCategory> categories, @NonNull String filter, @NonNull GeoCorridor corridorArea) and without the filter parameter CategoryQuery(@NonNull List<PlaceCategory> categories, @NonNull GeoCorridor corridorArea) to enable category search along a route. This feature is in BETA state.
  • Added to the Details class the method: List<PlaceCategory> getPrimaryCategories() to get a place category from the result of a search query.
  • Added a new font with Chinese, Japanese and Korean characters. The font occupies 1.7MB and can be optionally removed to save space: Open the AAR file and remove the following files:
    • assets/style/fonts/DroidSansFallback.woff
    • assets/style/fonts/DroidSansFallback.license

API Changes

  • Changed the rendered resolution of map tiles from 256x256 to 512x512 pixels. Now, all zoom levels are shifted by -1. I.e. users should subtract 1 from their default zoom levels in their apps or custom zoom level limits.
  • Reduced the rotation sensitivity of the Pinch Rotate gesture. Now, it is easier to zoom in on the map without rotating it.
  • Moved the LocationProvider and LocationListener interfaces from the com.here.sdk.navigation to the com.here.sdk.core package.

Resolved Issues

  • Fixed: Map labels are not rendered in Chinese, Japanese and Korean. Now, Map labels are rendered in Chinese, Japanese and Korean.

Known Issues

  • SearchEngine: Place.getId() is empty for reverse geocoding results.
  • Map gestures can be slow when there's no internet connection and the map is using cached map data.
  • For places that are obtained from the Suggestion class, the geographic coordinates always contain a latitude and a longitude equal to 0. An additional places request is needed to obtain the coordinates.

Version 4.3.4.0

Highlights

  • With this release it is no longer necessary to request the sensitive EXTERNAL_STORAGE permission from users. See the related API change below.

API Changes

  • Removed the android.permission.READ_EXTERNAL_STORAGE and android.permission.WRITE_EXTERNAL_STORAGE permissions from the SDK manifest file.

Resolved Issues

  • Fixed visual design of the disputed borders for the NORMAL_DAY and HYBRID_DAY map styles.

Known Issues

  • SearchEngine: Place.getId() is empty for reverse geocoding results.
  • Map labels are not rendered in Chinese.
  • Map gestures can be slow when there's no internet connection and the map is using cached map data.

Version 4.3.3.0

New Features

  • Added the method search(@NonNull PlaceIdQuery query, @Nullable LanguageCode languageCode, @NonNull PlaceIdSearchCallback callback) to perform an asynchronous request to search for a place based on its ID and language code.
  • Added the possibility to filter AddressQuery results by the CountryCode with the method AddressQuery(@NonNull String query, @NonNull GeoCoordinates areaCenter, @NonNull List<CountryCode> countries).
  • Added the possibility to filter TextQuery results by the CountryCode with the method TextQuery(@NonNull String query, @NonNull GeoCoordinates areaCenter, @NonNull List<CountryCode> countries).
  • Added the ability to get the currently used tile cache size with the method long getTilesCacheSize().

Deprecated

  • Deprecated the method search(@NonNull PlaceIdQuery query, @NonNull PlaceIdSearchCallback callback). Use the newly introduced search(@NonNull PlaceIdQuery query, @Nullable LanguageCode languageCode, @NonNull PlaceIdSearchCallback callback) method instead.

Resolved Issues

  • Fixed: Route scene is not displayed fully for the longest routes. Now, the route scene is displayed fully for the longest routes.
  • Fixed: Missing continent labels at maximum zoom out level. Now, continent labels are rendered at the maximum zoom out level.

Known Issues

  • SearchEngine: Place.getId() is empty for reverse geocoding results.
  • Map labels are not rendered in Chinese.

Version 4.3.2.0

New Features

  • Added updated support for the SDKOptions.cachePath handling. If SDKOptions.cachePath is not set, it will be assigned a default path [to be precise: Context.getCacheDir().getPath()]. Plus, a custom cachePath can be set in the app's manifest file via the "com.here.sdk.cache_path" key.

Resolved Issues

  • Fixed: The Authentication callback was not always called on the main thread. Now the callback is guaranteed to be always called on the main thread.

Known Issues

  • SearchEngine: Place.getId() is empty for reverse geocoding results.
  • Map labels are not rendered in Chinese.

Version 4.3.1.0

Resolved Issues

  • Fixed: AvoidanceOptions will be ignored when calculating truck routes. Now, AvoidanceOptions are considered when calculating truck routes.

Known Issues

  • SearchEngine: Place.getId() is empty for reverse geocoding results.

Version 4.3.0.0

New Features

  • Added the GeoCoordinates(double latitude, double longitude, double altitude) constructor.
  • Added the GeoPolygon(@NonNull GeoCircle geoCircle) constructor.
  • Added the GeoCircle() constructor that accepts type double for the radius parameter.
  • Added the method MapViewLite.pickMapItems(Point2D viewCoordinates, double radius,PickMapItemsCallback callback) to pick map items from the MapView.
  • Added the following to the com.here.sdk.search package:
    • AddressQuery to specify an address query.
    • CategoryQuery to specify a query by categories.
    • Contact that represents the contact information.
    • IdQuery to specify an id query.
    • OpeningHours to represent the information on opening hours.
    • Place to represent a location object, such as a country, a city, a point of interest(POI) etc.
    • PlaceCategory to define a set of most commonly used categories.
    • ScheduleDetails to encapsulate schedule details complying with the iCalendar specification.
    • Suggestion to represent a suggestion of an address or a place based on a query.
    • TextQuery option to specify a text query.
  • Added the following methods to SearchEngine:
    • search(query: IdQuery, callback: IdSearchCallback) to search for a place based on its ID.
    • search(query: CategoryQuery, callback: SearchCallback) to search for places based on a list of categories.
  • Added the structure Details to the Place object. It contains following fields:
    • categories for the list of categories assigned to the place.
    • contacts for the contact list of the place.
    • openingHours for the list of information on the opening hours of the place.
  • Added the following methods to manage tile caching:
    • setMaxTilesCache(long maxSizeInBytes) to set the maximum size available for tiles caching.
    • clearTilesCache() to remove all cached tiles from the persistent memory.
  • Added the constructor SDKOptions(@NonNull String accessKeyId, @NonNull String accessKeySecret, @NonNull String cachePath, @NonNull AuthenticationPreferences authenticationPreferences) to SDKOptions to use the local system time for authentication instead of getting it from the server.

API Changes

  • Changed type of GeoCoordinates.altitude from float to double.
  • Changed the return type of Route.getDurationInSeconds() from long to int.
  • Changed the return type of Route.getTrafficDelayInSeconds() from long to int.
  • Changed the return type of Section.getDurationInSeconds() from long to int.
  • Changed the return type of Section.getTrafficDelayInSeconds() from long to int.
  • Changed the return type of SectionProgress.remainingDurationInSeconds from long to int.
  • Changed the return type of SectionProgress.trafficDelayInSeconds from long to int.
  • Changed the method in the PanListener from void onPan(@NonNull GestureState state, @NonNull Point2D origin, @NonNull Point2D translation, float velocity) to void onPan(@NonNull GestureState state, @NonNull Point2D origin, @NonNull Point2D translation, double velocity).
  • Changed the method in the PinchRotateListener from void onPinchRotate(@NonNull GestureState state, @NonNull Point2D pinchOrigin, @NonNull Point2D rotationOrigin, float twoFingerDistance, @NonNull Angle rotation) to void onPinchRotate(@NonNull GestureState state, @NonNull Point2D pinchOrigin, @NonNull Point2D rotationOrigin, double twoFingerDistance, @NonNull Angle rotation).
  • Changed the method in the TwoFingerPanListener from void onTwoFingerPan(@NonNull GestureState state, @NonNull Point2D origin, @NonNull Point2D translation, float velocity) to void onTwoFingerPan(@NonNull GestureState state, @NonNull Point2D origin, @NonNull Point2D translation, float velocity).
  • Removed the MapMatchedWaypoint class.
  • Removed the RouteRestrictions class.
  • Removed the SideOfStreet enumeration.
  • Removed the Route.getMapMatchedWaypoints() method.
  • Removed the interface Searchable.
  • Replaced Suggestion.getSearchable with Suggestion.getPlace.
  • Removed the method SearchOptions(@Nullable Integer maxItems).
    • Use SearchOptions() instead, as the languageCode and maxItems are set to null with this constructor.
  • Removed the AutosuggestEngine, GeocodingEngine, and ReverseGeocodingEngine. Their functionalities are now integrated into the SearchEngine class:
    • Use SearchEngine.search(TextQuery, SearchOptions, SearchCallback) to search for Place results.
    • Use SearchEngine.search(AddressQuery, SearchOptions, SearchCallback) to geocode an address to a geographic coordinate. Now, geocoding is limited to GeoCoordinates. GeoBox and GeoCircle are dropped.
    • Use SearchEngine.search(GeoCoordinates, SearchOptions, SearchCallback) to reverse geocode a geographic coordinate to an address.
    • Use SearchEngine.search(CategoryQuery, SearchOptions, SearchCallback) to search for Place results based on a list of categories.
    • Use SearchEngine.suggest(TextQuery, SearchOptions, SuggestCallback) to search for auto suggested Place results.
  • Replaced SearchCategory with SearchEngine.search(CategoryQuery, Options, SearchCallback).
  • Replaced the CategoryId class with the PlaceCategory class.
  • Replaced the SearchResult class with the Place class.
  • Replaced the SearchEngine.Callback, GeocodingEngine.Callback, and the ReverseGeocodingEngine.Callback by the SearchCallback class.
  • Replaced the AutosuggestEngine.Callback with the the SuggestCallback class.
  • Removed the following classes and their functionalities:
    • AutosuggestResultType
    • GeocodingResult
  • Removed the AutosuggestResult class. Its functionalities have now been moved to the Suggestion class.
  • Removed the field textformat from the SearchOptions class.
  • Removed the function SearchOptions.getDefaultOptions().
  • Removed the following constructors from the SearchEngine:
    • SearchEngine(SearchOptions defaultOptions).
    • SearchEngine(SDKNativeEngine engine, SearchOptions defaultOptions).
  • Removed the BicycleOptions from the transport mode options for route calculation.
  • OptimizationMode.SHORTEST is no longer supported and now automatically converted to OptimizationMode.FASTEST for the transport mode option TransportMode.PEDESTRIAN.

Deprecated

  • Deprecated the GeoCoordinates(double latitude, double longitude, float altitude) constructor. Use the GeoCoordinates(double latitude, double longitude, double altitude) constructor instead.
  • Deprecated the method MapViewLite.pickMapItems(Point2D viewCoordinates, Float radius,PickMapItemsCallback callback). Use the MapViewLite.pickMapItems(Point2D viewCoordinates, double radius,PickMapItemsCallback callback) instead.
  • Deprecated the GeoCircle() constructor that accepts type float for the radius parameter. Use the GeoCircle() constructor that accepts type double for the radius parameter instead.

Resolved Issues

  • Fixed: Engines will not operate when the time of the device is incorrect. Now, the timestamp of the device is authenticated to enable the engines to operate.

Known Issues

  • SearchEngine: Place.getId() is empty for reverse geocoding results.
  • AvoidanceOptions will be ignored when calculating truck routes.

Version 4.2.2.0

New Features

  • Added a TileServerProvider interface that allows to provide a custom implementation to generate dynamic URLs for a RasterLayer. This can be useful to set different raster layer sources based on the region in the world. Added SimpleTileServerProvider as a convenience implementation that sets a static tile URL provider.

API Changes

  • Changed constructor for RasterLayer to allow setting a TileServerProvider (see above).

Known Issues

  • Engines will not operate when the device's time is wrong. Also, the map will not be able to show any (vector) tiles.

Deprecated

  • The method Camera.getBoundingRect() is deprecated. Use the newly introduced method Camera.getBoundingBox() instead.

Version 4.2.1.0

New Features

  • Added Camera.orbitBy(@NonNull Camera.OrientationUpdate delta, @NonNull Point2D origin) to orbit the camera around a specified point.
  • Added Camera.zoomBy( double factor, @NonNull Point2D origin) to zoom the camera around a specified point relative to the given factor.
  • Added Authentication API to obtain a valid token that can be used to initiate queries to HERE REST APIs.

API Changes

  • Replaced enum type RoadType.STREET with RoadType.RURAL and RoadType.URBAN.

Known Issues

  • Engines will not operate when the device's time is wrong. Also, the map will not be able to show any (vector) tiles.

Version 4.2.0.0

New Features

  • Added the HERE logo watermark placement functionality with the enum WatermarkPlacement and method MapViewLite.setWatermarkPosition(WatermarkPlacement placement, int bottomCenterMargin).

API Changes

  • Removed the BALANCED identifier from the OptimizationMode enum for route calculation.
  • Renamed RouteLeg to Section
  • Renamed Route.getLegs() to Route.getSections().
  • Renamed RouteProgress.routeLegIndex to RouteProgress.sectionIndex.
  • Renamed member geoBox to boundingBox in the following data structures:
    • SearchResult.geoBox to SearchResult.boundingBox.
    • AutosuggestResult.geoBox to AutosuggestResult.boundingBox.
    • GeocodingResult.geoBox to GeocodingResult.boundingBox.
    • OpenSearchEngine.Result.geoBox to OpenSearchEngine.Result.boundingBox.
    • OpenGeocodingEngine.Result.geoBox to OpenGeocodingEngine.Result.boundingBox.
  • Renamed SearchResult.geoCoordinates to SearchResult.coordinates.
  • Changed callbacks to nested types in the following methods:
    • SearchEngine:
      • SearchEngine.search(GeoCoordinates coordinates, String query, SearchOptions options, SearchCallback callback) to SearchEngine.search(GeoCoordinates coordinates, String query, SearchOptions options, SearchEngine.Callback callback).
    • AutosuggestEngine:
      • AutosuggestEngine.suggest(GeoCoordinates coordinates, String query, AutosuggestOptions options, AutosuggestCallback callback) to AutosuggestEngine.suggest(GeoCoordinates coordinates, String query, AutosuggestOptions options, AutosuggestEngine.Callback callback).
    • ReverseGeocodingEngine:
      • ReverseGeocodingEngine.searchAddress(GeoCoordinates coordinates, String query, ReverseGeocodingOptions options, ReverseGeocodingCallback callback) to ReverseGeocodingEngine.searchAddress(GeoCoordinates coordinates, String query, ReverseGeocodingOptions options, ReverseGeocodingEngine.Callback callback).
    • GeocodingEngine:
      • GeocodingEngine.searchLocations(GeoCoordinates coordinates, String query, GeocodingOptions options, GeocodingCallback callback) to GeocodingEngine.searchLocations(GeoCoordinates coordinates, String query, GeocodingOptions options, GeocodingEngine.Callback callback).
    • TrafficEngine:
      • TrafficEngine.queryForIncidents(GeoBox boxArea, IncidentQueryOptions options, QueryForIncidentsCallback callback) to TrafficEngine.queryForIncidents(GeoBox boxArea, IncidentQueryOptions options, TrafficEngine.Callback callback).

Resolved Issues

  • Fixed issue with incorrect pixel width set for rendering a MapPolyline on the map. Now, a MapPolyline can have its stroke width set to physical pixels.

Known Issues

  • Engines will not operate when the device's time is wrong. Also, the map will not be able to show any (vector) tiles.

Version 4.1.6.0

New Features

  • Added the new fields mainLanguageCode and fallbackLanguageCode to specify the desired map language via MapSceneConfig when loading a map scene.
  • Added a Color class that encapsulates common color values.
  • Added Route.getTrafficDelayInSeconds() and RouteLeg.getTrafficDelayInSeconds().

API Changes

  • Custom route options moved to CustomRoutingEngine as nested types:
    • CustomCarOptions moved to CustomRoutingEngine.CarOptions.
    • CustomBicycleOptions moved to CustomRoutingEngine.BicycleOptions.
    • CustomPedestrianOptions moved to CustomRoutingEngine.PedestrianOptions.
    • CustomTruckOptions moved to CustomRoutingEngine.TruckOptions.
    • CustomTruckSpecifications moved to CustomRoutingEngine.TruckSpecifications.
  • MapCircle center latitude is now limited to the range [85S, 85N]. Map circle's radius can't exceed the range [89S, 89N] to prevent crossing a pole, otherwise it is clamped.
  • Changed types for Incident.startTimestamp, Incident.stopTimestamp and Incident.updateTimestamp from Long to Date.
  • Merged com.here.sdk.fleettelematics package into com.here.sdk.routing package.
  • Changed field coordinates to geoCoordinates in SearchResult.
  • Removed trafficMode option from RouteOptions. Traffic delay is now enabled by default.
  • Renamed Route.getShape() to Route.getPolyline().
  • Renamed RouteLeg.getShape() to RouteLeg.getPolyline().
  • Renamed Maneuver.getShape() to Maneuver.getPolyline().
  • Changed type for GeocodingOptions.maxItems from Long to Integer.
  • Changed the maximum possible number of route alternatives for the method RouteOptions.alternatives from 9 to 6.
  • Changed the draw order behavior for MapPolylines, MapCircles and MapPolygons. The draw order is now limited by 1000 to avoid conflicts with regular map data like labels or building footprints. The draw order should be mainly used to adjust the stack order of objects of the same type.
  • Renamed WaypointType.STOP_OVER to WaypointType.STOPOVER.
  • Renamed Route.getTravelTimeInSeconds() to Route.getDurationInSeconds() and changed the returned type from int to long. Same for RouteLeg.
  • Removed Route.getBaseTimeInSeconds() and Route.getTrafficTimeInSeconds(). Same for RouteLeg. Use Route.getTrafficDelayInSeconds() instead.

Resolved Issues

  • Fixed issue with map data not being localized. See the new fields added to MapSceneConfig above to set a LanguageCode.
  • Fixed issue with error handling when loading custom map styles. Now, loading a map returns an invalid scene error if the YAML file passed does not exist and is incorrect.
  • Fixed issue with traffic flow missing at a specific zoom level. Now, traffic flow is displayed at all zoom levels.

Version 4.1.5.0

New Features

  • Added support for AndroidX. Apps can still be developed using API level 21 and support library.
  • Added kinetic panning to the map ('slippy map'). The map will now smoothly animate along the last direction after a user stops panning. It can be disabled together with the pan gesture.
  • PanGestureHandler.onPan() is now called with GestureState.CANCEL for the first touch after GestureState.END to stop any kinetic movement that is still in progress.
  • Added Maneuver.getRoadNumber() and Maneuver.getNextRoadNumber() to get the current road number and the next road number.

API Changes

  • Removed option NOT_IMPLEMENTED_YET from EngineInstantiationErrorCode enum.
  • Renamed EngineInstantiationErrorCode enum to InstantiationErrorCode.
  • Renamed EngineInstantiationException to InstantiationErrorException.
  • Renamed Location.timestampInMilliseconds to Location.timestamp.
  • Changed type Location.timestamp from Long to Date.
  • Removed field MapMatchedWaypoint.mapMatchedRoadName.
  • Changed dependency support library to AndroidX.
  • Route options moved to RoutingEngine as nested types:
    • CarOptions moved to RoutingEngine.CarOptions.
    • BicycleOptions moved to RoutingEngine.BicycleOptions.
    • PedestrianOptions moved to RoutingEngine.PedestrianOptions.
    • TruckOptions moved to RoutingEngine.TruckOptions.
    • TruckSpecifications moved to RoutingEngine.TruckSpecifications.

Known Issues

  • Map data may not be localized based on the device's language.

Version 4.1.4.0

Highlights

  • Added new tutorials to the Developer's Guide that show how to implement smooth Move-To-XY animations and animated map gestures for zoom in/out and kinetic panning.

New Features

  • Added Maneuver.getRoadName() and Maneuver.getNextRoadName() to get the current road name and the next road name.
  • Added the method CameraLimits.getMaxTiltForZoomLevel() for checking the tilt limit at a specific zoom level. The maximum tilt depends on the current zoom level; setting a new zoom level will potentially change the tilt angle.

API Changes

  • Renamed Instruction to Maneuver.
  • Renamed RouteTextOptions.languages to RouteTextOptions.language as it accepts not more than one language.
  • Moved Route.getTransportMode() to RouteLeg.getTransportMode().
  • Moved com.here.sdk.search.Address to com.here.sdk.searchcommon.Address.
  • Moved com.here.sdk.mapviewlite.LoadSceneCallback to com.here.sdk.mapviewlite.MapScene class.
  • Renamed SceneError to ErrorCode and moved to com.here.sdk.mapviewlite.MapScene class.
  • Renamed CameraLimitsErrorCode to ErrorCode and moved to com.here.sdk.mapviewlite.CameraLimits class.
  • Removed the constant CameraLimits.MAX_TILT.

Known Issues

  • Map data may not be localized based on the device's language.

Version 4.1.3.0

This release is mainly focused on stabilization of existing features, bug fixes and overall performance improvements.

Known Issues

  • Map data may not be localized based on the device's language.

Resolved Issues

  • The draw order for raster tile layers now works relatively to other raster tile layers.
  • Fixed visibility issues for flat map markers.
  • Fixed outlines for map circles.

Version 4.1.2.0

New Features

  • The SearchEngine can now be used to search for categories like 'restaurants' by setting a list of CategoryId values.

API Changes

  • Moved all classes from com.here.sdk.mapviewlite.gestures package to com.here.sdk.gestures.
  • Renamed SearchItem to SearchResult.
  • Removed the field SearchResult.href.
  • Renamed the members:
    • AutosuggestResult.boundingRect to AutosuggestResult.geoBox.
    • GeocodingResult.boundingRect to GeocodingResult.geoBox.
    • SearchResult.boundingBox to SearchResult.geoBox.
  • Renamed the members:
    • AutosuggestResult.geoCoordinates to AutosuggestResult.coordinates.
    • GeocodingResult.geoCoordinates to GeocodingResult.coordinates.

Version 4.1.1.0

New Features

  • SearchEngine can now be used to search within a bounding rect for categories by setting a list of CategoryId values.
  • AutosuggestEngine:
    • Added the option to search within a GeoCircle.
    • Added the possibility to request specific types (place, address and/or query) via AutosuggestResultType that can be set for the AutosuggestOptions.
    • Added TaskHandle as a return value when calling AutosuggestEngine.suggest(...) to cancel an ongoing call.

API Changes

  • Changed SearchOptions to AutosuggestOptions when consumed by AutosuggestEngine.
  • Renamed SearchItemCategory to SearchCategory.
  • Changed type SearchCategory from enum to class. SearchCategory now contains the following fields:
    • id (String, required): A unique category identifier. This contains the previous enum values as String.
    • iconLink (String, optional): A web link to the category icon.
    • localizedName (String, required): A localized name describing the category.
  • Removed Instruction.Direction because this information is already available inside Instruction.action.
  • Changed Instruction.Action to ManeuverAction.
  • Renamed the method maneuverInstruction.getAction() to maneuverInstruction.action.
  • Renamed the method maneuverInstruction.getCoordinates() to maneuverInstruction.coordinates.
  • Renamed GeoBoundingRect to GeoBox.

Resolved Issues

  • Fixed: A device orientation change on a MapView may cause a crash on some devices.
  • Fixed: Changing visibility for a MapMarker instance may result in a runtime exception.

Version 4.1.0.0

New Features

  • Added bounding box search for auto suggestions.
  • Added an empty MapStyle that, for example, can be used together with opaque custom raster tile layers.
  • Added the following error values HTTP_ERROR, SERVER_UNREACHABLE and INVALID_PARAMETER to extend error handling for Search, Autosuggest, Geocoding and ReverseGeocoding.

API Changes

  • Renamed PlaceAutosuggestResult to AutosuggestResult.
  • Renamed EngineInstantiationErrorException to EngineInstantiationException.
  • Renamed CameraLimitsErrorException to CameraLimitsException.
  • Unified the error type for SearchEngine, AutosuggestEngine, GeocodingEngine and ReverseGeocodingEngine to be of type SearchError.
  • MapScene.setLayerState is executed immediately now, it no longer takes a callback as an argument, but instead throws an error exception.

Known Issues

  • A device orientation change on a MapView may cause a crash on some devices.
  • Changing visibility for a MapMarker instance may result in a runtime exception.

Resolved Issues

  • Fixed: Map polylines may disappear at certain zoom levels when zooming.
  • Fixed: Parts of the horizontal and vertical lines of a polygon outline may not be drawn perfectly under certain conditions.

Deprecated

  • The methods CameraLimits.setMinBearing(), CameraLimits.setMaxBearing(), CameraLimits.getMinBearing() and CameraLimits.getMaxBearing() are deprecated. Use the newly introduced class AngleRange instead.

results matching ""

    No results matching ""