tlserver / flutter_map_location_marker

A flutter map plugin for displaying device current location.
https://pub.dev/packages/flutter_map_location_marker
BSD 3-Clause "New" or "Revised" License
97 stars 82 forks source link

Bump flutter_map from 6.2.0 to 7.0.0 #121

Closed dependabot[bot] closed 1 month ago

dependabot[bot] commented 1 month ago

Bumps flutter_map from 6.2.0 to 7.0.0.

Release notes

Sourced from flutter_map's releases.

v7.0.0

What's Changed

Includes changes after v6.1.0 (including v7.0.0-dev.1). v6.2.0 is ignored: see #1891 for more information.

... (truncated)

Changelog

Sourced from flutter_map's changelog.

[7.0.0] - 2024/05/XX

"onTap-ish At Last!"

Contains the following user-affecting changes:

  • 🟢 Added interactivity & hit detection to Polyline(Layer), Polygon(Layer), and Circle(Layer) - #1822 (for #1740 and #385), #1728, #1886
  • 🟢 Made FlutterMap.options an optional parameter - #1816
  • 🟢 Added alternative (Canvas.drawVertices) render pathway for PolygonLayer - #1800
  • 🟢 Added Scalebar layer - #1821
  • 🟢 Added TileUpdateTransformers.debounce to debounce tile requests - #1850 (replaces #1840)
  • 🟢 Added static Marker.computePixelAlignment method to calculate absolute alignment - #1847
  • 🟢 Added StrokePattern, which supports solid, dotted, and dashed styles for Polylines and the border of Polygons - #1855 (replaces #1845), #1865, #1871, #1875, #1876
  • 🔴 Deprecated MapOptions.applyPointerTranslucencyToLayers - #1822 for #1740

Contains the following user-affecting bug fixes:

  • Fixed NetworkTileProvider poor performance and ClientExceptions/SocketExceptions on disposal - #1742 for #1761, #1703, #1698
  • Fixed Polygon/PolylineLayer failing to move on changes - #1825
  • Prevented fatal crash due to infinite loop/memory leak at high zoom levels over some types of Polygon - #1854 for #1829
  • Fixed PolylineLayer exception: "The west longitude can't be smaller than the east longitude" - #1879
  • Fixed LatLngBounds.center to work across world bounds - #1860

Contains the following user-affecting performance improvements:

  • Added Polyline and Polygon simplification, and enhanced Polyline culling algorithm to work within the same Polyline - #1704, #1795, #1805, #1812
  • Cached projection of Polygon points & improved CRS internals - #1801
  • Fixed PolygonLayer bundled drawing system - #1800
  • Other miscellaneous generic performance enhancements across the board, and addition of stress tests to example application

Contains the following important internal changes (does not include changes to the example app, meta changes to the repo/org configuration, or minor changes):

  • Merged MapInternalController & MapControllerImpl, and removed "FlutterMap" prefix from some members - #1738
  • Made LatLngBounds mutable - #1834

Many thanks to these contributors (in no particular order):

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
miakh commented 1 month ago

please also replace final pos = pxPoint.subtract(map.pixelOrigin); with minus operator operation.