|
CartoType API
|
#include <cartotype_map_data.h>
Public Member Functions | |
| virtual TResult | Search (CSimpleMapObjectCollection &aCollection, int32 aLayerIndex, double aMinLong, double aMinLat, double aMaxLong, double aMaxLat)=0 |
| virtual int32 | LayerCount ()=0 |
| virtual const char * | LayerName (int32 aLayerIndex)=0 |
A data source for use when creating a CSimpleMapDataBase.
| virtual int32 CartoType::CSimpleMapDataSource::LayerCount | ( | ) | [pure virtual] |
Return the number of layers.
| virtual const char* CartoType::CSimpleMapDataSource::LayerName | ( | int32 | aLayerIndex | ) | [pure virtual] |
Return the name of a layer as a null-terminated UTF-8 string.
| virtual TResult CartoType::CSimpleMapDataSource::Search | ( | CSimpleMapObjectCollection & | aCollection, |
| int32 | aLayerIndex, | ||
| double | aMinLong, | ||
| double | aMinLat, | ||
| double | aMaxLong, | ||
| double | aMaxLat | ||
| ) | [pure virtual] |
Perform a search of the data source and add all the objects in aLayer, within or overlapping the specified bounds, to aCollection by calling CSimpleMapObjectCollection::AppendPointObject, CSimpleMapObjectCollection::AppendLineObject or CSimpleMapObjectCollection::AppendPolygonObject.
1.7.5.1