google_maps_utils 1.1.0+2 copy "google_maps_utils: ^1.1.0+2" to clipboard
google_maps_utils: ^1.1.0+2 copied to clipboard

outdated

Android Google Maps Utils port. Initial version comes with the 3 main Classes of The Google Maps Utils. SphericalUtils, MathUtils and PolyUtils, classes used most for calculating bounds, distances hea [...]

google_maps_utils - An Android Google Maps Utils java project port #

A Flutter/Dart project based on Android Google Maps Utils converted/ported to Dart/Flutter There are many packages that features Google Maps Utils, but none has the 3 main classes from the sources

How it works #

This is a project for converting all of the tools from Android Google Maps Utils partially. Initial commits from the 3 main Classes, MathUtils.java, PolyUtils.java and SphericalUtils.java

The same rules for calculating bounds, distance between two LatLng points and other polyline features are the same as used on Android native Java/Kotlin logic.

All of the methods of current classes available are ported

Main project: https://github.com/googlemaps/android-maps-utils Main project questions: https://stackoverflow.com/questions/tagged/android-maps-utils Fluttert community request: https://github.com/flutter/flutter/issues/24689

spherical_utils.dart #

Working 100% - Used in production and working as expected

math_utils.dart #

Working 100% - Used in production and working as expected

poly_utils.dart #

May be broken

warnings: #

poly_utils.dart #

_encode
    # Charcode conversion and StringBuffer writing may not be written correctly
simplify
    # Dart does not have a class for Stacking objects, was used a pub dart for stack that is not in stable state
decode
    # Charcode conversion may not be written correctly
56
likes
0
pub points
93%
popularity

Publisher

verified publisheradriankohls.app

Android Google Maps Utils port. Initial version comes with the 3 main Classes of The Google Maps Utils. SphericalUtils, MathUtils and PolyUtils, classes used most for calculating bounds, distances headings and many more For circular resources, markers and events for Google Maps. All the code are 100% ported from original sources, some modifications are expected to match and run Dart compiler.

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, stack

More

Packages that depend on google_maps_utils