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
feat!: migrate Point<double> to Offset internally (#1996)
* initial commit, started work, going well
* more insane progress, still going well
* compiler happy
* deprecate notices, only really needed because of bounds and tilecoordinates
* this definitely touches an externally accessible API:
mapController.camera.pointToLatLng
* dart format
* remove stuff
* more stuffffffffff
* oops
* fix tests
* use double.negativeInfinity no Offset.negitiveInfinity exists
* rename pointToLatLng to offsetToLatLng
* remove unused duplicate function
* remove todo
* Update lib/src/map/camera/camera.dart
Co-authored-by: Luka S <[email protected]>
* format change
* replace helper function
* start migration guide
* mark as internal
* Update lib/src/layer/shared/layer_interactivity/internal_hit_detectable.dart
Co-authored-by: Luka S <[email protected]>
* rename
* re-phrase things
* rotateAroundPoint fix
* convert doublepoint to offset
* dart format
* fix visible scope lol
* Update flutter_map.dart
* Update internal_hit_detectable.dart
* fix straggling Point
* convert to use size
* migrate easy Bounds<double> to Rect
* dart format .
* migrate most methods that use Bounds
* dart format .
* Update CHANGELOG.md
* more complete migration of Rect
* dart format
* convert Bounds to IntegerBounds and made internal
most methods on integer bounds are not used
* fix lints
* fix test
* fix bug introduced in commit b6d2d95b6d2d95
* fix lint
* rename method
* fix some nits
* Update lib/src/geo/crs.dart
Co-authored-by: Luka S <[email protected]>
* Update lib/src/geo/crs.dart
Co-authored-by: Luka S <[email protected]>
* Update lib/src/geo/crs.dart
Co-authored-by: Luka S <[email protected]>
* dart format
* rename project method
* dart format .
* fix unused import
---------
Co-authored-by: Luka S <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,20 @@ Please consider [donating](https://docs.fleaflet.dev/supporters#support-us) or [
4
4
5
5
This CHANGELOG does not include every commit and/or PR - it is a hand picked selection of the most important ones. For a full list of changes, please check the GitHub repository releases/tags.
6
6
7
+
## [8.0.0] - 2024/07/02
8
+
9
+
Migration from `Point` class internally, but this also affects the external API.
10
+
11
+
Migration Guide:
12
+
- any methods that previously required `Point<double>` now require `Offset`, `Size`, or `Rect` as return values and parameters
13
+
-`pointToLatLng` -> `offsetToLatLng`
14
+
-`PointExtension` and `OffsetToPointExtension` marked as internal
15
+
-`MapController.rotateAroundPoint` now only accepts an Offset
16
+
17
+
18
+
Contains the following user-affecting bug fixes:
19
+
20
+
7
21
## [7.0.2] - 2024/07/02
8
22
9
23
> Note that this version causes a technically breaking change by removing `PolygonLayer.useDynamicUpdate` & `PolylineLayer.useDynamicUpdate`, introduced in v7.0.1. However, the implementations for these was broken on introduction, and their intended purpose no longer exists. Therefore, these should not have been used in any capacity, and should not affect any projects.
0 commit comments