Delphi_OSMMap
Delphi_OSMMap copied to clipboard
Visual control for Delphi and Lazarus to display OSM map
OSM MapControl
Delphi/Lazarus visual component for displaying OpenStreetMap map. Also includes helper classes for storing and downloading map tiles. Demo project implements downloading map tiles from network.
:exclamation: Alpha version, interface could change :exclamation:
Compatibility
Tested on:
- Delphi XE2 and 10.1, VCL, Windows
- Lazarus 2.1.0 trunk & FPC 3.3.1 trunk, LCL, Windows / Linux
Project structure
-
OSM.SlippyMapUtils
- util functions, variables and types -
OSM.TileStorage
- classesTTileBitmapCache
implementing cache of map tiles organized as a queue andTTileStorage
implementing disc storage of map tiles. -
OSM.NetworkRequest
- utils and classes for network requesting of map tiles. ClassTNetworkRequestQueue
implements threaded non-blocking queue of network requests. Unit doesn't contain any real network request engine. -
OSM.NetworkRequest.Synapse
,OSM.NetworkRequest.WinInet
,OSM.NetworkRequest.RTL
contain concrete implementations of network requesting routines -
OSM.MapControl
contains classesTMapMark
andTMapMarkList
for managing a set of map points andTMapControl
itself
Full docs for all units listed above is available here
Third party
If you wish to use Synapse network engine and don't have it yet, you can take it from Releases section.