Skip to content

Commit

Permalink
publish: 1.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
liodali committed Oct 20, 2024
1 parent 36a9fba commit a05ae96
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 33 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## 1.4.1: update dependencies
## 1.4.0:
## 1.3.0: add useMapListener
## 1.2.0: add customTile to useMapController
## 1.1.1: add code documentation
Expand Down
12 changes: 1 addition & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## OSM_FLUTTER_HOOKS
![pub](https://img.shields.io/badge/pub-v1.4.0-blue)
![pub](https://img.shields.io/badge/pub-v1.4.1-blue)

## Features

Expand Down Expand Up @@ -39,16 +39,6 @@ class SimpleOSM extends HookWidget {
});
return OSMFlutter(
controller: controller,
markerOption: MarkerOption(
defaultMarker: MarkerIcon(
icon: Icon(
Icons.person_pin_circle,
color: Colors.blue,
size: 56,
),
),
),
trackMyPosition: false,
);
}
}
Expand Down
31 changes: 13 additions & 18 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -70,26 +70,21 @@ class SimpleOSM extends HookWidget {
});
return OSMFlutter(
controller: controller,
initZoom: 10,
markerOption: MarkerOption(
defaultMarker: const MarkerIcon(
icon: Icon(
Icons.person_pin_circle,
color: Colors.blue,
size: 56,
),
osmOption: OSMOption(
zoomOption: const ZoomOption(
initZoom: 10,
),
),
userLocationMarker: UserLocationMaker(
personMarker: const MarkerIcon(
icon: Icon(
Icons.person,
size: 48,
color: Colors.red,
userLocationMarker: UserLocationMaker(
personMarker: const MarkerIcon(
icon: Icon(
Icons.person,
size: 48,
color: Colors.red,
),
),
directionArrowMarker: const MarkerIcon(
icon: Icon(Icons.person),
),
),
directionArrowMarker: const MarkerIcon(
icon: Icon(Icons.person),
),
),
);
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ environment:
dependencies:
flutter:
sdk: flutter
flutter_hooks: ^0.18.5+1
flutter_hooks: '>=0.20.5'
flutter_osm_plugin: ">=0.54.2"
osm_flutter_hooks:
path: ../
Expand Down
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: osm_flutter_hooks
description: this Package extension to add support manage hook state with osm_flutter
version: 1.4.0
version: 1.4.1
homepage: https://github.com/liodali/osm_flutter_hooks

environment:
Expand All @@ -10,8 +10,8 @@ environment:
dependencies:
flutter:
sdk: flutter
flutter_hooks: ^0.18.5+1
flutter_osm_plugin: '>=0.55.1'
flutter_hooks: '>=0.20.5'
flutter_osm_plugin: '>=1.3.4'


dev_dependencies:
Expand Down

0 comments on commit a05ae96

Please sign in to comment.