GlsMap Toolkit
1.3.1
|
#include <gls_map_symbology_data_source.h>
Public Types | |
typedef long | IconID |
typedef long | PathID |
typedef DynamicArray< IconID > | IconIDList |
typedef DynamicArray< PathID > | PathIDList |
Public Member Functions | |
virtual const void | GetSymbolsInRegion (disti::GlsMapSymbology *symbology, const disti::GeoRect ®ion, IconIDList &icons, PathIDList &paths)=0 |
virtual disti::DisplayObject * | GetIconGeometry (IconID iconID, disti::GlsMapSymbology *symbology)=0 |
virtual void | GetIconLocation (IconID iconID, disti::GeoCoord &locationOut)=0 |
virtual disti::DisplayObject * | GetPathGeometry (PathID pathID, disti::GlsMapSymbology *symbology)=0 |
virtual long | GetPathPointCount (PathID pathID)=0 |
virtual void | GetPathPointLocation (PathID pathID, long pointNum, disti::GeoCoord &locationOut)=0 |
virtual void | SetupIconForRendering (disti::GlsMapSymbology *symbology, IconID iconID, disti::DisplayObject *iconGeometry)=0 |
virtual void | SetupPathForRendering (disti::GlsMapSymbology *symbology, PathID pathID, disti::DisplayObject *pathGeometry)=0 |
virtual void | PostDraw (disti::GlsMapView *view, disti::GlsMapSymbology *symbology)=0 |
abstract interface to the symbology data This interface allows the user to define a new data source to substitute their data for the standard symbology data source. More than one GlsMapSymbology may reference a single MapSymbologyDataSource
|
pure virtual |
Returns the DisplayObject to use for rendering the given icon or NULL if no icon should be drawn
iconID | Must be a valid icon ID (obtained from GetSymbolsInRegion()) |
symbology | symbology group that contains the DisplayObject that will be used to draw the given icon. |
Implemented in disti::GlsMapSymbologyBasicDataSource< IconT, PathT >, and disti::GlsMapSymbologyBasicDataSource< GlsMapSymbologyStdIcon, GlsMapSymbologyStdPath >.
|
pure virtual |
Get the location of the given point
iconID | Must be a valid icon ID (obtained from GetSymbolsInRegion()) |
locationOut | Will contain the location of the icon after the method returns |
Implemented in disti::GlsMapSymbologyBasicDataSource< IconT, PathT >, and disti::GlsMapSymbologyBasicDataSource< GlsMapSymbologyStdIcon, GlsMapSymbologyStdPath >.
|
pure virtual |
Returns the DisplayObject to use for rendering the path or NULL to use the default path rendering
Implemented in disti::GlsMapSymbologyBasicDataSource< IconT, PathT >, and disti::GlsMapSymbologyBasicDataSource< GlsMapSymbologyStdIcon, GlsMapSymbologyStdPath >.
|
pure virtual |
Called after all the symbols have been drawn to allow the data source to perform additional rendering if needed.
Implemented in disti::GlsMapSymbologyBasicDataSource< IconT, PathT >, and disti::GlsMapSymbologyBasicDataSource< GlsMapSymbologyStdIcon, GlsMapSymbologyStdPath >.