ImageEn, unit iexVirtualBitmaps |
|
TIESlippyMap.Create
Declaration
constructor Create(provider: TIESlippyMapProvider = iesmpMapQuest; const cachePath: string = '');
constructor Create(const providerURL: string; const cachePath: string = '');
Description
Creates a TIESlippyMap object.
Parameter | Description |
provider | Predefined map provider |
providerURL | URL of map provider. Ex. 'http://[abc].tile.openstreetmap.org' |
cachePath | Optional path of local cache |
Note: For map providers see:
wiki.openstreetmap.org/wiki/TMS// create a slippymap using default provider
ImageEnView1.IEBitmap.VirtualBitmapProvider := TIESlippyMap.Create();
// create a slippymap using iesmpOSM_Mapnik provider
ImageEnView1.IEBitmap.VirtualBitmapProvider := TIESlippyMap.Create(iesmpOSM_Mapnik);
// create a slippymap using 'http://[abc].tile.openstreetmap.org' and local cache
ImageEnView1.IEBitmap.VirtualBitmapProvider := TIESlippyMap.Create('http://[abc].tile.openstreetmap.org', 'C:\mapcache');