diff --git a/example/.metadata b/example/.metadata index 7b8b9e04e..fff87d5d9 100644 --- a/example/.metadata +++ b/example/.metadata @@ -4,7 +4,7 @@ # This file should be version controlled and should not be manually edited. version: - revision: "0b591f2c82e9f59276ed68c7d4cbd63196f7c865" + revision: "7c6b7e9ca485f7eaaed913c6bb50f4be6da47e30" channel: "beta" project_type: app @@ -13,11 +13,11 @@ project_type: app migration: platforms: - platform: root - create_revision: 0b591f2c82e9f59276ed68c7d4cbd63196f7c865 - base_revision: 0b591f2c82e9f59276ed68c7d4cbd63196f7c865 - - platform: android - create_revision: 0b591f2c82e9f59276ed68c7d4cbd63196f7c865 - base_revision: 0b591f2c82e9f59276ed68c7d4cbd63196f7c865 + create_revision: 7c6b7e9ca485f7eaaed913c6bb50f4be6da47e30 + base_revision: 7c6b7e9ca485f7eaaed913c6bb50f4be6da47e30 + - platform: web + create_revision: 7c6b7e9ca485f7eaaed913c6bb50f4be6da47e30 + base_revision: 7c6b7e9ca485f7eaaed913c6bb50f4be6da47e30 # User provided section diff --git a/example/lib/pages/wms_tile_layer.dart b/example/lib/pages/wms_tile_layer.dart index 484da0031..33e25f709 100644 --- a/example/lib/pages/wms_tile_layer.dart +++ b/example/lib/pages/wms_tile_layer.dart @@ -22,7 +22,7 @@ class WMSLayerPage extends StatelessWidget { children: [ TileLayer( wmsOptions: WMSTileLayerOptions( - baseUrl: 'https://{s}.s2maps-tiles.eu/wms/?', + baseUrl: 'https://tiles.maps.eox.at/wms?', layers: const ['s2cloudless-2021_3857'], ), subdomains: const ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h'], @@ -32,15 +32,90 @@ class WMSLayerPage extends StatelessWidget { popupInitialDisplayDuration: const Duration(seconds: 5), attributions: [ TextSourceAttribution( - 'Sentinel-2 cloudless - https://s2maps.eu by EOX IT Services GmbH', - onTap: () => launchUrl(Uri.parse('https://s2maps.eu')), + 'Sentinel-2 provided by the European Commission (free, full ' + 'and open access) [Sentinel-2 cloudless 2016, 2018, 2019, ' + '2020, 2021, 2022 & 2023]', + onTap: () => launchUrl(Uri.parse( + 'https://sentinel.esa.int/documents/247904/690755/Sentinel_Data_Legal_Notice', + )), + prependCopyright: false, + ), + TextSourceAttribution( + 'OpenStreetMap © OpenStreetMap contributors [Terrain Light, ' + 'Terrain, OpenStreetMap, Overlay]', + onTap: () => launchUrl(Uri.parse( + 'http://www.openstreetmap.org/copyright', + )), + prependCopyright: false, + ), + TextSourceAttribution( + 'NaturalEarth public domain [Terrain Light, Terrain, Overlay]', + onTap: () => launchUrl(Uri.parse( + 'http://www.naturalearthdata.com/about/terms-of-use/', + )), + prependCopyright: false, + ), + const TextSourceAttribution( + 'EUDEM © Produced using Copernicus data and information funded ' + 'by the European Union [Terrain]', + prependCopyright: false, + ), + TextSourceAttribution( + 'ASTER GDEM is a product of METI and NASA [Terrain Light]', + onTap: () => launchUrl(Uri.parse( + 'https://lpdaac.usgs.gov/products/aster_policies', + )), + prependCopyright: false, + ), + TextSourceAttribution( + 'SRTM © NASA [Terrain]', + onTap: () => launchUrl(Uri.parse('http://www.nasa.gov/')), + prependCopyright: false, + ), + TextSourceAttribution( + 'GTOPO30 Data available from the U.S. Geological Survey ' + '[Terrain Light, Terrain]', + onTap: () => launchUrl(Uri.parse( + 'https://lta.cr.usgs.gov/GTOPO30', + )), + prependCopyright: false, ), const TextSourceAttribution( - 'Modified Copernicus Sentinel data 2021', + 'CleanTOPO2 public domain [Terrain]', + prependCopyright: false, + ), + TextSourceAttribution( + 'GEBCO © GEBCO [Terrain Light]', + onTap: () => launchUrl(Uri.parse('http://www.gebco.net/')), + prependCopyright: false, + ), + TextSourceAttribution( + 'GlobCover © ESA [Terrain]', + onTap: () => launchUrl(Uri.parse( + 'http://due.esrin.esa.int/page_globcover.php', + )), + prependCopyright: false, + ), + const TextSourceAttribution( + "Blue Marble © NASA's Earth Observatory [Blue Marble]", + prependCopyright: false, + ), + const TextSourceAttribution( + "Black Marble © NASA's Earth Observatory [Black Marble]", + prependCopyright: false, + ), + TextSourceAttribution( + 'Rendering: © EOX [Terrain Light, Terrain, OpenStreetMap, ' + 'Overlay]', + onTap: () => launchUrl(Uri.parse('http://eox.at/')), + prependCopyright: false, ), TextSourceAttribution( - 'Rendering: EOX::Maps', - onTap: () => launchUrl(Uri.parse('https://maps.eox.at/')), + 'Rendering: © MapServer [OpenStreetMap, Overlay]', + onTap: () => launchUrl(Uri.parse( + 'https://github.com/mapserver/basemaps', + )), + prependCopyright: false, ), ], ), diff --git a/example/web/index.html b/example/web/index.html index 74938b05c..5fd73a2fc 100644 --- a/example/web/index.html +++ b/example/web/index.html @@ -2,7 +2,7 @@ - - - - - - - - - - - - - - - - - flutter_map Demo - - - - - + + + + + + + + + + + + + + + + flutter_map Demo + - + \ No newline at end of file diff --git a/example/web/manifest.json b/example/web/manifest.json index 7e15589a8..b970439d5 100644 --- a/example/web/manifest.json +++ b/example/web/manifest.json @@ -3,8 +3,8 @@ "short_name": "flutter_map", "start_url": ".", "display": "standalone", - "background_color": "#0175C2", - "theme_color": "#0175C2", + "background_color": "#8EEA88", + "theme_color": "#8EEA88", "description": "A versatile mapping package for Flutter, based off leaflet.js, that's simple and easy to learn, yet completely customizable and configurable.", "orientation": "portrait-primary", "prefer_related_applications": false,