You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,9 @@
1
+
## 1.0.0
2
+
3
+
- Migrate to null safety
4
+
- Internalising geohash to make it null safety compatible
5
+
- Temporary : remove `google_maps_flutter_web` because it needs a reorganization of the project to work correctly (& it's not null safety compatible for the moment)
6
+
1
7
## 0.3.0
2
8
3
9
- Add `google_maps_flutter_web` dependency to be compatible with Flutter web
Copy file name to clipboardExpand all lines: README.md
+3-132
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ To start with Cluster Manager, you have to initialize a `ClusterManager` instanc
24
24
ClusterManager<Place>(
25
25
_items, // Your items to be clustered on the map (of Place type for this example)
26
26
_updateMarkers, // Method to be called when markers are updated
27
-
markerBuilder: _markerBuilder, // Optional : Method to implement if you want to customise markers
27
+
markerBuilder: _markerBuilder, // Optional : Method to implement if you want to customize markers
28
28
levels: [1, 4.25, 6.75, 8.25, 11.5, 14.5, 16.0, 16.5, 20.0], // Optional : Configure this if you want to change zoom levels at which the clustering precision change
29
29
extraPercent: 0.2, // Optional : This number represents the percentage (0.2 for 20%) of latitude and longitude (in each direction) to be considered on top of the visible map bounds to render clusters. This way, clusters don't "pop out" when you cross the map.
30
30
initialZoom: 5.0, // Optional : The initial zoom of your map to be able to render good clusters on map creation
@@ -34,7 +34,7 @@ ClusterManager<Place>(
34
34
35
35
You are able to add an new item to the map by calling `addItem` method on your `ClusterManager` instance. You can also completely change the items on your maps by calling `setItems` method.
36
36
37
-
You can customise the icon of a cluster by using `Future<Marker> Function(Cluster<T>) markerBuilder` parameter.
37
+
You can customize the icon of a cluster by using `Future<Marker> Function(Cluster<T>) markerBuilder` parameter.
38
38
39
39
```dart
40
40
static Future<Marker> Function(Cluster) get markerBuilder => (cluster) async {
0 commit comments