![]() |
Maria GDK 5.0.0.737
Documentation of native code in develop branch
|
#include <MIMapDataProvider.h>
Public Member Functions | |
virtual int | GetFlags () |
virtual bool | GetMapEntry (const MapContentQuery &mapQuery, Maria::MapEntry &mapEntry, unsigned long timeout=0)=0 |
virtual std::shared_ptr< MariaProtobuf::FetchMapReplyMessage > | GetTileData (const GenerateMapTileRequest &req, unsigned long timeout_ms=0)=0 |
virtual void | GetMapEntries (std::vector< MapEntry > &mapEntries) const =0 |
IMapDataProvider - Interface for low-level map data providers
|
pure virtual |
Get a list of map entries available to this data provider.
Implemented in Maria::ElevationMapProvider, Maria::NormalMapProvider, Maria::FileMapDataProvider, and Maria::HttpMapDataProvider.
|
pure virtual |
Get a map catalog entry from a map query. This method should fill out the provided mapEntry
with the resolved data for the given mapQuery
.
The method should return true on success, and false on failure.
The method should block until a response can be given, but at most timeout
ms. If timeout
= 0, it may block indefinitely.
Implemented in Maria::ElevationMapProvider, Maria::NormalMapProvider, Maria::FileMapDataProvider, and Maria::HttpMapDataProvider.
|
pure virtual |
Get map tile data from map query. This method should return a FetchMapReply
with tile data or a valid error code for the given mapQuery
.
The method should block until a response can be given, but at most timeout
ms. If timeout
= 0, it may block indefinitely.
Implemented in Maria::ElevationMapProvider, Maria::NormalMapProvider, Maria::HttpMapDataProvider, and Maria::FileMapDataProvider.