Skip to content

Optimised map loading #10

@ZilvinasJonaitis

Description

@ZilvinasJonaitis

As global number of MC nodes increase rapidly, so does waiting time to show them in the map.

Make node loading in 2 passes.

The first pass loads nodes only from a smaller rectangular map area of interest which center is determined by the coordinates of the latest contact from Contacts in MeshCore app. In case map is opened from Web browser, center coordinates could probably be based on geo information of device IP address.

The second pass could go in the background to load the rest set of global nodes.

To further optimise first pass, the center coordinates could be stored on the app and updated when no value is available or on manual map refresh.

The size of rectangular area of interest could be adjustable in the app, too.

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