40 #ifndef INCLUDED_GLS_MAP_CADRG_H_INCLUDED
41 #define INCLUDED_GLS_MAP_CADRG_H_INCLUDED
45 #define LIB_BASE_NAME "gls_map_cadrg"
53 class CADRGMapChartLayerCache;
58 enum ParseDirectoryRules
65 enum JustInTimeFileLoading
83 unsigned long _userDefinedCADRGLayer;
84 unsigned long _userDefinedCIBLayer;
86 bool _useUserDefinedCADRGLayer;
87 bool _useUserDefinedCIBLayer;
88 const JustInTimeFileLoading _useJITFileLoading;
95 void LoadFilesFromCoverage(
const GeoRect& coverage_param,
unsigned long layer );
102 void ParseDirectory(
const char* directoryPath, ParseDirectoryRules = FIND_TOC );
117 void AddCustomMapLayer(
const char* currentScaleString,
const char* customScaleString,
const char* customExtension );
169 inline unsigned long GetCADRGLayer(
void ) {
return _userDefinedCADRGLayer; }
189 inline unsigned long GetCIBLayer(
void ) {
return _userDefinedCIBLayer; }
Definition: gls_map_chart_data_source.h:210
void SetTargetCellLoadRate(const double targetCellLoadRate)
void SetCIBLayer(const unsigned long &layer)
Definition: gls_map_util.h:414
The GlsMapView is a special group that controls the map view parameters. It contains all of the objec...
Definition: gls_map_view.h:86
Definition: gls_map_cadrg.h:77
unsigned int GetLayerCount() const
Gets the size of the layer container. This gives an upper bound to SetCADRGLayer when using custom la...
bool GetUseCIBLayerFlag(void)
Get the current setting of the use CIB layer flag.
Definition: gls_map_cadrg.h:201
unsigned long GetBestLayer(GlsMapView *view, GlsMapChart *chart) const DISTI_METHOD_OVERRIDE
void CalcAvailableCoverage()
Image * LoadCellImage(MapChartCell *cell)
Not normally called by user.
void ParseDirectory(const char *directoryPath, ParseDirectoryRules=FIND_TOC)
Use CADRG data from the specified directory.
CADRGMapChartLayerCache * _layerCache
Container for "old" data that is loaded but not currently shown.
Definition: gls_map_cadrg.h:90
unsigned long GetCADRGLayer(void)
Definition: gls_map_cadrg.h:169
The disti::GlsMapChartDataSource class.
unsigned int GetLayerCacheCount(void) const
unsigned long GetCIBLayer(void)
Definition: gls_map_cadrg.h:189
CADRGMap * _cadrgMapStore
Storage for map data.
Definition: gls_map_cadrg.h:91
void SetUseCIBLayerFlag(bool layerFlag)
Set the use CIB layer flag, which turns on and off the use of the user specified layer for CIB data...
Definition: gls_map_cadrg.h:198
The MapChartCell class represents an area within a 2D map.
Definition: gls_map_chart_data_source.h:64
void SetCADRGLayer(const unsigned long &layer)
void SetUseCADRGLayerFlag(bool layerFlag)
Set the use CADRG layer flag, which turns on and off the use of the user specified layer for CADRG da...
Definition: gls_map_cadrg.h:192
bool GetAvailableCoverage(GeoRect *dest) DISTI_METHOD_OVERRIDE
void AddCustomMapLayer(const char *currentScaleString, const char *customScaleString, const char *customExtension)
double GetTargetCellLoadRate(void) const
void GetCellList(const GeoRect &coverage, unsigned long layerID, double viewLogicalHeight, double viewGeoHeight, MapChartCellList &viewList) DISTI_METHOD_OVERRIDE
Definition: gls_map_chart.h:70
bool GetUseCADRGLayerFlag(void)
Get the current setting of the use CADRG layer flag.
Definition: gls_map_cadrg.h:195
JustInTimeFileLoading IsJustInTimeFileLoadingEnabled(void) const
Get whether source will delay loading metdata for all files until they are shown. ...
Definition: bmpimage.h:46
void SetLayerCacheCount(const unsigned int cacheCount)