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
108 stars 98 forks source link

Build Failure: 'scaleBy' Method Not Defined in 'Point<double>' Class #120

Closed lapin7771n closed 6 months ago

lapin7771n commented 6 months ago

Describe the bug When attempting to launch the Flutter application on an iPhone 15 Pro Max in debug mode, the build fails with an error related to the flutter_map_location_marker package. Specifically, the method scaleBy isn't defined for the class Point<double>.

To Reproduce Steps to reproduce the behavior:

  1. Go to the project directory.
  2. Run the command flutter run to launch the app.
  3. Select the iPhone simulator/device.
  4. Observe the build process and see the error.

Expected behavior The application should build successfully and launch on the iPhone simulator without encountering any errors related to the 'flutter_map_location_marker' package.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context The error log is as follows:

Launching lib/main.dart on iPhone 15 Pro Max in debug mode...
Running Xcode build...
Xcode build done.                                           20.9s
Failed to build iOS app
Error (Xcode): ../../../.pub-cache/hosted/pub.dev/flutter_map_location_marker-8.0.8/lib/src/options/focal_point.dart:46:20: Error: The method 'scaleBy' isn't defined for the class 'Point<double>'.
olavurs commented 6 months ago

Same issue here

miakh commented 6 months ago

same for method substract

miakh commented 6 months ago

121

Jeius commented 6 months ago

Same issue here, I tried dependency overrides to fix the dependency issue and when I use 'flutter build web --release --wasm', I get Error: The method 'scaleBy' isn't defined for the class 'Point'.

tlserver commented 6 months ago

Fixed in V9.0.0