Documentation/ OpenStreetMap uGUI Map

OpenStreetMap uGUI Map

[ DOCUMENTATION ]

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’s package.json.
  • Embedded package — copy the com.kephstudio.osm-map folder into your project’s Packages/ folder.
  • Classic import — copy the Runtime/ scripts into Assets/ (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 & zoomDrag to pan, wheel/pinch to zoom — a proper Web-Mercator slippy map.
Tile streamingOn-demand, pooled tiles with a two-level (disk + memory) cache and eviction.
GPS markersPlace markers at lat/lon, fit the view to a set of points, plot tracks.
Click-to-coordinateConvert a click on the map back to a geographic coordinate.
AttributionProvider-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.

Still stuck?

Reach the studio directly — we usually reply within a couple of working days.

contact@kephstudio.ch