Manages web-based Mercator tile fetching and image composition for aerial imagery.
More...
|
|
fltp08 | m_device_pixel_ratio = 1.0 |
| | The device pixel ratio for high-DPI rendering.
|
|
Dictionary< UUID, QImage > | m_image_buffers |
| | Partially composed tile images per request ID.
|
|
Dictionary< UUID, UUID > | m_image_get_id |
| | Maps image request IDs to tile service IDs.
|
|
QNetworkAccessManager * | m_network_manager = nullptr |
| | The Qt network access manager for HTTP requests.
|
|
Dictionary< UUID, QueueBuffer< WebMercatorTileRequest > > | m_pending_web_requests |
| | Queued tile requests per request ID.
|
|
ProgressInfo | m_progress |
| | Tracks progress of ongoing tile fetch operations.
|
|
MercatorProcessThread * | m_thread |
| | The background processing thread for tile requests.
|
|
UUID | m_wgs_84 = Constant<UUID>::Invalid |
| | The WGS84 coordinate system UUID.
|
Manages web-based Mercator tile fetching and image composition for aerial imagery.
Definition at line 235 of file WebMercatorTiledImageManager.h.
◆ DefaultManager()
◆ defaultService()
Returns the default tile service for the given aerial image mode.
- Parameters
-
| [in] | mode | The aerial image mode. |
- Returns
- A pointer to the default tile service.
Implements MercatorImageManager.
◆ devicePixelRatio()
| fltp08 MercatorWebImageManager::devicePixelRatio |
( |
| ) |
const |
|
inline |
◆ executePendingRequest()
| void MercatorWebImageManager::executePendingRequest |
( |
const UUID & | id | ) |
|
|
protected |
Executes the next pending tile request for the given ID.
- Parameters
-
◆ finish() [1/2]
Handles completion of a full image composition.
- Parameters
-
| [in] | success | Whether the request succeeded. |
| [in] | request | The original image request. |
| [in] | finished_callback | The callback to invoke. |
◆ finish() [2/2]
Handles completion of a single tile fetch.
- Parameters
-
| [in] | id | The request identifier. |
| [in] | request | The completed tile request. |
◆ getImage() [1/2]
Fetches a composed image for the given aerial request.
- Parameters
-
| [in] | request | The aerial image request. |
- Returns
- True if the request was submitted.
◆ getImage() [2/2]
Fetches a composed image from tiles with a completion callback.
- Parameters
-
| [in] | request | The Mercator image request. |
| [in] | finished_callback | The callback invoked on completion. |
- Returns
- True if the request was submitted.
◆ getTile()
Fetches a single map tile.
- Parameters
-
| [in] | request | The tile request. |
- Returns
- True if the request was submitted.
◆ hasPendingRequest()
| bool MercatorWebImageManager::hasPendingRequest |
( |
const UUID & | id | ) |
const |
|
protected |
Checks whether a request with the given ID is pending.
- Parameters
-
- Returns
- True if a pending request exists.
◆ postRequest() [1/2]
Posts an aerial image request.
- Parameters
-
| [in] | request | The aerial image request. |
- Returns
- True if the request was submitted.
Reimplemented from MercatorImageManager.
◆ postRequest() [2/2]
Posts an image request with a completion callback.
- Parameters
-
| [in] | request | The Mercator image request. |
| [in] | finished_callback | The callback invoked on completion. |
- Returns
- True if the request was submitted.
Implements MercatorImageManager.
◆ setDevicePixelRatio()
| void MercatorWebImageManager::setDevicePixelRatio |
( |
fltp08 | device_pixel_ratio | ) |
|
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: