DriveWorks SDK Reference
3.5.78 Release
For Test and Development only

MapProvider.h File Reference

Go to the source code of this file.

Data Structures

struct  dwMapProviderParameters
 Parameters for the provider determining preallocation. More...
 
struct  dwMapsContentLayerBuffer
 Caller-provided buffer for content layers. More...
 
struct  dwMapsRoute
 Defines a planned route for an ordered sequence of waypoints. More...
 

Typedefs

typedef struct dwMapsContentLayerObject const * dwConstMapsContentLayerHandle_t
 Forward declaration of content layer handle. More...
 
typedef struct dwMapProviderObject const * dwConstMapsProviderHandle_t
 
typedef struct dwMapProviderObject * dwMapProviderHandle_t
 
typedef uint64_t dwMapsRequestToken
 Token for retrieval of requested maps from the provider. More...
 

Functions

DW_API_PUBLIC dwStatus dwMapProvider_getContentLayer (dwConstMapsContentLayerHandle_t *layer, const char *layerId, dwConstMapsProviderHandle_t providerHandle)
 Get content layer by identifier from the map provider. More...
 
DW_API_PUBLIC dwStatus dwMapProvider_getContentLayers (dwMapsContentLayerBuffer *layers, dwConstMapsProviderHandle_t providerHandle)
 Get all available content layers from the map provider. More...
 
DW_API_PUBLIC dwStatus dwMapProvider_getCoverageBounds (dwMapsBounds *bounds, dwMapProviderHandle_t providerHandle)
 Get the bounds of coverage for the map provider. More...
 
DW_API_PUBLIC dwStatus dwMapProvider_initializeWithCacheFile (dwMapProviderHandle_t *providerHandle, const char *mapCacheFile, dwMapProviderParameters *params, dwContextHandle_t contextHandle)
 Create a map provider backed by a map cache file in the local filesystem. More...
 
DW_API_PUBLIC dwStatus dwMapProvider_initializeWithDirectory (dwMapProviderHandle_t *providerHandle, const char *mapDirectory, dwMapProviderParameters *params, dwContextHandle_t contextHandle)
 Create a map provider backed by a map directory in the local filesystem. More...
 
DW_API_PUBLIC dwStatus dwMapProvider_release (dwMapProviderHandle_t providerHandle)
 Release map provider. More...
 
DW_API_PUBLIC dwStatus dwMapProvider_releaseMap (dwConstMapHandle_t mapHandle, dwMapProviderHandle_t providerHandle)
 Releases a requested map back to original map provider. More...
 
DW_API_PUBLIC dwStatus dwMapProvider_requestMapForBounds (dwMapsRequestToken *requestToken, const dwMapsBounds *bounds, const dwMapsContentLayerBuffer *layers, dwMapProviderHandle_t providerHandle)
 Requests a map covering a specified geographic bounds. More...
 
DW_API_PUBLIC dwStatus dwMapProvider_requestMapForRoute (dwMapsRequestToken *requestToken, const dwMapsRoute *route, const dwMapsContentLayerBuffer *layers, dwMapProviderHandle_t providerHandle)
 Requests a map covering a planned route. More...
 
DW_API_PUBLIC dwStatus dwMapProvider_tryGetRequestedMap (dwConstMapHandle_t *mapHandle, dwMapsRequestToken requestToken, dwMapProviderHandle_t providerHandle)
 Attempts to get a requested map with a request token. More...