From 7ee44aa8d1087c2d7db6a78ba7a3f1c005d95ce5 Mon Sep 17 00:00:00 2001 From: liodali <16631886+liodali@users.noreply.github.com> Date: Sun, 7 Jul 2024 11:54:41 +0200 Subject: [PATCH] publish : 1.1.0 --- CHANGELOG.md | 4 ++++ README.md | 6 ++++-- pubspec.yaml | 11 +++++++---- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e9e9043..b017a33a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +### 1.1.6: +* fix bug in drawMultiRoad #530 +* improve customTile where we added the support for full url +* improve lints ### 1.0.5: * remove unnecessary internal APIs * fix lastknownLocation in android diff --git a/README.md b/README.md index e5dc98bc..99b6db77 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ # flutter_osm_plugin -![pub](https://img.shields.io/badge/pub-v1.0.5-blue) +![pub](https://img.shields.io/badge/pub-v1.1.0-blue) ## Platform Support @@ -50,7 +50,7 @@ Add the following to your `pubspec.yaml` file: dependencies: - flutter_osm_plugin: ^1.0.5 + flutter_osm_plugin: ^1.1.0 @@ -232,6 +232,7 @@ controller = MapController.customLayer( maxZoomLevel: 19, urlsServers: [ TileURLs( + //"https://tile.opentopomap.org/{z}/{x}/{y}" url: "https://tile.opentopomap.org/", subdomains: [], ) @@ -245,6 +246,7 @@ controller = MapController.customLayer( * also,you can use our predefined custom tiles like * `cyclOSMLayer` constructor for cycling tiles * `publicTransportationLayer` constructor for transport tiles ,it's public osm server +* we support full server path like `("https://tile.opentopomap.org/{z}/{x}/{y}")` For more example see our example in `home_example.dart`
diff --git a/pubspec.yaml b/pubspec.yaml index ee22e7f9..47d9f90b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_osm_plugin description: OpenStreetMap Plugin Native for flutter apps (Andoird/iOS/web) -version: 1.0.5 +version: 1.1.0 homepage: https://github.com/liodali/osm_flutter @@ -15,12 +15,15 @@ dependencies: plugin_platform_interface: ^2.1.2 flutter_plugin_android_lifecycle: ^2.0.17 permission_handler: ^11.0.1 - url_launcher: ^6.2.1 + url_launcher: ^6.3.0 dio: ^5.3.3 uuid: ^4.2.1 - flutter_osm_interface: ^1.0.2 - flutter_osm_web: ^1.0.3 + flutter_osm_interface: #^1.0.2 + path: ./flutter_osm_interface/ + flutter_osm_web: #^1.0.3 + path: ./flutter_osm_web/ dev_dependencies: + flutter_lints: ^4.0.0 flutter_test: sdk: flutter