Class MapManager

java.lang.Object
com.navmii.sdk.map.MapManager

public final class MapManager
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    MapManager​(geolife.android.navigationsystem.NavigationSystem navigationSystem)  
  • Method Summary

    Modifier and Type Method Description
    void destroy()  
    java.lang.Object GetCameraPositionForMapRectangle​(double minLon, double minLat, double maxLon, double maxLat, float heading, float tilt, int paddingTop, int paddingLeft, int paddingBottom, int paddingRight, float minZoomLevel)  
    boolean hasOfflineMapOfCountry​(java.lang.String countryIso3Code)
    Returns a boolean value indicating if the map of the specified country is loaded.
    boolean hasOfflineMapOfState​(java.lang.String stateCode)
    Returns a boolean value indicating if the map of the specified state is loaded.
    void setActiveMapView​(MapView mapView)
    Specifies the map view on which the map should be displayed.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MapManager

      public MapManager​(geolife.android.navigationsystem.NavigationSystem navigationSystem)
  • Method Details

    • destroy

      public void destroy()
    • hasOfflineMapOfCountry

      public boolean hasOfflineMapOfCountry​(java.lang.String countryIso3Code)
      Returns a boolean value indicating if the map of the specified country is loaded.
      Parameters:
      countryIso3Code - The ISO3 code of the country.
      Returns:
      true if the map is loaded, false otherwise.
    • hasOfflineMapOfState

      public boolean hasOfflineMapOfState​(java.lang.String stateCode)
      Returns a boolean value indicating if the map of the specified state is loaded.
      Parameters:
      stateCode - The code of the state.
      Returns:
      true if the map is loaded, false otherwise.
    • setActiveMapView

      public void setActiveMapView​(@Nullable MapView mapView)
      Specifies the map view on which the map should be displayed.
      Parameters:
      mapView - The map view.
    • GetCameraPositionForMapRectangle

      public java.lang.Object GetCameraPositionForMapRectangle​(double minLon, double minLat, double maxLon, double maxLat, float heading, float tilt, int paddingTop, int paddingLeft, int paddingBottom, int paddingRight, float minZoomLevel)