diff --git a/docs/docs/AllClasses.html b/docs/docs/AllClasses.html index 21e8429..6c8c68b 100644 --- a/docs/docs/AllClasses.html +++ b/docs/docs/AllClasses.html @@ -38,66 +38,71 @@

All Classes, Interfaces, Objects and Records

Region on a map defined by two pairs of longitude and latitude.

+TGoogleTilesProvider +OSM.TilesProvider.Google +

Google tile image provider

+ + THERETilesProvider OSM.TilesProvider.HERE

HERE tile image provider

- + THttpRequestProps OSM.NetworkRequest

Generic properties of request.

- + TMapControl OSM.MapControl

Control displaying a map or its visible part.

- + TMapMark OSM.MapControl

Class representing a single mapmark.

- + TMapMarkCaptionStyle OSM.MapControl

Visual properties of mapmark's caption

- + TMapMarkGlyphStyle OSM.MapControl

Visual properties of mapmark's glyph

- + TMapMarkList OSM.MapControl

List of mapmarks.

- + TNetworkRequestQueue OSM.NetworkRequest

Queuer of network requests.

- + TOSMTilesProvider OSM.TilesProvider.OSM

OpenStreetMap tile image provider

- + TTile OSM.SlippyMapUtils

Properties of a map tile

- + TTileObjectCache OSM.TileStorage

Abstract object cache class indexed by tiles with fixed capacity organised as queue.

- + TTilesProvider OSM.TilesProvider

Abstract base class for tile image provider.

- + TTileStorage OSM.TileStorage

Class that encapsulates memory and file cache of tile images.

diff --git a/docs/docs/AllIdentifiers.html b/docs/docs/AllIdentifiers.html index eedf528..f41be7b 100644 --- a/docs/docs/AllIdentifiers.html +++ b/docs/docs/AllIdentifiers.html @@ -115,12 +115,12 @@

All Identifiers

InMap OSM.SlippyMapUtils -

Checks if point Pt is inside a map at zoom level Zoom

+

Checks if rect Rc is inside a map at zoom level Zoom

InMap OSM.SlippyMapUtils -

Checks if rect Rc is inside a map at zoom level Zoom

+

Checks if point Pt is inside a map at zoom level Zoom

LatitudeToMapCoord @@ -160,12 +160,12 @@

All Identifiers

MapToGeoCoords OSM.SlippyMapUtils -

Converts map point in pixels to geo point in degrees

+

Converts map rect in pixels to geo rect in degrees

MapToGeoCoords OSM.SlippyMapUtils -

Converts map rect in pixels to geo rect in degrees

+

Converts map point in pixels to geo point in degrees

MapWidth @@ -253,241 +253,246 @@

All Identifiers

Region on a map defined by two pairs of longitude and latitude.

+TGoogleTilesProvider +OSM.TilesProvider.Google +

Google tile image provider

+ + TGotTileCallbackBgThr OSM.NetworkRequest

Generic type of method to call when request is completed
! Called from the context of a background thread !

- + THERETilesProvider OSM.TilesProvider.HERE

HERE tile image provider

- + THttpRequestCapabilities OSM.NetworkRequest

Capabilities that a network engine has

- + THttpRequestProps OSM.NetworkRequest

Generic properties of request.

- + TileCount OSM.SlippyMapUtils

Returns count of tiles on Zoom level (= 2ˆZoom)

- + TileMetersPerPixelOnEquator OSM.SlippyMapUtils

See https://wiki.openstreetmap.org/wiki/Zoom_levels Level Degree Area m / pixel ˜Scale # Tiles 0 360 whole world 156,412 1:500 million 1 1 180 78,206 1:250 million 4 2 90 39,103 1:150 million 16 3 45 19,551 1:70 million 64 4 22.5 9,776 1:35 million 256 5 11.25 4,888 1:15 million 1,024 6 5.625 2,444 1:10 million 4,096 7 2.813 1,222 1:4 million 16,384 8 1.406 610.984 1:2 million 65,536 9 0.703 wide area 305.492 1:1 million 262,144 10 0.352 152.746 1:500,000 1,048,576 11 0.176 area 76.373 1:250,000 4,194,304 12 0.088 38.187 1:150,000 16,777,216 13 0.044 village/town 19.093 1:70,000 67,108,864 14 0.022 9.547 1:35,000 268,435,456 15 0.011 4.773 1:15,000 1,073,741,824 16 0.005 small road 2.387 1:8,000 4,294,967,296 17 0.003 1.193 1:4,000 17,179,869,184 18 0.001 0.596 1:2,000 68,719,476,736 19 0.0005 0.298 1:1,000 274,877,906,944 20 0.00025 mid-sized bldng 0.149 1:5,00 1,099,511,627,776

- + TilesEqual OSM.SlippyMapUtils

Compares tiles

- + TileToStr OSM.SlippyMapUtils

