Class MapManager


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

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void destroy()  
      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 Detail

      • MapManager

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

      • 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.