setTileSource in onViewCreated

This commit is contained in:
andrekir
2022-09-03 07:39:37 -03:00
parent e90b856524
commit 7c2e20c2fd

View File

@@ -66,7 +66,7 @@ class MapFragment : ScreenFragment("Map"), Logging {
mPrefs = context!!.getSharedPreferences(prefsName, Context.MODE_PRIVATE)
setupMapProperties()
loadOnlineTileSourceBase()
map.setTileSource(loadOnlineTileSourceBase())
map.let {
if (view != null) {
mapController = map.controller