Libraries/ Mapping/ OpenStreetMap uGUI Map
MappinguGUIWeb Mercator

OpenStreetMap uGUI Map

v0.1.0 Unity 2021.3+ No dependencies Paid

An interactive OpenStreetMap slippy-map for Unity uGUI — pan, zoom, streamed & pooled tiles, a two-level cache, GPS marker overlays and click-to-coordinate. Policy-compliant and dependency-free.

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.