Skip to content

21.3

Links to the API Reference can be found here

21.3.0 (2022-11-02)

Features

  • Map: Add marker collisions flags to platform interfaces

    Imagine that you create a route, add it to the map, add MapMarkers for start/end waypoints and/or other waypoints. Then you want to add MapSmartLabels to show the duration and distance of a route. By default, the markers would have been on top of the MapSmartLabels, rendering them unreadable. Since now, you can set, if the MapMarkers should or should not collide with other objects. You can set if the MapMarker's image should collide with MapSmartLabel objects using the setCollisions method. You can set if the MapMarker's label should collide with MapSmartLabel objects using the setLabelCollisions method. The MapSmartLabels should jump away from the MapMarker when setting it to true.

  • Position: Add option to set maximum polyline matching distance

    If by any chance you are using a custom implementation of online routing, you can now adjust the maximum matching distance of the resulting polyline onto the map. You can do that via the JSON Configuration. The default value is 8 (meters).

"Position": {
  "Matching" : {
    "max_diff_distance_meters" : 8
  }
},