diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-04-06 16:14:53 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-04-06 16:14:53 +0000 |
| commit | 49f1a77fd6365a396ab45e3dbc7456bdb3335078 (patch) | |
| tree | 4e590130c836ff0fa6794f1e9e5625d701207edc /android-app/app/src/main/kotlin/org | |
| parent | 67d9535148c055adac6f7a90f308205d669a423e (diff) | |
feat(map): switch wind layer to OpenWeatherMap wind_new tiles
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'android-app/app/src/main/kotlin/org')
| -rw-r--r-- | android-app/app/src/main/kotlin/org/terst/nav/MainActivity.kt | 8 |
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 { |
