android:apiNames.nativeMaps Release notes | Urbi Documentation

Release notes

Release Date: 27.05.2021

  • Added Map.fitBounds that moves the map so that the specified area becomes visible.
  • Added ImageFactory.fromUrl for creating Image from HTTP URL.
  • Added LonLatBounds.extend that extend the bounds to include given points.
  • Added Map.floorPlan for getting information about the current floor plan.
  • Added Map.padding that is taken into account when positioning the map.
  • Added Map.setStyleState, Map.patchStyleState for specifying style-specific variables.
  • Added Map.isSupported, Map.notSupportedReason to check if the device supports the SDK.
  • Added Map.language for specifying the map language.
  • The 2GIS site opens when clicking the copyright.
  • Removed deprecated MarkerIconDescriptor. Use Image instead.

Release Date: 22.12.2020

  • Added Map.setStyle method that allowed set custom map style ID, that you can get at
  • Added Map.styleZoom properties
  • Added MapFragment.setup arguments style, styleZoom, defaultBackgroundColor, maxBounds

Release Date: 18.11.2020

Release Date: 16.10.2020

  • Added autoHideOSMCopyright in Map option. If true, the OSM copyright will be hidden after 5 seconds from the map initialization.

Release Date: 13.10.2020

Release Date: 01.10.2020

Release Date: 21.09.2020

  • Added Map.bounds that returns geographical bounds visible in the current map view.
  • Added ImageFactory for loading icon image from assets, resources, Bitmap or local file
  • Added onFinish callback for Directions.carRoute that allow get successful or failed result on function call
  • Added stretched image background LabelImage that can be used in LabelOptions
  • Added method for showing user geolocation – enableUserLocation disableUserLocation

Release Date: 25.07.2020