diff --git a/docs/docs/AllFunctions.html b/docs/docs/AllFunctions.html index 28a70f8..f946df5 100644 --- a/docs/docs/AllFunctions.html +++ b/docs/docs/AllFunctions.html @@ -25,22 +25,22 @@

All Functions and Procedures

EnsureInMap OSM.SlippyMapUtils -

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

EnsureInMap OSM.SlippyMapUtils -

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

GeoCoordsToMap OSM.SlippyMapUtils -

Converts geo rect in degrees to map rect in pixels

+

Converts geo point in degrees to map point in pixels

GeoCoordsToMap OSM.SlippyMapUtils -

Converts geo point in degrees to map point in pixels

+

Converts geo rect in degrees to map rect in pixels

GetScaleBarParams @@ -85,12 +85,12 @@

All Functions and Procedures

MapToGeoCoords OSM.SlippyMapUtils -

Converts map rect in pixels to geo rect in degrees

+

Converts map point in pixels to geo point in degrees

MapToGeoCoords OSM.SlippyMapUtils -

Converts map point in pixels to geo point in degrees

+

Converts map rect in pixels to geo rect in degrees

MapWidth @@ -145,22 +145,47 @@

All Functions and Procedures

ToInnerCoords OSM.MapControl -

 

+

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

ToInnerCoords OSM.MapControl -

 

+

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

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

+ + +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


Generated by PasDoc 0.15.0. diff --git a/docs/docs/AllIdentifiers.html b/docs/docs/AllIdentifiers.html index 7aa4eb2..78d5db3 100644 --- a/docs/docs/AllIdentifiers.html +++ b/docs/docs/AllIdentifiers.html @@ -75,12 +75,12 @@

All Identifiers

EnsureInMap OSM.SlippyMapUtils -

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

EnsureInMap OSM.SlippyMapUtils -

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

GDI_HANDLES_LIMIT @@ -100,12 +100,12 @@

All Identifiers

GeoCoordsToMap OSM.SlippyMapUtils -

Converts geo point in degrees to map point in pixels

+

Converts geo rect in degrees to map rect in pixels

GeoCoordsToMap OSM.SlippyMapUtils -

Converts geo rect in degrees to map rect in pixels

+

Converts geo point in degrees to map point in pixels

GetScaleBarParams @@ -120,12 +120,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

LabelMargin @@ -415,12 +415,12 @@

All Identifiers

ToInnerCoords OSM.MapControl -

 

+

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

ToInnerCoords OSM.MapControl -

 

+

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

TOnDrawMapMark @@ -445,34 +445,59 @@

All Identifiers

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

+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.

- + 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/OSM.MapControl.html b/docs/docs/OSM.MapControl.html index 61934d4..202b53a 100644 --- a/docs/docs/OSM.MapControl.html +++ b/docs/docs/OSM.MapControl.html @@ -166,28 +166,36 @@

Functions and Procedures

function ToInnerCoords(const StartPt, Pt: TPoint): TPoint; overload; inline; -  +

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

+ +

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

+
function ToOuterCoords(const StartPt, Pt: TPoint): TPoint; overload; inline;
+

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

+
function ToInnerCoords(const StartPt: TPoint; const Rect: TRect): TRect; overload; inline;
+

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

+
function ToOuterCoords(const StartPt: TPoint; const Rect: TRect): TRect; overload; inline;

Types

diff --git a/docs/docs/OSM.NetworkRequest.TNetworkRequestQueue.html b/docs/docs/OSM.NetworkRequest.TNetworkRequestQueue.html index 4924190..bd6b69d 100644 --- a/docs/docs/OSM.NetworkRequest.TNetworkRequestQueue.html +++ b/docs/docs/OSM.NetworkRequest.TNetworkRequestQueue.html @@ -39,6 +39,10 @@

Description

+ + + +
Public procedure RequestTile(const Tile: TTile);
Publicprocedure SetCurrentViewRect(const ViewRect: TRect);

Properties

@@ -92,6 +96,16 @@
Parameters
Add request for an image for Tile to request queue

+ + + + + + +
Publicprocedure SetCurrentViewRect(const ViewRect: TRect);
+

+Set current view rect in absolute map coords. If smart ordering facilities are enabled, tiles inside current view have priority when extracted from request queue.

+

Properties

@@ -114,6 +128,7 @@

Properties

diff --git a/docs/docs/OSM.SlippyMapUtils.html b/docs/docs/OSM.SlippyMapUtils.html index 3551fc9..d660a1d 100644 --- a/docs/docs/OSM.SlippyMapUtils.html +++ b/docs/docs/OSM.SlippyMapUtils.html @@ -60,54 +60,69 @@

Unit OSM.SlippyMapUtils

- + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + +
function TilesEqual(const Tile1, Tile2: TTile): Boolean; inline;
function MapWidth(Zoom: TMapZoomLevel): Cardinal; inline;function ToTileWidthLesser(Width: Cardinal): Cardinal; inline;
function MapHeight(Zoom: TMapZoomLevel): Cardinal; inline;function ToTileHeightLesser(Height: Cardinal): Cardinal; inline;
function InMap(Zoom: TMapZoomLevel; const Pt: TPoint): Boolean; overload; inline;function ToTileWidthGreater(Width: Cardinal): Cardinal; inline;
function InMap(Zoom: TMapZoomLevel; const Rc: TRect): Boolean; overload; inline;function ToTileHeightGreater(Height: Cardinal): Cardinal; inline;
function EnsureInMap(Zoom: TMapZoomLevel; const Pt: TPoint): TPoint; overload; inline;function ToTileBoundary(const Rect: TRect): TRect;
function EnsureInMap(Zoom: TMapZoomLevel; const Rc: TRect): TRect; overload; inline;function MapWidth(Zoom: TMapZoomLevel): Cardinal; inline;
function LongitudeToMapCoord(Zoom: TMapZoomLevel; Longitude: Double): Cardinal;function MapHeight(Zoom: TMapZoomLevel): Cardinal; inline;
function LatitudeToMapCoord(Zoom: TMapZoomLevel; Latitude: Double): Cardinal;function InMap(Zoom: TMapZoomLevel; const Pt: TPoint): Boolean; overload; inline;
function MapCoordToLongitude(Zoom: TMapZoomLevel; X: Cardinal): Double;function InMap(Zoom: TMapZoomLevel; const Rc: TRect): Boolean; overload; inline;
function MapCoordToLatitude(Zoom: TMapZoomLevel; Y: Cardinal): Double;function EnsureInMap(Zoom: TMapZoomLevel; const Pt: TPoint): TPoint; overload; inline;
function MapToGeoCoords(Zoom: TMapZoomLevel; const MapPt: TPoint): TGeoPoint; overload; inline;function EnsureInMap(Zoom: TMapZoomLevel; const Rc: TRect): TRect; overload; inline;
function MapToGeoCoords(Zoom: TMapZoomLevel; const MapRect: TRect): TGeoRect; overload; inline;function LongitudeToMapCoord(Zoom: TMapZoomLevel; Longitude: Double): Cardinal;
function GeoCoordsToMap(Zoom: TMapZoomLevel; const GeoCoords: TGeoPoint): TPoint; overload; inline;function LatitudeToMapCoord(Zoom: TMapZoomLevel; Latitude: Double): Cardinal;
function GeoCoordsToMap(Zoom: TMapZoomLevel; const GeoRect: TGeoRect): TRect; overload; inline;function MapCoordToLongitude(Zoom: TMapZoomLevel; X: Cardinal): Double;
function CalcLinDistanceInMeter(const Coord1, Coord2: TGeoPoint): Double;function MapCoordToLatitude(Zoom: TMapZoomLevel; Y: Cardinal): Double;
procedure GetScaleBarParams(Zoom: TMapZoomLevel; out ScalebarWidthInPixel, ScalebarWidthInMeter: Cardinal; out Text: string);function MapToGeoCoords(Zoom: TMapZoomLevel; const MapPt: TPoint): TGeoPoint; overload; inline;
function MapToGeoCoords(Zoom: TMapZoomLevel; const MapRect: TRect): TGeoRect; overload; inline;
function GeoCoordsToMap(Zoom: TMapZoomLevel; const GeoCoords: TGeoPoint): TPoint; overload; inline;
function GeoCoordsToMap(Zoom: TMapZoomLevel; const GeoRect: TGeoRect): TRect; overload; inline;
function CalcLinDistanceInMeter(const Coord1, Coord2: TGeoPoint): Double;
procedure GetScaleBarParams(Zoom: TMapZoomLevel; out ScalebarWidthInPixel, ScalebarWidthInMeter: Cardinal; out Text: string);
function TileToFullSlippyMapFileURL(const Tile: TTile): string;
@@ -218,6 +233,51 @@

Functions and Procedures

+ + + +
function ToTileWidthLesser(Width: Cardinal): Cardinal; inline;
+

+Floor horizontal map coord to tile size

+
+ + + + + +
function ToTileHeightLesser(Height: Cardinal): Cardinal; inline;
+

+Floor vertical map coord to tile size

+
+ + + + + +
function ToTileWidthGreater(Width: Cardinal): Cardinal; inline;
+

+Ceil horizontal map coord to tile size

+
+ + + + + +
function ToTileHeightGreater(Height: Cardinal): Cardinal; inline;
+

+Ceil vertical map coord to tile size

+
+ + + + + +
function ToTileBoundary(const Rect: TRect): TRect;
+

+Align absolute map rect to tile boundaries

+
+ +
function MapWidth(Zoom: TMapZoomLevel): Cardinal; inline;