Interactive map viewer component using OpenStreetMap tiles.
MapViewer displays an interactive map using tiles from OpenStreetMap servers. It supports panning, zooming (levels 0-18), and can be centered on any latitude/longitude coordinate. The component handles tile fetching, caching, and rendering automatically.
Key Features:
- Interactive panning via mouse drag
- Zoom levels 0-18 (world to street level)
- Mouse wheel zoom
- Automatic tile fetching and caching
- Smooth rendering with double buffering
- Center on any lat/long coordinate
Zoom Levels:
- 0-2: World view
- 3-6: Continent/country view
- 7-10: State/region view
- 11-14: City view
- 15-18: Street/building view
Usage:
Interactive map viewer component using OpenStreetMap tiles.
Definition gin_mapviewer.h:56
A lightweight 2D point class for projects that don't use juce_graphics.
Definition gin_point.h:25
- See also
- OpenStreetMaps