01Overview
An interactive OpenStreetMap slippy-map for Unity uGUI: pan by dragging, zoom with the wheel or pinch, over streamed and pooled tiles with a disk + memory cache. Provider-agnostic tile URLs, a required identifying User-Agent and built-in attribution keep it policy-compliant. Input-backend agnostic (EventSystem), with no third-party dependencies.
02Key features
- Pan & zoomDrag to pan, wheel/pinch to zoom — a proper Web-Mercator slippy map.
- Streamed & pooled tilesTiles load on demand and are pooled to keep allocations and draw calls low.
- Disk + memory cacheTwo-level cache with eviction — fewer requests, faster revisits, offline-friendly.
- GPS marker overlaysDrop markers at lat/lon, fit the view to a set of points, plot GPS tracks.
- Click-to-coordinateConvert a click on the map back to a geographic coordinate.
- Policy-compliantProvider-agnostic tile URL, required User-Agent and on-screen attribution built in.
03Included samples
01
Interactive Map Demo
Full-screen pannable/zoomable map with attribution and a few GPS markers.
02
GPS Track Overlay Demo
Plot a list of GPS points as markers and fit the view to them.