Interface for native map tile providers. Used by MapTileProviderCatalog and TileDataProcessor to provide data to map tiles and tile caches.
More...
#include <MIMapTileProvider.h>
|
virtual bool | AddRequest (const MapContentQuery &request, FullTileId tileId, std::shared_ptr< ITileDataResponseTarget > responseTarget)=0 |
| Add request to provider. Returns false if provider queue is full.
|
|
virtual FullTileId | RemoveRequest (int tileCacheId, bool removeNewest=false)=0 |
| Try to remove request from queue associated with a specific tile cache.
|
|
virtual int | PendingRequestCount (int tileCacheId=-1) const =0 |
| Count of pending requests for specified tile cache.
|
|
virtual void | GetMapEntries (std::vector< MapEntry > &mapEntries) const =0 |
| 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.
|
|
Interface for native map tile providers. Used by MapTileProviderCatalog and TileDataProcessor to provide data to map tiles and tile caches.
◆ AddRequest()
◆ GetMapEntries()
virtual void Maria::IMapTileProvider::GetMapEntries |
( |
std::vector< MapEntry > & |
mapEntries | ) |
const |
|
pure virtual |
◆ PendingRequestCount()
virtual int Maria::IMapTileProvider::PendingRequestCount |
( |
int |
tileCacheId = -1 | ) |
const |
|
pure virtual |
◆ RemoveRequest()
virtual FullTileId Maria::IMapTileProvider::RemoveRequest |
( |
int |
tileCacheId, |
|
|
bool |
removeNewest = false |
|
) |
| |
|
pure virtual |
The documentation for this class was generated from the following file:
- Native/MariaNative/MCommon/MIMapTileProvider.h