diff --git a/docs/docs/AllConstants.html b/docs/docs/AllConstants.html index 32222f3..21ed921 100644 --- a/docs/docs/AllConstants.html +++ b/docs/docs/AllConstants.html @@ -83,25 +83,35 @@
Prefix to add to proxy URLs if it only contains host:port - some URL parsers handle such inputs as proto:path
Constant containing all numbers of layers
Constant containing no layers
Timeout for connect and request
Headers that you could add to TNetworkRequestQueue.
Calculates distance between two geo points in meters Other
Ensures rect Rc
is inside a map at zoom level Zoom
, corrects values if necessary
Check if capability is in set of capabilities and raise exception if not
Check if a network engine is capable of handling all the request properties.
Check if response code means HTTP error, raise exception then
Ensures point Pt
is inside a map at zoom level Zoom
, corrects values if necessary
Ensures rect Rc
is inside a map at zoom level Zoom
, corrects values if necessary
Format URL for a given tile using OpenLayers-compatible URL template.
Converts geo rect in degrees to map rect in pixels
Converts geo point in degrees to map point in pixels
Calculates parameters of map scalebar according to zoom level Zoom
Checks if point Pt
is inside a map at zoom level Zoom
Checks if rect Rc
is inside a map at zoom level Zoom
Return true if response code means HTTP error
Capabilities of RTL engine Function executing a network request.
Capabilities of RTL engine Procedure executing a network request.
Function executing a network request.
Procedure executing a network request.
Function executing a network request.
Procedure executing a network request.
Convert a rect inside a viewport having given top-left point to absolute map rect
Convert a point inside a viewport having given top-left point to absolute map coords
Convert a point inside a viewport having given top-left point to absolute map coords
Convert a rect inside a viewport having given top-left point to absolute map rect
Calculates distance between two geo points in meters Other
Check if capability is in set of capabilities and raise exception if not
Check if a network engine is capable of handling all the request properties.
Check if response code means HTTP error, raise exception then
Default Width (Horizontal dimension) and Height (Vertical dimension) of cache image in number of tiles.
Default margin that is added to cache image to hold view area, in number of tiles
Default size of margin for labels on map, in pixels
Default style of mapmark caption.
Default style of mapmark glyph.
Default pattern of tile file path.
Capabilities of Synapse engine
Capabilities of WinInet engine
Ensures rect Rc
is inside a map at zoom level Zoom
, corrects values if necessary
Ensures point Pt
is inside a map at zoom level Zoom
, corrects values if necessary
Format URL for a given tile using OpenLayers-compatible URL template.
Default overall limit is 10k per process, choose reasonable number below this limit
Number of GDI handles per TBitmap
Number of GDI handles per TPngImage
Converts geo rect in degrees to map rect in pixels
Converts geo point in degrees to map point in pixels
Converts geo rect in degrees to map rect in pixels
Calculates parameters of map scalebar according to zoom level Zoom
Prefix to add to proxy URLs if it only contains host:port - some URL parsers handle such inputs as proto:path
Checks if rect Rc
is inside a map at zoom level Zoom
Return true if response code means HTTP error
Converts geo coord in degrees to map coord in pixels
Constant containing all numbers of layers
Constant containing no layers
Converts geo coord in degrees to map coord in pixels Degrees to pixels
Converts map coord in pixels to geo coord in degrees
Converts map coord in pixels to geo coord in degrees Pixels to degrees
Returns height of map at zoom level Zoom
in pixels
Converts map rect in pixels to geo rect in degrees
Converts map point in pixels to geo point in degrees
Returns width of map at zoom level Zoom
in pixels
Capabilities of RTL engine Function executing a network request.
Capabilities of RTL engine Procedure executing a network request.
Function executing a network request.
Procedure executing a network request.
Function executing a network request.
Procedure executing a network request.
Construct TRect
from two TPoint
-s
Add class of tiles provider to global TilesProviders array.
Timeout for connect and request
Headers that you could add to TNetworkRequestQueue.
Generic type of blocking network request function.
Generic type of blocking network request procedure.
Capabilities that a network engine has
Capabilities that a network engine has
Generic properties of request.
Returns count of tiles on Zoom
level (= 2ˆZoom
) Tile utils
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
Compares tiles
Global list of registered tiles providers.
Returns standartized string representation of Tile
Checks Tile
fields for validity
Amount of bytes that a single tile bitmap occupies in memory.
Height of map tile in pixels
Width of map tile in pixels
Control displaying a map or its visible part.
Number of a layer
Class representing a single mapmark.
Visual properties of mapmark's caption
Flags to indicate which properties must be taken from MapMark object when drawing.
Shape of mapmark glyph
Visual properties of mapmark's glyph
List of mapmarks.
Mode of handling of plain left mouse button press
Options of map control
Map zoom.
Base class for network client object.
Convert absolute map rect to a rect inside a viewport having given top-left point
Convert absolute map coords to a point inside a viewport having given top-left point
* Like Client<=>Screen
Convert absolute map rect to a rect inside a viewport having given top-left point
Convert a rect inside a viewport having given top-left point to absolute map rect
Convert a point inside a viewport having given top-left point to absolute map coords
Convert a point inside a viewport having given top-left point to absolute map coords
Convert a rect inside a viewport having given top-left point to absolute map rect
Generic type of blocking network request function.
Generic type of blocking network request procedure.
Capabilities that a network engine has
Capabilities that a network engine has
Number of a layer
Flags to indicate which properties must be taken from MapMark object when drawing.
Shape of mapmark glyph
Mode of handling of plain left mouse button press
Options of map control
Map zoom.
Base class for network client object.
function NetworkRequest(RequestProps: THttpRequestProps; ResponseStm: TStream; out ErrMsg: string): Boolean; |
+procedure NetworkRequest(RequestProps: THttpRequestProps; ResponseStm: TStream; var Client: TNetworkClient); |
function NetworkRequest(RequestProps: THttpRequestProps; ResponseStm: TStream; out ErrMsg: string): Boolean; |
+procedure NetworkRequest(RequestProps: THttpRequestProps; ResponseStm: TStream; var Client: TNetworkClient); |
-Capabilities of RTL engine Function executing a network request. See description of OSM.NetworkRequest.TBlockingNetworkRequestFunc type. |
For HTTPS-Support:
USES ssl_openssl;
copy libeay32.dll
copy ssleay32.dll
DEFINE SynapseSSL
copy libeay32.dll and ssleay32.dll near the binary
(c) Fr0sT-Brutal https://github.com/Fr0sT-Brutal/Delphi_OSMMap @@ -34,7 +33,7 @@
function NetworkRequest(RequestProps: THttpRequestProps; ResponseStm: TStream; out ErrMsg: string): Boolean; |
+procedure NetworkRequest(RequestProps: THttpRequestProps; ResponseStm: TStream; var Client: TNetworkClient); |
EngineCapabilities = [htcProxy, htcDirect, htcProxyAuth, htcAuth, htcAuthURL,
htcHeaders, htcTimeout
+ , htcSystemProxy
, htcTLS ];
function NetworkRequest(RequestProps: THttpRequestProps; ResponseStm: TStream; out ErrMsg: string): Boolean; |
+procedure NetworkRequest(RequestProps: THttpRequestProps; ResponseStm: TStream; var Client: TNetworkClient); |
-Function executing a network request. See description of OSM.NetworkRequest.TBlockingNetworkRequestFunc type. |
EngineCapabilities = [htcProxy, htcDirect, htcProxyAuth, htcAuth, htcAuthURL,
htcHeaders, htcTimeout
+ , htcSystemProxy
, htcTLS ];
- | constructor Create(MaxTasksPerThread, MaxThreads: Cardinal; RequestFunc: TBlockingNetworkRequestFunc; TilesProvider: TTilesProvider); |
+constructor Create(MaxTasksPerThread, MaxThreads: Cardinal; RequestProc: TBlockingNetworkRequestProc; TilesProvider: TTilesProvider); |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
@@ -64,7 +64,7 @@ |
- | constructor Create(MaxTasksPerThread, MaxThreads: Cardinal; RequestFunc: TBlockingNetworkRequestFunc; TilesProvider: TTilesProvider); |
+constructor Create(MaxTasksPerThread, MaxThreads: Cardinal; RequestProc: TBlockingNetworkRequestProc; TilesProvider: TTilesProvider); |
|||||||||||||||||||||||||||||||||||||||||||||||||||||
@@ -75,7 +75,7 @@ ParametersMaxTasksPerThread*%currentThreadCount% , add one more threadUnit OSM.NetworkRequest.WinInetFunctions and Procedures
Constants
DescriptionFunctions and Procedures
Constants
Functions and Procedures+
Types
Description+Functions and Procedures+
Types
|