Returns standartized string representation of Tile

- + TileValid OSM.SlippyMapUtils

Checks Tile fields for validity

- + TILE_BITMAP_SIZE OSM.TileStorage

Amount of bytes that a single tile bitmap occupies in memory.

- + TILE_IMAGE_HEIGHT OSM.SlippyMapUtils

Height of map tile in pixels

- + TILE_IMAGE_WIDTH OSM.SlippyMapUtils

Width of map tile in pixels

- + TMapControl OSM.MapControl

Control displaying a map or its visible part.

- + TMapLayer OSM.MapControl

Number of a layer

- + TMapLayers OSM.MapControl

 

- + TMapMark OSM.MapControl

Class representing a single mapmark.

- + TMapMarkCaptionStyle OSM.MapControl

Visual properties of mapmark's caption

- + TMapMarkCustomProp OSM.MapControl

Flags to indicate which properties must be taken from MapMark object when drawing.

- + TMapMarkCustomProps OSM.MapControl

 

- + TMapMarkGlyphShape OSM.MapControl

Shape of mapmark glyph

- + TMapMarkGlyphStyle OSM.MapControl

Visual properties of mapmark's glyph

- + TMapMarkList OSM.MapControl

List of mapmarks.

- + TMapMouseMode OSM.MapControl

Mode of handling of plain left mouse button press

- + TMapOption OSM.MapControl

Options of map control

- + TMapOptions OSM.MapControl

 

- + TMapZoomLevel OSM.SlippyMapUtils

Map zoom.

- + TNetworkRequestQueue OSM.NetworkRequest

Queuer of network requests.

- + ToInnerCoords OSM.MapControl

Convert absolute map rect to a rect inside a viewport having given top-left point

- + ToInnerCoords OSM.MapControl

Convert absolute map coords to a point inside a viewport having given top-left point

- + TOnDrawMapMark OSM.MapControl

Callback to custom draw a mapmark.

- + TOnDrawTile OSM.MapControl

Callback to draw an image of a single tile having number (TileHorzNum;TileVertNum) at point TopLeft on canvas Canvas.

- + TOnGetTile OSM.MapControl

Callback to get an image of a single tile having number (TileHorzNum;TileVertNum).

- + TOnItemNotify OSM.MapControl

Notification of an action over a mapmark in a list

- + TOnSelectionBox OSM.MapControl

Callback to react on selection by mouse

- -ToOuterCoords -OSM.MapControl -

Convert a point inside a viewport having given top-left point to absolute map coords

- ToOuterCoords OSM.MapControl

Convert a rect inside a viewport having given top-left point to absolute map rect

+ToOuterCoords +OSM.MapControl +

Convert a point inside a viewport having given top-left point to absolute map coords

+ + TOSMTilesProvider OSM.TilesProvider.OSM

OpenStreetMap tile image provider

- + ToTileBoundary OSM.SlippyMapUtils

Align absolute map rect to tile boundaries

- + ToTileHeightGreater OSM.SlippyMapUtils

Ceil vertical map coord to tile size

- + ToTileHeightLesser OSM.SlippyMapUtils

Floor vertical map coord to tile size

- + ToTileWidthGreater OSM.SlippyMapUtils

Ceil horizontal map coord to tile size

- + ToTileWidthLesser OSM.SlippyMapUtils

Floor horizontal map coord to tile size

- + TTile OSM.SlippyMapUtils

Properties of a map tile

- + TTileObjectCache OSM.TileStorage

Abstract object cache class indexed by tiles with fixed capacity organised as queue.

- + TTilesProvider OSM.TilesProvider

Abstract base class for tile image provider.

- + TTileStorage OSM.TileStorage

Class that encapsulates memory and file cache of tile images.

- + TTileStorageOption OSM.TileStorage

Flags for TTileStorage

- + TTileStorageOptions OSM.TileStorage

 

diff --git a/docs/docs/AllUnits.html b/docs/docs/AllUnits.html index c740dd4..281bcb7 100644 --- a/docs/docs/AllUnits.html +++ b/docs/docs/AllUnits.html @@ -45,14 +45,18 @@

All Units

Generic (no real implementation) base class for tile image provider.

+OSM.TilesProvider.Google +

Google tile image provider.

+ + OSM.TilesProvider.HERE

HERE tile image provider.

- + OSM.TilesProvider.OSM

OpenStreetMap tile image provider.

- + OSM.TileStorage

OSM tile images cache.

diff --git a/docs/docs/ClassHierarchy.html b/docs/docs/ClassHierarchy.html index 164bc1f..c704fbe 100644 --- a/docs/docs/ClassHierarchy.html +++ b/docs/docs/ClassHierarchy.html @@ -14,7 +14,7 @@

Class Hierarchy

diff --git a/docs/docs/OSM.TilesProvider.Google.TGoogleTilesProvider.html b/docs/docs/OSM.TilesProvider.Google.TGoogleTilesProvider.html new file mode 100644 index 0000000..af7ecb4 --- /dev/null +++ b/docs/docs/OSM.TilesProvider.Google.TGoogleTilesProvider.html @@ -0,0 +1,120 @@ + + + +OSM Map control: OSM.TilesProvider.Google: Class TGoogleTilesProvider + + + + + + +
+

Class TGoogleTilesProvider

+ +

Unit

+ +

Declaration

+

+type TGoogleTilesProvider = class(TTilesProvider)

+

Description

+

+Google tile image provider

+

Hierarchy

+

Overview

+

Fields

+ + + + + + + + + + + + + + + + + +
Publicnested const DefTilesCopyright = '(c) Google';
Publicnested const DefTileURLPatt = 'http://mt%d.google.com/vt/lyrs=m&hl=en&x=%d&y=%d&z=%d';
Publicnested const MaxSubdomainNum = 3;
PublicTileURLPatt: string;
+

Methods

+ + + + + + + + + +
Publicconstructor Create;
Publicfunction GetTileURL(const Tile: TTile): string; override;
+

Description

+

Fields

+ + + + + + +
Publicnested const DefTilesCopyright = '(c) Google';
+

+Default copyright text

+
+ + + + + + +
Publicnested const DefTileURLPatt = 'http://mt%d.google.com/vt/lyrs=m&hl=en&x=%d&y=%d&z=%d';
+

+Default pattern of tile URL. Placeholders are for: Random subdomain (0..MaxSubdomainNum), X, Y, Zoom

+
+ + + + + + +
Publicnested const MaxSubdomainNum = 3;
+

+Maximal subdomain number

+
+ + + + + + +
PublicTileURLPatt: string;
+

+Pattern of tile URL. Placeholders are for: Random subdomain (0..MaxSubdomainNum), X, Y, Zoom

+
+

Methods

+ + + + + + +
Publicconstructor Create;
+ + + + + + +
Publicfunction GetTileURL(const Tile: TTile): string; override;
+
Generated by PasDoc 0.16.0. + +
diff --git a/docs/docs/OSM.TilesProvider.Google.html b/docs/docs/OSM.TilesProvider.Google.html new file mode 100644 index 0000000..1a4f917 --- /dev/null +++ b/docs/docs/OSM.TilesProvider.Google.html @@ -0,0 +1,46 @@ + + + +OSM Map control: OSM.TilesProvider.Google + + + + + + +
+

Unit OSM.TilesProvider.Google

+
+
Uses
Functions and Procedures
Types
Constants
Variables
+

Description

+

+Google tile image provider. https://gis.stackexchange.com/questions/225098/using-google-maps-static-tiles-with-leaflet

+ + + +

(c) Fr0sT-Brutal https://github.com/Fr0sT-Brutal/Delphi_OSMMap + +

+

Overview

+

Classes, Interfaces, Objects and Records

+ + + + + + + + + +
NameDescription
Class TGoogleTilesProviderGoogle tile image provider
+

Authors

+ +
Generated by PasDoc 0.16.0. + +
diff --git a/docs/docs/OSM.TilesProvider.HERE.THERETilesProvider.html b/docs/docs/OSM.TilesProvider.HERE.THERETilesProvider.html index 5ea63cd..c4192b3 100644 --- a/docs/docs/OSM.TilesProvider.HERE.THERETilesProvider.html +++ b/docs/docs/OSM.TilesProvider.HERE.THERETilesProvider.html @@ -38,6 +38,10 @@

Description

Public +nested const MaxSubdomainNum = 4; + + +Public TileURLPatt: string; @@ -71,7 +75,17 @@

Fields

-Default pattern of tile URL. Placeholders are for: Random subdomain, Zoom, X, Y, ApiKEY

+Default pattern of tile URL. Placeholders are for: Random subdomain (1..MaxSubdomainNum), Zoom, X, Y, ApiKEY

+ + + + + + + +
Publicnested const MaxSubdomainNum = 4;
+

+Maximal subdomain number

@@ -81,7 +95,7 @@

Fields

-Pattern of tile URL. Placeholders are for: Random subdomain, Zoom, X, Y, ApiKEY

+Pattern of tile URL. Placeholders are for: Random subdomain (1..MaxSubdomainNum), Zoom, X, Y, ApiKEY

Methods

diff --git a/docs/docs/index.html b/docs/docs/index.html index c740dd4..281bcb7 100644 --- a/docs/docs/index.html +++ b/docs/docs/index.html @@ -45,14 +45,18 @@

All Units

Generic (no real implementation) base class for tile image provider.

+OSM.TilesProvider.Google +

Google tile image provider.

+ + OSM.TilesProvider.HERE

HERE tile image provider.

- + OSM.TilesProvider.OSM

OpenStreetMap tile image provider.

- + OSM.TileStorage

OSM tile images cache.