|
std::shared_ptr< Maria::CompositeStyleItem > | getResolvedStyle (const ItemId &objectId) |
|
bool | AddRequest (const MapContentQuery &request, FullTileId tileId, std::shared_ptr< ITileDataResponseTarget > responseTarget) override |
| Add request to provider. Returns false if provider queue is full.
|
|
FullTileId | RemoveRequest (int tileCacheId, bool removeNewest) override |
| Try to remove request from queue associated with a specific tile cache.
|
|
int | PendingRequestCount (int tileCacheId) const override |
| Count of pending requests for specified tile cache.
|
|
void | GetMapEntries (std::vector< MapEntry > &mapEntries) const override |
| Get all map entries served by the provider. Note that if "*" is set as map signature, the provider can provide data for map signatures of given map type.
|
|
◆ AddRequest()
Add request to provider. Returns false if provider queue is full.
- Parameters
-
request | Tile request |
tileId | Tile cache id and tile id of tile |
responseTarget | Call to process response from tile providers |
- Returns
- true on success, false if unable to add request
Implements Maria::IMapTileProvider.
◆ GetMapEntries()
void Maria::DrawObjectTileProvider::GetMapEntries |
( |
std::vector< MapEntry > & |
mapEntries | ) |
const |
|
overridevirtual |
Get all map entries served by the provider. Note that if "*" is set as map signature, the provider can provide data for map signatures of given map type.
- Parameters
-
Implements Maria::IMapTileProvider.
◆ PendingRequestCount()
int Maria::DrawObjectTileProvider::PendingRequestCount |
( |
int |
tileCacheId | ) |
const |
|
overridevirtual |
Count of pending requests for specified tile cache.
- Parameters
-
- Returns
- Number of pending requests
Implements Maria::IMapTileProvider.
◆ RemoveRequest()
FullTileId Maria::DrawObjectTileProvider::RemoveRequest |
( |
int |
tileCacheId, |
|
|
bool |
removeNewest |
|
) |
| |
|
overridevirtual |
Try to remove request from queue associated with a specific tile cache.
- Parameters
-
tileCacheId | Tile cache id |
removeNewest | If true, remove newest request. Of false, remove oldest request |
- Returns
- Id of removed tile, InvalidTileId on failure
Implements Maria::IMapTileProvider.
The documentation for this class was generated from the following files:
- Native/MariaNative/MDrawObject/MDrawObjectTileProvider.h
- Native/MariaNative/MDrawObject/MDrawObjectTileProvider.cpp