File tree 3 files changed +9
-3
lines changed
3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change
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
1
4
### 1.2.0:
2
5
* Create new widget ` OSMViewer ` as static map
3
6
* Add ` SimpleMapController ` as controller to manipulate ` OSMViewer `
Original file line number Diff line number Diff line change 4
4
5
5
# flutter_osm_plugin
6
6
7
- ![ pub] ( https://img.shields.io/badge/pub-v1.2 .0-blue )
7
+ ![ pub] ( https://img.shields.io/badge/pub-v1.3 .0-blue )
8
8
9
9
10
10
## Platform Support
25
25
* set BoundingBox (Android/iOS/Web)
26
26
* zoom into region (Android/iOS/web)
27
27
* draw Road (Android/iOS/web)
28
+ * draw dotted Road (Android/iOS/web)
28
29
* recuperate information (instruction/duration/distance) of the current road (Android/iOS/web)
29
30
* draw Road manually (Android/iOS/web)
30
31
* draw multiple Roads (Android/iOS/web)
50
51
Add the following to your ` pubspec.yaml ` file:
51
52
52
53
dependencies:
53
- flutter_osm_plugin: ^1.1 .0
54
+ flutter_osm_plugin: ^1.3 .0
54
55
55
56
56
57
@@ -491,7 +492,9 @@ await controller.setMarkerIcon(GeoPoint,MarkerIcon);
491
492
| ` roadBorderColor ` | (Color?) set color of border polyline |
492
493
| ` roadBorderWidth ` | (double?) set border width of polyline, if width null or 0,polyline will drawed without border |
493
494
| ` zoomInto ` | (bool) change zoom level to make the all the road visible (default: true ) |
495
+ | ` isDotted ` | (bool) to draw dotted polyline (default: false) |
494
496
497
+ ** Note** drawing dotted polyline has limitation on web where we cannot draw dotted poyline with borderWidth > 0
495
498
496
499
<b > 16.b) draw road manually </b >
497
500
``` dart
Original file line number Diff line number Diff line change 1
1
name : flutter_osm_plugin
2
2
description : OpenStreetMap Plugin Native for flutter apps (Andoird/iOS/web)
3
- version : 1.2 .0
3
+ version : 1.3 .0
4
4
5
5
6
6
homepage : https://github.com/liodali/osm_flutter
You can’t perform that action at this time.
0 commit comments