File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed
openmapview/src/main/kotlin/de/afarber/openmapview Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -826,13 +826,6 @@ class MapController(
826826 onTileLoadedCallback = callback
827827 }
828828
829- /* *
830- * Returns whether tiles are currently being downloaded.
831- *
832- * @return true if any tiles are actively downloading, false otherwise
833- */
834- fun isDownloadingTiles (): Boolean = downloadingTiles.isNotEmpty()
835-
836829 /* *
837830 * Updates the temporary pan offset during a drag gesture.
838831 *
Original file line number Diff line number Diff line change @@ -105,6 +105,7 @@ class OpenMapView
105105 controller.setOnTileLoadedCallback {
106106 invalidate()
107107 }
108+ attributionOverlay.isGlowEnabled = uiSettings.isAttributionGlowEnabled
108109 }
109110
110111 override fun dispatchDraw (canvas : Canvas ) {
@@ -113,7 +114,7 @@ class OpenMapView
113114 if (uiSettings.isZoomControlsEnabled) {
114115 zoomControlsOverlay.draw(canvas, width, height)
115116 }
116- attributionOverlay.isGlowEnabled = uiSettings.isAttributionGlowEnabled && controller.isDownloadingTiles()
117+ attributionOverlay.isGlowEnabled = uiSettings.isAttributionGlowEnabled
117118 attributionOverlay.draw(canvas, width, height)
118119 }
119120
You can’t perform that action at this time.
0 commit comments