Definition of interface to access layered map content.
Content Layer is defined to be a homogenous collection of map elements which are "additional" or "optional" in contrast to the core map, e.g. road segments and lanes.
Supported content types include features, images, point clouds, etc. In the future more complex objects may be stored here, in some cases including references to data across layers.
Content layers are accessed via the content slice interface, using an instance of local layout as the "key" to load and transform local content.
Macros | |
#define | DW_MAPS_CONTENT_LAYER_ID_MAX_LENGTH 256 |
Maximum length of a content layer name including NULL terminator. More... | |
Typedefs | |
typedef char | dwMapsContentLayerId[DW_MAPS_CONTENT_LAYER_ID_MAX_LENGTH] |
Human-readable identifier for a content layer. More... | |
Enumerations | |
enum | dwMapsContentLayerType { DW_MAPS_CONTENT_LAYER_TYPE_UNKNOWN = 0, DW_MAPS_CONTENT_LAYER_TYPE_IMAGES = 1, DW_MAPS_CONTENT_LAYER_TYPE_POINT_CLOUD = 2 } |
Types of content layers which may be available in a map. More... | |
Functions | |
DW_API_PUBLIC dwStatus | dwMapsContentLayer_getId (dwMapsContentLayerId *id, dwConstMapsContentLayerHandle_t contentLayerHandle) |
Get the human-readable identifier for the layer. More... | |
DW_API_PUBLIC dwStatus | dwMapsContentLayer_getType (dwMapsContentLayerType *contentLayerType, dwConstMapsContentLayerHandle_t contentLayerHandle) |
Get the type of the content layer. More... | |
#define DW_MAPS_CONTENT_LAYER_ID_MAX_LENGTH 256 |
Maximum length of a content layer name including NULL terminator.
Definition at line 67 of file ContentLayers.h.
typedef char dwMapsContentLayerId[DW_MAPS_CONTENT_LAYER_ID_MAX_LENGTH] |
Human-readable identifier for a content layer.
This identifier must be unique per map provider.
Definition at line 73 of file ContentLayers.h.
Types of content layers which may be available in a map.
Enumerator | |
---|---|
DW_MAPS_CONTENT_LAYER_TYPE_UNKNOWN | Content layer has unknown type. |
DW_MAPS_CONTENT_LAYER_TYPE_IMAGES | Defined by layers/ImageLayer.h. |
DW_MAPS_CONTENT_LAYER_TYPE_POINT_CLOUD | Defined by layers/PointCloudLayer.h. |
Definition at line 96 of file ContentLayers.h.
DW_API_PUBLIC dwStatus dwMapsContentLayer_getId | ( | dwMapsContentLayerId * | id, |
dwConstMapsContentLayerHandle_t | contentLayerHandle | ||
) |
Get the human-readable identifier for the layer.
[out] | id | Human-readable identifier for the layer. |
[in] | contentLayerHandle | Handle to the content layer object. |
DW_API_PUBLIC dwStatus dwMapsContentLayer_getType | ( | dwMapsContentLayerType * | contentLayerType, |
dwConstMapsContentLayerHandle_t | contentLayerHandle | ||
) |
Get the type of the content layer.
[out] | contentLayerType | Type of the content layer. |
[in] | contentLayerHandle | Content layer object. |