Skip to content

Commit

Permalink
publish: 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
liodali committed Sep 8, 2024
1 parent 7d17203 commit 3e55b94
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### 1.3.0:
* add new attribute `isDotted` to `RoadOption` to draw dotted line
* fix bug related to draw shapes in mobile side
### 1.2.0:
* Create new widget `OSMViewer` as static map
* Add `SimpleMapController` as controller to manipulate `OSMViewer`
Expand Down
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# flutter_osm_plugin

![pub](https://img.shields.io/badge/pub-v1.2.0-blue)
![pub](https://img.shields.io/badge/pub-v1.3.0-blue)


## Platform Support
Expand All @@ -25,6 +25,7 @@
* set BoundingBox (Android/iOS/Web)
* zoom into region (Android/iOS/web)
* draw Road (Android/iOS/web)
* draw dotted Road (Android/iOS/web)
* recuperate information (instruction/duration/distance) of the current road (Android/iOS/web)
* draw Road manually (Android/iOS/web)
* draw multiple Roads (Android/iOS/web)
Expand All @@ -50,7 +51,7 @@
Add the following to your `pubspec.yaml` file:

dependencies:
flutter_osm_plugin: ^1.1.0
flutter_osm_plugin: ^1.3.0



Expand Down Expand Up @@ -491,7 +492,9 @@ await controller.setMarkerIcon(GeoPoint,MarkerIcon);
| `roadBorderColor` | (Color?) set color of border polyline |
| `roadBorderWidth` | (double?) set border width of polyline, if width null or 0,polyline will drawed without border |
| `zoomInto` | (bool) change zoom level to make the all the road visible (default:true) |
| `isDotted` | (bool) to draw dotted polyline (default: false) |

**Note** drawing dotted polyline has limitation on web where we cannot draw dotted poyline with borderWidth > 0

<b> 16.b) draw road manually </b>
```dart
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_osm_plugin
description: OpenStreetMap Plugin Native for flutter apps (Andoird/iOS/web)
version: 1.2.0
version: 1.3.0


homepage: https://github.com/liodali/osm_flutter
Expand Down

0 comments on commit 3e55b94

Please sign in to comment.