Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple webgpsmap improvements #1249

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jul 28, 2024

  1. Multiple webgpsmap improvements

    This commit is a nearly complete rewrite of the webgpsmap plugin frontend to improve responsible design on mobile devices and usability and performance even with hundreds of thousands of markers on the map.
    
    In detail, the following changes have been made:
    - updated javascript libraries
    - improved screen space management and responsive design (rewriting the html code in modern HTML5 using flexbox correctly)
    - calibrated layers max zoom and markerClusterGroup settings to improve map usability based on the Access Point marker size
    - the search field now shows an X button to clear the field in browsers that support it (e.g. Chrome)
    - added first seen and last seen dates for each AP on the map
    - added scale to the map
    - implemented current location via leaflet-locatecontrol library (only in secure contexts)
    - added offline map download button
    - various tricks to improve performance in the case of maps with numerous APs (use of template literals, reduced complexity in creating and applying search filter, ...)
    - improved code readability and general refactor (e.g., better subdivision into functions, removed unused or useless code, improved indentation, updated comments, moved variables as much as possible inside their scope)
    jacopotediosi committed Jul 28, 2024
    Configuration menu
    Copy the full SHA
    4061d26 View commit details
    Browse the repository at this point in the history