flutter_map_math 0.2.4
flutter_map_math: ^0.2.4 copied to clipboard
Map realated calculations in one place. Like finding distance, mid point, bearing angle of two points.And finding destination point.Also convert degrees to radians and vice-versa
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_map_math
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_map_math: ^0.2.4
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flutter_map_math/flutter_cluster.dart';
import 'package:flutter_map_math/flutter_geo_math.dart';
import 'package:flutter_map_math/heat_map.dart';
import 'package:flutter_map_math/utils/models/heat_point.dart';