widgets/map/geomap_viewport_logic library

Viewport-related logic for GeoMapWidget.

Copyright (C) 2025, Software Innovation Institute, ANU.

Licensed under the GNU General Public License, Version 3 (the "License").

License: https://opensource.org/license/gpl-3-0.

Authors: Graham Williams, Miduo

Functions

adjustZoomForMapSource({required MapController mapController, required MapSettings mapSettings}) bool
Adjusts zoom level if it exceeds the map source's max native zoom.