summaryrefslogtreecommitdiff
path: root/android-app/app
diff options
context:
space:
mode:
Diffstat (limited to 'android-app/app')
-rw-r--r--android-app/app/src/main/kotlin/org/terst/nav/MainActivity.kt8
1 files changed, 4 insertions, 4 deletions
diff --git a/android-app/app/src/main/kotlin/org/terst/nav/MainActivity.kt b/android-app/app/src/main/kotlin/org/terst/nav/MainActivity.kt
index d695c1a..06c45ca 100644
--- a/android-app/app/src/main/kotlin/org/terst/nav/MainActivity.kt
+++ b/android-app/app/src/main/kotlin/org/terst/nav/MainActivity.kt
@@ -287,10 +287,10 @@ class MainActivity : AppCompatActivity(), SafetyFragment.SafetyListener {
.withSource(RasterSource("satellite-source",
TileSet("2.2.0", "https://mt1.google.com/vt/lyrs=s&x={x}&y={y}&z={z}"), 256))
.withLayer(RasterLayer("satellite-layer", "satellite-source"))
- .withSource(RasterSource("windy-source",
- TileSet("2.2.0", "https://tiles.windy.com/tiles/v2.2/gfs/wind/{z}/{x}/{y}.png?key=EJOu4XMxnFU8mTgf8vLXtudNFzRdoJQE"), 256))
- .withLayer(RasterLayer("windy-layer", "windy-source").apply {
- setProperties(PropertyFactory.rasterOpacity(0.5f))
+ .withSource(RasterSource("wind-source",
+ TileSet("2.2.0", "https://tile.openweathermap.org/map/wind_new/{z}/{x}/{y}.png?appid=ae2a038149aa0900d1bc74160aa2a37e"), 256))
+ .withLayer(RasterLayer("wind-layer", "wind-source").apply {
+ setProperties(PropertyFactory.rasterOpacity(0.6f))
})
.withSource(RasterSource("openseamap-source",
TileSet("2.2.0", "https://tiles.openseamap.org/seamark/{z}/{x}/{y}.png").also {