Skip to content

Replace "latlong: ^0.6.1" package as it is deprecated and not maintained. #727

@Pinkal7600

Description

@Pinkal7600

We should replace the latlong: ^0.6.1 package as it is not maintained and have some limitation for latitude and longitude value. Like we can only provide latitude value between -90 to 90 and longitude value between -180 to 180. So this makes the limitation for flutter_map compare to leaflet as leaflet does not have this kind of restrictions.

I personally face this issue(#725) in my one use case so I replace this package with maps_toolkit: ^1.1.0+2 and make some modification in that as well to use the math_util.dart for flutter_map like toRadians(), toDegrees(), etc...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions