Skip to content

LatLngBounds grow by distance/buffer #14

@Leffe108

Description

@Leffe108

I don't know if it would be outside the scope of this library, but I have situations related to flutter_map where I grab the LatLngBounds of FlutterMap-view to filter vector data from a source and would like to load a bit more than just the viewport so if user pans around a bit, it is already loaded, but also not loading the entire world.

For that something that can grow LatLngBounds in all directions would be helpful. Although I understand it then becomes a matter of what projection is used, distance units and might make it to complicated for the scope of this library? But for my use case even just growing it by X % would be enough as it is not a precise buffer operation, just to manage buffering of data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions