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 @@ <h1 class="allitems">All Classes, Interfaces, Objects and Records</h1> <td class="itemdesc"><p>Region on a map defined by two pairs of longitude and latitude.</p></td> </tr> <tr class="list"> +<td class="itemname"><a class="bold" href="OSM.TilesProvider.Google.TGoogleTilesProvider.html">TGoogleTilesProvider</a></td> +<td class="itemunit"><a class="bold" href="OSM.TilesProvider.Google.html">OSM.TilesProvider.Google</a></td> +<td class="itemdesc"><p>Google tile image provider</p></td> +</tr> +<tr class="list2"> <td class="itemname"><a class="bold" href="OSM.TilesProvider.HERE.THERETilesProvider.html">THERETilesProvider</a></td> <td class="itemunit"><a class="bold" href="OSM.TilesProvider.HERE.html">OSM.TilesProvider.HERE</a></td> <td class="itemdesc"><p>HERE tile image provider</p></td> </tr> -<tr class="list2"> +<tr class="list"> <td class="itemname"><a class="bold" href="OSM.NetworkRequest.THttpRequestProps.html">THttpRequestProps</a></td> <td class="itemunit"><a class="bold" href="OSM.NetworkRequest.html">OSM.NetworkRequest</a></td> <td class="itemdesc"><p>Generic properties of request.</p></td> </tr> -<tr class="list"> +<tr class="list2"> <td class="itemname"><a class="bold" href="OSM.MapControl.TMapControl.html">TMapControl</a></td> <td class="itemunit"><a class="bold" href="OSM.MapControl.html">OSM.MapControl</a></td> <td class="itemdesc"><p>Control displaying a map or its visible part.</p></td> </tr> -<tr class="list2"> +<tr class="list"> <td class="itemname"><a class="bold" href="OSM.MapControl.TMapMark.html">TMapMark</a></td> <td class="itemunit"><a class="bold" href="OSM.MapControl.html">OSM.MapControl</a></td> <td class="itemdesc"><p>Class representing a single mapmark.</p></td> </tr> -<tr class="list"> +<tr class="list2"> <td class="itemname"><a class="bold" href="OSM.MapControl.TMapMarkCaptionStyle.html">TMapMarkCaptionStyle</a></td> <td class="itemunit"><a class="bold" href="OSM.MapControl.html">OSM.MapControl</a></td> <td class="itemdesc"><p>Visual properties of mapmark's caption</p></td> </tr> -<tr class="list2"> +<tr class="list"> <td class="itemname"><a class="bold" href="OSM.MapControl.TMapMarkGlyphStyle.html">TMapMarkGlyphStyle</a></td> <td class="itemunit"><a class="bold" href="OSM.MapControl.html">OSM.MapControl</a></td> <td class="itemdesc"><p>Visual properties of mapmark's glyph</p></td> </tr> -<tr class="list"> +<tr class="list2"> <td class="itemname"><a class="bold" href="OSM.MapControl.TMapMarkList.html">TMapMarkList</a></td> <td class="itemunit"><a class="bold" href="OSM.MapControl.html">OSM.MapControl</a></td> <td class="itemdesc"><p>List of mapmarks.</p></td> </tr> -<tr class="list2"> +<tr class="list"> <td class="itemname"><a class="bold" href="OSM.NetworkRequest.TNetworkRequestQueue.html">TNetworkRequestQueue</a></td> <td class="itemunit"><a class="bold" href="OSM.NetworkRequest.html">OSM.NetworkRequest</a></td> <td class="itemdesc"><p>Queuer of network requests.</p></td> </tr> -<tr class="list"> +<tr class="list2"> <td class="itemname"><a class="bold" href="OSM.TilesProvider.OSM.TOSMTilesProvider.html">TOSMTilesProvider</a></td> <td class="itemunit"><a class="bold" href="OSM.TilesProvider.OSM.html">OSM.TilesProvider.OSM</a></td> <td class="itemdesc"><p>OpenStreetMap tile image provider</p></td> </tr> -<tr class="list2"> +<tr class="list"> <td class="itemname"><a class="bold" href="OSM.SlippyMapUtils.TTile.html">TTile</a></td> <td class="itemunit"><a class="bold" href="OSM.SlippyMapUtils.html">OSM.SlippyMapUtils</a></td> <td class="itemdesc"><p>Properties of a map tile</p></td> </tr> -<tr class="list"> +<tr class="list2"> <td class="itemname"><a class="bold" href="OSM.TileStorage.TTileObjectCache.html">TTileObjectCache</a></td> <td class="itemunit"><a class="bold" href="OSM.TileStorage.html">OSM.TileStorage</a></td> <td class="itemdesc"><p>Abstract object cache class indexed by tiles with fixed capacity organised as queue.</p></td> </tr> -<tr class="list2"> +<tr class="list"> <td class="itemname"><a class="bold" href="OSM.TilesProvider.TTilesProvider.html">TTilesProvider</a></td> <td class="itemunit"><a class="bold" href="OSM.TilesProvider.html">OSM.TilesProvider</a></td> <td class="itemdesc"><p>Abstract base class for tile image provider.</p></td> </tr> -<tr class="list"> +<tr class="list2"> <td class="itemname"><a class="bold" href="OSM.TileStorage.TTileStorage.html">TTileStorage</a></td> <td class="itemunit"><a class="bold" href="OSM.TileStorage.html">OSM.TileStorage</a></td> <td class="itemdesc"><p>Class that encapsulates memory and file cache of tile images.</p></td> 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 @@ <h1 class="allitems">All Identifiers</h1> <tr class="list2"> <td class="itemname"><a class="bold" href="OSM.SlippyMapUtils.html#InMap">InMap</a></td> <td class="itemunit"><a class="bold" href="OSM.SlippyMapUtils.html">OSM.SlippyMapUtils</a></td> -<td class="itemdesc"><p>Checks if point <code>Pt</code> is inside a map at zoom level <code>Zoom</code></p></td> +<td class="itemdesc"><p>Checks if rect <code>Rc</code> is inside a map at zoom level <code>Zoom</code></p></td> </tr> <tr class="list"> <td class="itemname"><a class="bold" href="OSM.SlippyMapUtils.html#InMap">InMap</a></td> <td class="itemunit"><a class="bold" href="OSM.SlippyMapUtils.html">OSM.SlippyMapUtils</a></td> -<td class="itemdesc"><p>Checks if rect <code>Rc</code> is inside a map at zoom level <code>Zoom</code></p></td> +<td class="itemdesc"><p>Checks if point <code>Pt</code> is inside a map at zoom level <code>Zoom</code></p></td> </tr> <tr class="list2"> <td class="itemname"><a class="bold" href="OSM.SlippyMapUtils.html#LatitudeToMapCoord">LatitudeToMapCoord</a></td> @@ -160,12 +160,12 @@ <h1 class="allitems">All Identifiers</h1> <tr class="list"> <td class="itemname"><a class="bold" href="OSM.SlippyMapUtils.html#MapToGeoCoords">MapToGeoCoords</a></td> <td class="itemunit"><a class="bold" href="OSM.SlippyMapUtils.html">OSM.SlippyMapUtils</a></td> -<td class="itemdesc"><p>Converts map point in pixels to geo point in degrees</p></td> +<td class="itemdesc"><p>Converts map rect in pixels to geo rect in degrees</p></td> </tr> <tr class="list2"> <td class="itemname"><a class="bold" href="OSM.SlippyMapUtils.html#MapToGeoCoords">MapToGeoCoords</a></td> <td class="itemunit"><a class="bold" href="OSM.SlippyMapUtils.html">OSM.SlippyMapUtils</a></td> -<td class="itemdesc"><p>Converts map rect in pixels to geo rect in degrees</p></td> +<td class="itemdesc"><p>Converts map point in pixels to geo point in degrees</p></td> </tr> <tr class="list"> <td class="itemname"><a class="bold" href="OSM.SlippyMapUtils.html#MapWidth">MapWidth</a></td> @@ -253,241 +253,246 @@ <h1 class="allitems">All Identifiers</h1> <td class="itemdesc"><p>Region on a map defined by two pairs of longitude and latitude.</p></td> </tr> <tr class="list2"> +<td class="itemname"><a class="bold" href="OSM.TilesProvider.Google.TGoogleTilesProvider.html">TGoogleTilesProvider</a></td> +<td class="itemunit"><a class="bold" href="OSM.TilesProvider.Google.html">OSM.TilesProvider.Google</a></td> +<td class="itemdesc"><p>Google tile image provider</p></td> +</tr> +<tr class="list"> <td class="itemname"><a class="bold" href="OSM.NetworkRequest.html#TGotTileCallbackBgThr">TGotTileCallbackBgThr</a></td> <td class="itemunit"><a class="bold" href="OSM.NetworkRequest.html">OSM.NetworkRequest</a></td> <td class="itemdesc"><p>Generic type of method to call when request is completed <br> ! <strong>Called from the context of a background thread</strong> ! </p></td> </tr> -<tr class="list"> +<tr class="list2"> <td class="itemname"><a class="bold" href="OSM.TilesProvider.HERE.THERETilesProvider.html">THERETilesProvider</a></td> <td class="itemunit"><a class="bold" href="OSM.TilesProvider.HERE.html">OSM.TilesProvider.HERE</a></td> <td class="itemdesc"><p>HERE tile image provider</p></td> </tr> -<tr class="list2"> +<tr class="list"> <td class="itemname"><a class="bold" href="OSM.NetworkRequest.html#THttpRequestCapabilities">THttpRequestCapabilities</a></td> <td class="itemunit"><a class="bold" href="OSM.NetworkRequest.html">OSM.NetworkRequest</a></td> <td class="itemdesc"><p>Capabilities that a network engine has</p></td> </tr> -<tr class="list"> +<tr class="list2"> <td class="itemname"><a class="bold" href="OSM.NetworkRequest.THttpRequestProps.html">THttpRequestProps</a></td> <td class="itemunit"><a class="bold" href="OSM.NetworkRequest.html">OSM.NetworkRequest</a></td> <td class="itemdesc"><p>Generic properties of request.</p></td> </tr> -<tr class="list2"> +<tr class="list"> <td class="itemname"><a class="bold" href="OSM.SlippyMapUtils.html#TileCount">TileCount</a></td> <td class="itemunit"><a class="bold" href="OSM.SlippyMapUtils.html">OSM.SlippyMapUtils</a></td> <td class="itemdesc"><p>Returns count of tiles on <code>Zoom</code> level (= <code>2ˆZoom</code>)</p></td> </tr> -<tr class="list"> +<tr class="list2"> <td class="itemname"><a class="bold" href="OSM.SlippyMapUtils.html#TileMetersPerPixelOnEquator">TileMetersPerPixelOnEquator</a></td> <td class="itemunit"><a class="bold" href="OSM.SlippyMapUtils.html">OSM.SlippyMapUtils</a></td> <td class="itemdesc"><p>See <a href="https://wiki.openstreetmap.org/wiki/Zoom_levels">https://wiki.openstreetmap.org/wiki/Zoom_levels</a> 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</p></td> </tr> -<tr class="list2"> +<tr class="list"> <td class="itemname"><a class="bold" href="OSM.SlippyMapUtils.html#TilesEqual">TilesEqual</a></td> <td class="itemunit"><a class="bold" href="OSM.SlippyMapUtils.html">OSM.SlippyMapUtils</a></td> <td class="itemdesc"><p>Compares tiles</p></td> </tr> -<tr class="list"> +<tr class="list2"> <td class="itemname"><a class="bold" href="OSM.SlippyMapUtils.html#TileToStr">TileToStr</a></td> <td class="itemunit"><a class="bold" href="OSM.SlippyMapUtils.html">OSM.SlippyMapUtils</a></td> <td class="itemdesc"><p>Returns standartized string representation of <code>Tile</code></p></td> </tr> -<tr class="list2"> +<tr class="list"> <td class="itemname"><a class="bold" href="OSM.SlippyMapUtils.html#TileValid">TileValid</a></td> <td class="itemunit"><a class="bold" href="OSM.SlippyMapUtils.html">OSM.SlippyMapUtils</a></td> <td class="itemdesc"><p>Checks <code>Tile</code> fields for validity</p></td> </tr> -<tr class="list"> +<tr class="list2"> <td class="itemname"><a class="bold" href="OSM.TileStorage.html#TILE_BITMAP_SIZE">TILE_BITMAP_SIZE</a></td> <td class="itemunit"><a class="bold" href="OSM.TileStorage.html">OSM.TileStorage</a></td> <td class="itemdesc"><p>Amount of bytes that a single tile bitmap occupies in memory.</p></td> </tr> -<tr class="list2"> +<tr class="list"> <td class="itemname"><a class="bold" href="OSM.SlippyMapUtils.html#TILE_IMAGE_HEIGHT">TILE_IMAGE_HEIGHT</a></td> <td class="itemunit"><a class="bold" href="OSM.SlippyMapUtils.html">OSM.SlippyMapUtils</a></td> <td class="itemdesc"><p>Height of map tile in pixels</p></td> </tr> -<tr class="list"> +<tr class="list2"> <td class="itemname"><a class="bold" href="OSM.SlippyMapUtils.html#TILE_IMAGE_WIDTH">TILE_IMAGE_WIDTH</a></td> <td class="itemunit"><a class="bold" href="OSM.SlippyMapUtils.html">OSM.SlippyMapUtils</a></td> <td class="itemdesc"><p>Width of map tile in pixels</p></td> </tr> -<tr class="list2"> +<tr class="list"> <td class="itemname"><a class="bold" href="OSM.MapControl.TMapControl.html">TMapControl</a></td> <td class="itemunit"><a class="bold" href="OSM.MapControl.html">OSM.MapControl</a></td> <td class="itemdesc"><p>Control displaying a map or its visible part.</p></td> </tr> -<tr class="list"> +<tr class="list2"> <td class="itemname"><a class="bold" href="OSM.MapControl.html#TMapLayer">TMapLayer</a></td> <td class="itemunit"><a class="bold" href="OSM.MapControl.html">OSM.MapControl</a></td> <td class="itemdesc"><p>Number of a layer</p></td> </tr> -<tr class="list2"> +<tr class="list"> <td class="itemname"><a class="bold" href="OSM.MapControl.html#TMapLayers">TMapLayers</a></td> <td class="itemunit"><a class="bold" href="OSM.MapControl.html">OSM.MapControl</a></td> <td class="itemdesc"><p> </p></td> </tr> -<tr class="list"> +<tr class="list2"> <td class="itemname"><a class="bold" href="OSM.MapControl.TMapMark.html">TMapMark</a></td> <td class="itemunit"><a class="bold" href="OSM.MapControl.html">OSM.MapControl</a></td> <td class="itemdesc"><p>Class representing a single mapmark.</p></td> </tr> -<tr class="list2"> +<tr class="list"> <td class="itemname"><a class="bold" href="OSM.MapControl.TMapMarkCaptionStyle.html">TMapMarkCaptionStyle</a></td> <td class="itemunit"><a class="bold" href="OSM.MapControl.html">OSM.MapControl</a></td> <td class="itemdesc"><p>Visual properties of mapmark's caption</p></td> </tr> -<tr class="list"> +<tr class="list2"> <td class="itemname"><a class="bold" href="OSM.MapControl.html#TMapMarkCustomProp">TMapMarkCustomProp</a></td> <td class="itemunit"><a class="bold" href="OSM.MapControl.html">OSM.MapControl</a></td> <td class="itemdesc"><p>Flags to indicate which properties must be taken from MapMark object when drawing.</p></td> </tr> -<tr class="list2"> +<tr class="list"> <td class="itemname"><a class="bold" href="OSM.MapControl.html#TMapMarkCustomProps">TMapMarkCustomProps</a></td> <td class="itemunit"><a class="bold" href="OSM.MapControl.html">OSM.MapControl</a></td> <td class="itemdesc"><p> </p></td> </tr> -<tr class="list"> +<tr class="list2"> <td class="itemname"><a class="bold" href="OSM.MapControl.html#TMapMarkGlyphShape">TMapMarkGlyphShape</a></td> <td class="itemunit"><a class="bold" href="OSM.MapControl.html">OSM.MapControl</a></td> <td class="itemdesc"><p>Shape of mapmark glyph</p></td> </tr> -<tr class="list2"> +<tr class="list"> <td class="itemname"><a class="bold" href="OSM.MapControl.TMapMarkGlyphStyle.html">TMapMarkGlyphStyle</a></td> <td class="itemunit"><a class="bold" href="OSM.MapControl.html">OSM.MapControl</a></td> <td class="itemdesc"><p>Visual properties of mapmark's glyph</p></td> </tr> -<tr class="list"> +<tr class="list2"> <td class="itemname"><a class="bold" href="OSM.MapControl.TMapMarkList.html">TMapMarkList</a></td> <td class="itemunit"><a class="bold" href="OSM.MapControl.html">OSM.MapControl</a></td> <td class="itemdesc"><p>List of mapmarks.</p></td> </tr> -<tr class="list2"> +<tr class="list"> <td class="itemname"><a class="bold" href="OSM.MapControl.html#TMapMouseMode">TMapMouseMode</a></td> <td class="itemunit"><a class="bold" href="OSM.MapControl.html">OSM.MapControl</a></td> <td class="itemdesc"><p>Mode of handling of plain left mouse button press</p></td> </tr> -<tr class="list"> +<tr class="list2"> <td class="itemname"><a class="bold" href="OSM.MapControl.html#TMapOption">TMapOption</a></td> <td class="itemunit"><a class="bold" href="OSM.MapControl.html">OSM.MapControl</a></td> <td class="itemdesc"><p>Options of map control</p></td> </tr> -<tr class="list2"> +<tr class="list"> <td class="itemname"><a class="bold" href="OSM.MapControl.html#TMapOptions">TMapOptions</a></td> <td class="itemunit"><a class="bold" href="OSM.MapControl.html">OSM.MapControl</a></td> <td class="itemdesc"><p> </p></td> </tr> -<tr class="list"> +<tr class="list2"> <td class="itemname"><a class="bold" href="OSM.SlippyMapUtils.html#TMapZoomLevel">TMapZoomLevel</a></td> <td class="itemunit"><a class="bold" href="OSM.SlippyMapUtils.html">OSM.SlippyMapUtils</a></td> <td class="itemdesc"><p>Map zoom.</p></td> </tr> -<tr class="list2"> +<tr class="list"> <td class="itemname"><a class="bold" href="OSM.NetworkRequest.TNetworkRequestQueue.html">TNetworkRequestQueue</a></td> <td class="itemunit"><a class="bold" href="OSM.NetworkRequest.html">OSM.NetworkRequest</a></td> <td class="itemdesc"><p>Queuer of network requests.</p></td> </tr> -<tr class="list"> +<tr class="list2"> <td class="itemname"><a class="bold" href="OSM.MapControl.html#ToInnerCoords">ToInnerCoords</a></td> <td class="itemunit"><a class="bold" href="OSM.MapControl.html">OSM.MapControl</a></td> <td class="itemdesc"><p>Convert absolute map rect to a rect inside a viewport having given top-left point</p></td> </tr> -<tr class="list2"> +<tr class="list"> <td class="itemname"><a class="bold" href="OSM.MapControl.html#ToInnerCoords">ToInnerCoords</a></td> <td class="itemunit"><a class="bold" href="OSM.MapControl.html">OSM.MapControl</a></td> <td class="itemdesc"><p>Convert absolute map coords to a point inside a viewport having given top-left point</p></td> </tr> -<tr class="list"> +<tr class="list2"> <td class="itemname"><a class="bold" href="OSM.MapControl.html#TOnDrawMapMark">TOnDrawMapMark</a></td> <td class="itemunit"><a class="bold" href="OSM.MapControl.html">OSM.MapControl</a></td> <td class="itemdesc"><p>Callback to custom draw a mapmark.</p></td> </tr> -<tr class="list2"> +<tr class="list"> <td class="itemname"><a class="bold" href="OSM.MapControl.html#TOnDrawTile">TOnDrawTile</a></td> <td class="itemunit"><a class="bold" href="OSM.MapControl.html">OSM.MapControl</a></td> <td class="itemdesc"><p>Callback to draw an image of a single tile having number (<code>TileHorzNum</code>;<code>TileVertNum</code>) at point <code>TopLeft</code> on canvas <code>Canvas</code>.</p></td> </tr> -<tr class="list"> +<tr class="list2"> <td class="itemname"><a class="bold" href="OSM.MapControl.html#TOnGetTile">TOnGetTile</a></td> <td class="itemunit"><a class="bold" href="OSM.MapControl.html">OSM.MapControl</a></td> <td class="itemdesc"><p>Callback to get an image of a single tile having number (<code>TileHorzNum</code>;<code>TileVertNum</code>).</p></td> </tr> -<tr class="list2"> +<tr class="list"> <td class="itemname"><a class="bold" href="OSM.MapControl.html#TOnItemNotify">TOnItemNotify</a></td> <td class="itemunit"><a class="bold" href="OSM.MapControl.html">OSM.MapControl</a></td> <td class="itemdesc"><p>Notification of an action over a mapmark in a list</p></td> </tr> -<tr class="list"> +<tr class="list2"> <td class="itemname"><a class="bold" href="OSM.MapControl.html#TOnSelectionBox">TOnSelectionBox</a></td> <td class="itemunit"><a class="bold" href="OSM.MapControl.html">OSM.MapControl</a></td> <td class="itemdesc"><p>Callback to react on selection by mouse</p></td> </tr> -<tr class="list2"> -<td class="itemname"><a class="bold" href="OSM.MapControl.html#ToOuterCoords">ToOuterCoords</a></td> -<td class="itemunit"><a class="bold" href="OSM.MapControl.html">OSM.MapControl</a></td> -<td class="itemdesc"><p>Convert a point inside a viewport having given top-left point to absolute map coords</p></td> -</tr> <tr class="list"> <td class="itemname"><a class="bold" href="OSM.MapControl.html#ToOuterCoords">ToOuterCoords</a></td> <td class="itemunit"><a class="bold" href="OSM.MapControl.html">OSM.MapControl</a></td> <td class="itemdesc"><p>Convert a rect inside a viewport having given top-left point to absolute map rect</p></td> </tr> <tr class="list2"> +<td class="itemname"><a class="bold" href="OSM.MapControl.html#ToOuterCoords">ToOuterCoords</a></td> +<td class="itemunit"><a class="bold" href="OSM.MapControl.html">OSM.MapControl</a></td> +<td class="itemdesc"><p>Convert a point inside a viewport having given top-left point to absolute map coords</p></td> +</tr> +<tr class="list"> <td class="itemname"><a class="bold" href="OSM.TilesProvider.OSM.TOSMTilesProvider.html">TOSMTilesProvider</a></td> <td class="itemunit"><a class="bold" href="OSM.TilesProvider.OSM.html">OSM.TilesProvider.OSM</a></td> <td class="itemdesc"><p>OpenStreetMap tile image provider</p></td> </tr> -<tr class="list"> +<tr class="list2"> <td class="itemname"><a class="bold" href="OSM.SlippyMapUtils.html#ToTileBoundary">ToTileBoundary</a></td> <td class="itemunit"><a class="bold" href="OSM.SlippyMapUtils.html">OSM.SlippyMapUtils</a></td> <td class="itemdesc"><p>Align absolute map rect to tile boundaries</p></td> </tr> -<tr class="list2"> +<tr class="list"> <td class="itemname"><a class="bold" href="OSM.SlippyMapUtils.html#ToTileHeightGreater">ToTileHeightGreater</a></td> <td class="itemunit"><a class="bold" href="OSM.SlippyMapUtils.html">OSM.SlippyMapUtils</a></td> <td class="itemdesc"><p>Ceil vertical map coord to tile size</p></td> </tr> -<tr class="list"> +<tr class="list2"> <td class="itemname"><a class="bold" href="OSM.SlippyMapUtils.html#ToTileHeightLesser">ToTileHeightLesser</a></td> <td class="itemunit"><a class="bold" href="OSM.SlippyMapUtils.html">OSM.SlippyMapUtils</a></td> <td class="itemdesc"><p>Floor vertical map coord to tile size</p></td> </tr> -<tr class="list2"> +<tr class="list"> <td class="itemname"><a class="bold" href="OSM.SlippyMapUtils.html#ToTileWidthGreater">ToTileWidthGreater</a></td> <td class="itemunit"><a class="bold" href="OSM.SlippyMapUtils.html">OSM.SlippyMapUtils</a></td> <td class="itemdesc"><p>Ceil horizontal map coord to tile size</p></td> </tr> -<tr class="list"> +<tr class="list2"> <td class="itemname"><a class="bold" href="OSM.SlippyMapUtils.html#ToTileWidthLesser">ToTileWidthLesser</a></td> <td class="itemunit"><a class="bold" href="OSM.SlippyMapUtils.html">OSM.SlippyMapUtils</a></td> <td class="itemdesc"><p>Floor horizontal map coord to tile size</p></td> </tr> -<tr class="list2"> +<tr class="list"> <td class="itemname"><a class="bold" href="OSM.SlippyMapUtils.TTile.html">TTile</a></td> <td class="itemunit"><a class="bold" href="OSM.SlippyMapUtils.html">OSM.SlippyMapUtils</a></td> <td class="itemdesc"><p>Properties of a map tile</p></td> </tr> -<tr class="list"> +<tr class="list2"> <td class="itemname"><a class="bold" href="OSM.TileStorage.TTileObjectCache.html">TTileObjectCache</a></td> <td class="itemunit"><a class="bold" href="OSM.TileStorage.html">OSM.TileStorage</a></td> <td class="itemdesc"><p>Abstract object cache class indexed by tiles with fixed capacity organised as queue.</p></td> </tr> -<tr class="list2"> +<tr class="list"> <td class="itemname"><a class="bold" href="OSM.TilesProvider.TTilesProvider.html">TTilesProvider</a></td> <td class="itemunit"><a class="bold" href="OSM.TilesProvider.html">OSM.TilesProvider</a></td> <td class="itemdesc"><p>Abstract base class for tile image provider.</p></td> </tr> -<tr class="list"> +<tr class="list2"> <td class="itemname"><a class="bold" href="OSM.TileStorage.TTileStorage.html">TTileStorage</a></td> <td class="itemunit"><a class="bold" href="OSM.TileStorage.html">OSM.TileStorage</a></td> <td class="itemdesc"><p>Class that encapsulates memory and file cache of tile images.</p></td> </tr> -<tr class="list2"> +<tr class="list"> <td class="itemname"><a class="bold" href="OSM.TileStorage.html#TTileStorageOption">TTileStorageOption</a></td> <td class="itemunit"><a class="bold" href="OSM.TileStorage.html">OSM.TileStorage</a></td> <td class="itemdesc"><p>Flags for <a class="normal" href="OSM.TileStorage.TTileStorage.html">TTileStorage</a></p></td> </tr> -<tr class="list"> +<tr class="list2"> <td class="itemname"><a class="bold" href="OSM.TileStorage.html#TTileStorageOptions">TTileStorageOptions</a></td> <td class="itemunit"><a class="bold" href="OSM.TileStorage.html">OSM.TileStorage</a></td> <td class="itemdesc"><p> </p></td> 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 @@ <h1 class="allitems">All Units</h1> <td class="itemdesc"><p>Generic (no real implementation) base class for tile image provider.</p></td> </tr> <tr class="list2"> +<td class="itemname"><a class="bold" href="OSM.TilesProvider.Google.html">OSM.TilesProvider.Google</a></td> +<td class="itemdesc"><p>Google tile image provider.</p></td> +</tr> +<tr class="list"> <td class="itemname"><a class="bold" href="OSM.TilesProvider.HERE.html">OSM.TilesProvider.HERE</a></td> <td class="itemdesc"><p>HERE tile image provider.</p></td> </tr> -<tr class="list"> +<tr class="list2"> <td class="itemname"><a class="bold" href="OSM.TilesProvider.OSM.html">OSM.TilesProvider.OSM</a></td> <td class="itemdesc"><p>OpenStreetMap tile image provider.</p></td> </tr> -<tr class="list2"> +<tr class="list"> <td class="itemname"><a class="bold" href="OSM.TileStorage.html">OSM.TileStorage</a></td> <td class="itemdesc"><p>OSM tile images cache.</p></td> </tr> 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 @@ <h1 class="allitems">Class Hierarchy</h1> <ul class="hierarchylevel"> <li>TObject<ul class="hierarchylevel"> <li><a class="bold" href="OSM.NetworkRequest.THttpRequestProps.html">THttpRequestProps</a><li><a class="bold" href="OSM.MapControl.TMapMark.html">TMapMark</a><li><a class="bold" href="OSM.MapControl.TMapMarkList.html">TMapMarkList</a><li><a class="bold" href="OSM.NetworkRequest.TNetworkRequestQueue.html">TNetworkRequestQueue</a><li><a class="bold" href="OSM.TileStorage.TTileObjectCache.html">TTileObjectCache</a><li><a class="bold" href="OSM.TilesProvider.TTilesProvider.html">TTilesProvider</a><ul class="hierarchylevel"> -<li><a class="bold" href="OSM.TilesProvider.TDummyTilesProvider.html">TDummyTilesProvider</a><li><a class="bold" href="OSM.TilesProvider.HERE.THERETilesProvider.html">THERETilesProvider</a><li><a class="bold" href="OSM.TilesProvider.OSM.TOSMTilesProvider.html">TOSMTilesProvider</a></ul> +<li><a class="bold" href="OSM.TilesProvider.TDummyTilesProvider.html">TDummyTilesProvider</a><li><a class="bold" href="OSM.TilesProvider.Google.TGoogleTilesProvider.html">TGoogleTilesProvider</a><li><a class="bold" href="OSM.TilesProvider.HERE.THERETilesProvider.html">THERETilesProvider</a><li><a class="bold" href="OSM.TilesProvider.OSM.TOSMTilesProvider.html">TOSMTilesProvider</a></ul> </li> <li><a class="bold" href="OSM.TileStorage.TTileStorage.html">TTileStorage</a></ul> </li> 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 @@ +<!DOCTYPE html> +<html lang="en"> +<head> +<title>OSM Map control: OSM.TilesProvider.Google: Class TGoogleTilesProvider</title> +<meta name="viewport" content="width=device-width, initial-scale=1"> +<meta name="generator" content="PasDoc 0.16.0"> +<meta http-equiv="content-type" content="text/html; charset=utf-8"> +<link rel="StyleSheet" type="text/css" href="pasdoc.css"> +</head> +<body> +<div class="container"><div class="navigation"> +<h2><a href="index.html">OSM Map control</a></h2><ul><li><a href="AllUnits.html">Units</a></li><li><a href="ClassHierarchy.html">Class Hierarchy</a></li><li><a href="AllClasses.html">Classes, Interfaces, Objects and Records</a></li><li><a href="AllTypes.html">Types</a></li><li><a href="AllVariables.html">Variables</a></li><li><a href="AllConstants.html">Constants</a></li><li><a href="AllFunctions.html">Functions and Procedures</a></li><li><a href="AllIdentifiers.html">Identifiers</a></li></ul></div><div class="content"> +<span id="TGoogleTilesProvider"></span><h1 class="cio">Class TGoogleTilesProvider</h1> +<div class="sections"> +<div class="one_section"><a class="section" href="#PasDoc-Description">Description</a></div><div class="one_section"><a class="section" href="#PasDoc-Hierarchy">Hierarchy</a></div><div class="one_section"><a class="section" href="#PasDoc-Fields">Fields</a></div><div class="one_section"><a class="section" href="#PasDoc-Methods">Methods</a></div><div class="one_section">Properties</div></div> +<span id="PasDoc-Description"></span><h2 class="unit">Unit</h2> +<p class="unitlink"> +<a href="OSM.TilesProvider.Google.html">OSM.TilesProvider.Google</a></p> +<h2 class="declaration">Declaration</h2> +<p class="declaration"> +<code>type TGoogleTilesProvider = class(<a class="normal" href="OSM.TilesProvider.TTilesProvider.html">TTilesProvider</a>)</code></p> +<h2 class="description">Description</h2> +<p> +Google tile image provider</p> +<span id="PasDoc-Hierarchy"></span><h2 class="hierarchy">Hierarchy</h2> +<ul class="hierarchy"><li class="ancestor">TObject</li> +<li class="ancestor"><a class="normal" href="OSM.TilesProvider.TTilesProvider.html">TTilesProvider</a></li> +<li class="thisitem">TGoogleTilesProvider</li></ul><h2 class="overview">Overview</h2> +<span id="PasDoc-Fields"></span><h3 class="summary">Fields</h3> +<table class="summary wide_list"> +<tr class="list"> +<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td> +<td class="itemcode"><code>nested const <strong><a href="OSM.TilesProvider.Google.TGoogleTilesProvider.html#DefTilesCopyright">DefTilesCopyright</a></strong> = '(c) Google';</code></td> +</tr> +<tr class="list2"> +<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td> +<td class="itemcode"><code>nested const <strong><a href="OSM.TilesProvider.Google.TGoogleTilesProvider.html#DefTileURLPatt">DefTileURLPatt</a></strong> = 'http://mt%d.google.com/vt/lyrs=m&hl=en&x=%d&y=%d&z=%d';</code></td> +</tr> +<tr class="list"> +<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td> +<td class="itemcode"><code>nested const <strong><a href="OSM.TilesProvider.Google.TGoogleTilesProvider.html#MaxSubdomainNum">MaxSubdomainNum</a></strong> = 3;</code></td> +</tr> +<tr class="list2"> +<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td> +<td class="itemcode"><code><strong><a href="OSM.TilesProvider.Google.TGoogleTilesProvider.html#TileURLPatt">TileURLPatt</a></strong>: string;</code></td> +</tr> +</table> +<span id="PasDoc-Methods"></span><h3 class="summary">Methods</h3> +<table class="summary wide_list"> +<tr class="list"> +<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td> +<td class="itemcode"><code>constructor <strong><a href="OSM.TilesProvider.Google.TGoogleTilesProvider.html#Create">Create</a></strong>;</code></td> +</tr> +<tr class="list2"> +<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td> +<td class="itemcode"><code>function <strong><a href="OSM.TilesProvider.Google.TGoogleTilesProvider.html#GetTileURL">GetTileURL</a></strong>(const Tile: <a href="OSM.SlippyMapUtils.TTile.html">TTile</a>): string; override;</code></td> +</tr> +</table> +<h2 class="description">Description</h2> +<h3 class="detail">Fields</h3> +<table class="detail wide_list"> +<tr class="list"> +<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td> +<td class="itemcode"><span id="DefTilesCopyright"></span><code>nested const <strong>DefTilesCopyright</strong> = '(c) Google';</code></td> +</tr> +<tr><td colspan="2"> +<p> +Default copyright text</p> +</td></tr> +</table> +<table class="detail wide_list"> +<tr class="list"> +<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td> +<td class="itemcode"><span id="DefTileURLPatt"></span><code>nested const <strong>DefTileURLPatt</strong> = 'http://mt%d.google.com/vt/lyrs=m&hl=en&x=%d&y=%d&z=%d';</code></td> +</tr> +<tr><td colspan="2"> +<p> +Default pattern of tile URL. Placeholders are for: Random subdomain (0..MaxSubdomainNum), X, Y, Zoom</p> +</td></tr> +</table> +<table class="detail wide_list"> +<tr class="list"> +<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td> +<td class="itemcode"><span id="MaxSubdomainNum"></span><code>nested const <strong>MaxSubdomainNum</strong> = 3;</code></td> +</tr> +<tr><td colspan="2"> +<p> +Maximal subdomain number</p> +</td></tr> +</table> +<table class="detail wide_list"> +<tr class="list"> +<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td> +<td class="itemcode"><span id="TileURLPatt"></span><code><strong>TileURLPatt</strong>: string;</code></td> +</tr> +<tr><td colspan="2"> +<p> +Pattern of tile URL. Placeholders are for: Random subdomain (0..MaxSubdomainNum), X, Y, Zoom</p> +</td></tr> +</table> +<h3 class="detail">Methods</h3> +<table class="detail wide_list"> +<tr class="list"> +<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td> +<td class="itemcode"><span id="Create"></span><code>constructor <strong>Create</strong>;</code></td> +</tr> +<tr><td colspan="2"> + </td></tr> +</table> +<table class="detail wide_list"> +<tr class="list"> +<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td> +<td class="itemcode"><span id="GetTileURL"></span><code>function <strong>GetTileURL</strong>(const Tile: <a href="OSM.SlippyMapUtils.TTile.html">TTile</a>): string; override;</code></td> +</tr> +<tr><td colspan="2"> + </td></tr> +</table> +<hr><span class="appinfo"><em>Generated by <a href="https://pasdoc.github.io/">PasDoc 0.16.0</a>. </em> +</span> +</div></div></body></html> 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 @@ +<!DOCTYPE html> +<html lang="en"> +<head> +<title>OSM Map control: OSM.TilesProvider.Google</title> +<meta name="viewport" content="width=device-width, initial-scale=1"> +<meta name="generator" content="PasDoc 0.16.0"> +<meta http-equiv="content-type" content="text/html; charset=utf-8"> +<link rel="StyleSheet" type="text/css" href="pasdoc.css"> +</head> +<body> +<div class="container"><div class="navigation"> +<h2><a href="index.html">OSM Map control</a></h2><ul><li><a href="AllUnits.html">Units</a></li><li><a href="ClassHierarchy.html">Class Hierarchy</a></li><li><a href="AllClasses.html">Classes, Interfaces, Objects and Records</a></li><li><a href="AllTypes.html">Types</a></li><li><a href="AllVariables.html">Variables</a></li><li><a href="AllConstants.html">Constants</a></li><li><a href="AllFunctions.html">Functions and Procedures</a></li><li><a href="AllIdentifiers.html">Identifiers</a></li></ul></div><div class="content"> +<h1 class="unit">Unit OSM.TilesProvider.Google</h1> +<div class="sections"> +<div class="one_section"><a class="section" href="#PasDoc-Description">Description</a></div><div class="one_section">Uses</div><div class="one_section"><a class="section" href="#PasDoc-Classes">Classes, Interfaces, Objects and Records</a></div><div class="one_section">Functions and Procedures</div><div class="one_section">Types</div><div class="one_section">Constants</div><div class="one_section">Variables</div></div> +<span id="PasDoc-Description"></span><h2 class="description">Description</h2> +<p> +Google tile image provider. <a href="https://gis.stackexchange.com/questions/225098/using-google-maps-static-tiles-with-leaflet">https://gis.stackexchange.com/questions/225098/using-google-maps-static-tiles-with-leaflet</a> </p> + +<ul class="paragraph_spacing"> + <li><p>should be an official description but I didn't find it.</p></li> +</ul> + +<p> (c) Fr0sT-Brutal <a href="https://github.com/Fr0sT-Brutal/Delphi_OSMMap">https://github.com/Fr0sT-Brutal/Delphi_OSMMap</a> + +<p> </p> +<span id="PasDoc-Uses"></span><h2 class="overview">Overview</h2> +<span id="PasDoc-Classes"></span><h3 class="cio">Classes, Interfaces, Objects and Records</h3> +<table class="classestable wide_list"> +<tr class="listheader"> +<th class="itemname">Name</th> +<th class="itemdesc">Description</th> +</tr> +<tr class="list"> +<td class="itemname">Class <a class="bold" href="OSM.TilesProvider.Google.TGoogleTilesProvider.html"><code>TGoogleTilesProvider</code></a></td> +<td class="itemdesc">Google tile image provider</td> +</tr> +</table> +<h2 class="authors">Authors</h2> +<ul class="authors"> +<li>Fr0sT-Brutal (https://github.com/Fr0sT-Brutal)</li> +<li>Martin (https://github.com/array81)</li> +</ul> +<hr><span class="appinfo"><em>Generated by <a href="https://pasdoc.github.io/">PasDoc 0.16.0</a>. </em> +</span> +</div></div></body></html> 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 @@ <h2 class="description">Description</h2> </tr> <tr class="list"> <td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td> +<td class="itemcode"><code>nested const <strong><a href="OSM.TilesProvider.HERE.THERETilesProvider.html#MaxSubdomainNum">MaxSubdomainNum</a></strong> = 4;</code></td> +</tr> +<tr class="list2"> +<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td> <td class="itemcode"><code><strong><a href="OSM.TilesProvider.HERE.THERETilesProvider.html#TileURLPatt">TileURLPatt</a></strong>: string;</code></td> </tr> </table> @@ -71,7 +75,17 @@ <h3 class="detail">Fields</h3> </tr> <tr><td colspan="2"> <p> -Default pattern of tile URL. Placeholders are for: Random subdomain, Zoom, X, Y, <a class="normal" href="OSM.TilesProvider.TTilesProvider.html#APIKey">ApiKEY</a></p> +Default pattern of tile URL. Placeholders are for: Random subdomain (1..MaxSubdomainNum), Zoom, X, Y, <a class="normal" href="OSM.TilesProvider.TTilesProvider.html#APIKey">ApiKEY</a></p> +</td></tr> +</table> +<table class="detail wide_list"> +<tr class="list"> +<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td> +<td class="itemcode"><span id="MaxSubdomainNum"></span><code>nested const <strong>MaxSubdomainNum</strong> = 4;</code></td> +</tr> +<tr><td colspan="2"> +<p> +Maximal subdomain number</p> </td></tr> </table> <table class="detail wide_list"> @@ -81,7 +95,7 @@ <h3 class="detail">Fields</h3> </tr> <tr><td colspan="2"> <p> -Pattern of tile URL. Placeholders are for: Random subdomain, Zoom, X, Y, <a class="normal" href="OSM.TilesProvider.TTilesProvider.html#APIKey">ApiKEY</a></p> +Pattern of tile URL. Placeholders are for: Random subdomain (1..MaxSubdomainNum), Zoom, X, Y, <a class="normal" href="OSM.TilesProvider.TTilesProvider.html#APIKey">ApiKEY</a></p> </td></tr> </table> <h3 class="detail">Methods</h3> 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 @@ <h1 class="allitems">All Units</h1> <td class="itemdesc"><p>Generic (no real implementation) base class for tile image provider.</p></td> </tr> <tr class="list2"> +<td class="itemname"><a class="bold" href="OSM.TilesProvider.Google.html">OSM.TilesProvider.Google</a></td> +<td class="itemdesc"><p>Google tile image provider.</p></td> +</tr> +<tr class="list"> <td class="itemname"><a class="bold" href="OSM.TilesProvider.HERE.html">OSM.TilesProvider.HERE</a></td> <td class="itemdesc"><p>HERE tile image provider.</p></td> </tr> -<tr class="list"> +<tr class="list2"> <td class="itemname"><a class="bold" href="OSM.TilesProvider.OSM.html">OSM.TilesProvider.OSM</a></td> <td class="itemdesc"><p>OpenStreetMap tile image provider.</p></td> </tr> -<tr class="list2"> +<tr class="list"> <td class="itemname"><a class="bold" href="OSM.TileStorage.html">OSM.TileStorage</a></td> <td class="itemdesc"><p>OSM tile images cache.</p></td> </tr>