Skip to content

Commit

Permalink
Publish version 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lpongetti committed Mar 15, 2023
1 parent 878730b commit e8e5a91
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 9 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [1.1.0] - 15/03/2023

- Merge pull request #159 from ignatz/null-safe_latlngbounds
- Merge pull request #156 from abdulmeLINK/master
- Merge pull request #154 from philipgiuliani/patch-1
- Merge pull request #152 from ignatz/master

## [1.0.2] - 10/02/2023

- Merge pull request #148 from ignatz/fast_traversal
Expand Down
3 changes: 0 additions & 3 deletions lib/flutter_map_marker_cluster.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,4 @@ export 'src/marker_cluster_layer_options.dart';

export 'package:flutter_map_marker_popup/flutter_map_marker_popup.dart';

export 'src/marker_cluster_layer.dart';
export 'src/marker_cluster_layer_options.dart';
export 'src/marker_cluster_layer_widget.dart';
export 'src/node/marker_cluster_node.dart';
2 changes: 1 addition & 1 deletion lib/src/marker_cluster_layer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ LatLngBounds _extendBounds(LatLngBounds bounds, double stickonFactor) {
final sw = bounds.southWest;
final ne = bounds.northEast;
final height = (sw!.latitude - ne!.latitude).abs() * stickonFactor;
final width = (sw!.longitude - ne!.longitude).abs() * stickonFactor;
final width = (sw.longitude - ne.longitude).abs() * stickonFactor;

// Clamp rather than wrap around. This function is used in the context of
// drawing things onto a map. Since the map renderer does't wrap maps itself,
Expand Down
4 changes: 2 additions & 2 deletions lib/src/translate.dart
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ abstract class Translate {
MarkerClusterNode clusterNode, {
LatLng? customPoint,
}) {
final pos = mapCalculator.getPixelFromPoint(
customPoint ?? clusterNode.bounds.center);
final pos = mapCalculator
.getPixelFromPoint(customPoint ?? clusterNode.bounds.center);

final calculatedSize = clusterNode.size();
final anchor = Anchor.forPos(
Expand Down
4 changes: 2 additions & 2 deletions makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
can_publish:
flutter upgrade && flutter format --fix ./ && flutter analyze ./ && flutter test
flutter upgrade && dart format --fix ./ && flutter analyze ./ && flutter test

publish:
flutter upgrade && flutter format --fix ./ && flutter analyze ./ && flutter test && flutter pub pub publish
flutter upgrade && dart format --fix ./ && flutter analyze ./ && flutter test && flutter pub pub publish
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: flutter_map_marker_cluster
description: A Dart implementation of Leaflet.makercluster for Flutter apps.
Provides beautiful animated marker clustering functionality for flutter_map.
version: 1.0.2
version: 1.1.0

homepage: https://github.com/lpongetti/flutter_map_marker_cluster

Expand Down

0 comments on commit e8e5a91

Please sign in to comment.