Getting started
Requirements
Unity 2021.3 LTS or newer. No other packages required.
Installation
Three ways to add the package to your project:
- Local UPM package (recommended) —
Window > Package Manager > + > Add package from disk…and select the package’spackage.json. - Embedded package — copy the
com.kephstudio.osm-mapfolder into your project’sPackages/folder. - Classic import — copy the
Runtime/scripts intoAssets/(you lose assembly-definition isolation).
Overview
An interactive OpenStreetMap slippy-map for Unity uGUI: pan by dragging, zoom with wheel/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 usage policy-compliant.
What’s included
| Pan & zoom | Drag to pan, wheel/pinch to zoom — a proper Web-Mercator slippy map. |
| Tile streaming | On-demand, pooled tiles with a two-level (disk + memory) cache and eviction. |
| GPS markers | Place markers at lat/lon, fit the view to a set of points, plot tracks. |
| Click-to-coordinate | Convert a click on the map back to a geographic coordinate. |
| Attribution | Provider-agnostic tile URL, required User-Agent and on-screen attribution. |
Samples
Import samples from the Package Manager (Samples tab).
- Interactive Map Demo — Full-screen pannable/zoomable map with attribution and GPS markers.
- GPS Track Overlay Demo — Plot a list of GPS points as markers and fit the view to them.
Support & license
Distributed under the Unity Asset Store EULA. Questions, bugs and feature requests are handled directly by the studio — contact@kephstudio.ch.