Skip to content

Commit 3e55b94

Browse files
committed
publish: 1.3.0
1 parent 7d17203 commit 3e55b94

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
### 1.3.0:
2+
* add new attribute `isDotted` to `RoadOption` to draw dotted line
3+
* fix bug related to draw shapes in mobile side
14
### 1.2.0:
25
* Create new widget `OSMViewer` as static map
36
* Add `SimpleMapController` as controller to manipulate `OSMViewer`

README.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
# flutter_osm_plugin
66

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

99

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

5253
dependencies:
53-
flutter_osm_plugin: ^1.1.0
54+
flutter_osm_plugin: ^1.3.0
5455

5556

5657

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

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

496499
<b> 16.b) draw road manually </b>
497500
```dart

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_osm_plugin
22
description: OpenStreetMap Plugin Native for flutter apps (Andoird/iOS/web)
3-
version: 1.2.0
3+
version: 1.3.0
44

55

66
homepage: https://github.com/liodali/osm_flutter

0 commit comments

Comments
 (0)