Package slash.navigation.maps.mapsforge
Class MapsforgeMapManager
java.lang.Object
slash.navigation.maps.mapsforge.MapsforgeMapManager
Manages
LocalMaps and LocalThemes- Author:
- Christian Pesch
-
Constructor Summary
ConstructorsConstructorDescriptionMapsforgeMapManager(DataSourceManager dataSourceManager, TileServerMapManager tileServerMapManager) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoiddispose()voidqueueForDownload(List<? extends RemoteResource> resources) voidvoidscanMaps()voidvoidsetMapsPath(String path) voidsetThemePath(String path) voidsetThemeStyles(List<ThemeStyle> themeStyles, String preferredThemeStyleUrl)
-
Constructor Details
-
Method Details
-
clearThemeStyles
public void clearThemeStyles() -
setThemeStyles
-
dispose
public void dispose() -
getAvailableMapsModel
-
getAvailableOnlineMapsModel
-
getAvailableOfflineMapsModel
-
getDownloadableMapsModel
-
getDisplayedMapModel
-
getAvailableThemesModel
-
getDownloadableThemesModel
-
getAvailableThemeStylesModel
-
getAvailableThemeStyleCategoriesModel
-
getAppliedThemeModel
-
getAppliedThemeStyleModel
-
getMapsPath
-
setMapsPath
-
getThemePath
-
setThemePath
-
getMapsDirectory
-
getThemesDirectory
-
scanMaps
- Throws:
IOException
-
scanThemes
- Throws:
IOException
-
scanDataSources
public void scanDataSources() -
queueForDownload
-
delete
- Throws:
IOException
-