MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
Loading...
Searching...
No Matches

Detailed Description

This class category contains the main MapLink API classes.

Geometry :

Data Layers:

Drawing Surfaces:

Topics

 Data Layer Details
 Data layers provide containers for data that are displayed in a drawing surface.
 

Classes

class  TSLAttributeValueOperation
 
class  TSLAttributeValueOperationAnd
 
class  TSLAttributeValueOperationElse
 
class  TSLAttributeValueOperationNot
 
class  TSLAttributeValueOperationEqualTo
 
class  TSLAttributeValueOperationLessThan
 
class  TSLAttributeValueOperationGreaterThan
 
class  TSLAttributeValueOperationNotEqualTo
 
class  TSLAttributeValueOperationGreaterThanOrEqualTo
 
class  TSLAttributeValueOperationLessThanOrEqualTo
 
class  TSLAttributeValues
 
class  TSLClientFeatureClassifierCustom
 
class  TSLFeature
 
class  TSLFeatureClassConfig
 
class  TSLFeatureClassifier
 
class  TSLFeatureClassifierCategorised
 
class  TSLFeatureClassifierCustom
 
class  TSLFeatureClassifierGraduated
 
class  TSLFeatureList
 
struct  TSLRGB
 
struct  TSLRGBA
 
class  TSLMapLinkErrorCallback
 
class  TSLAPP6AHelper
 
class  TSLCADRGDataLayer
 
class  TSLCADRGFrameFileInfo
 
class  TSLClientCustomDataLayer
 
class  TSLClientCustomDynamicRenderer
 
class  TSLClientCustomPickResult
 
class  TSLClientLinearTransform
 
class  TSLCompareHelper
 
class  TSLCompression
 
class  TSLCoordinateConverter
 
class  TSLCoordinateSystem
 
class  TSLCoordinateSystemIterator
 
class  TSLCustomDataLayer
 
class  TSLCustomDataLayerHandler
 
class  TSLCustomDataLayerProperties
 
class  TSLDataLayer
 
class  TSLDataLayerDrawingCallback
 
class  TSLDataLayerList
 
class  TSLDeviceCapabilities
 
class  TSLDrawingSurface
 
class  TSLDrawingSurfaceBase
 
class  TSLDrawingSurfaceDrawCallback
 
class  TSLDrawingSurfaceTiledBufferControl
 
class  TSLDynamicRenderer
 
class  TSLDynamicRendererCustom
 
class  TSLDynamicRendererFactory
 
class  TSLFeatureClassList
 
struct  TSLFeatureCodeMapping
 
class  TSLFileHelper
 
class  TSLFileLoader
 
class  TSLFileLoaderBlocking
 
class  TSLFileLoaderMemory
 
class  TSLFileLoaderMT
 
class  TSLFileLoaderRemote
 
class  TSLFilterDataLayer
 
class  TSLFilterDataLayerDisplayItem
 
class  TSLFilterDataLayerRasterDisplayItem
 
class  TSLGARSGridDataLayer
 
class  TSLGeodeticExtent
 
class  TSLGeographicCoord
 
class  TSLGridDataLayer
 
class  TSLHistoryImportSet
 
class  TSLInteropConfig
 
class  TSLInteropExportSet
 
class  TSLInteropImportSet
 
class  TSLInteropManager
 
class  TSLLatLongCoord
 
class  TSLLatLongGridDataLayer
 
class  TSLLibraryHelper
 
class  TSLMapDataLayer
 
class  TSLMapQuery
 
class  TSLMemoryHelper
 
class  TSLMFCPrintContext
 
class  TSLMGRSGridDataLayer
 
class  TSLMotifSurface
 
class  TSLNationalGridDataLayer
 
class  TSLNITFFilterDataLayer
 
class  TSLNTSurface
 
class  TSLPathList
 
class  TSLPathListCallbackClass
 
class  TSLPersistentCacheData
 
class  TSLPickResult
 
class  TSLPickResultCustom
 
class  TSLPickResultEntity
 
class  TSLPickResultSet
 
class  TSLPickSelector
 
class  TSLPlatformHelper
 
class  TSLPoint3D
 
class  TSLPrintContext
 
class  TSLPrintHelper
 
class  TSLPrintItem
 
class  TSLRasterDataLayer
 
class  TSLRasterFilterDataLayer
 
class  TSLRasterUtilityFunctions
 
class  TSLRemoteAuthenticationCallback
 
class  TSLSeamlessLayerConfig
 
class  TSLSeamlessLayerManager
 
class  TSLSeamlessLayerTileList
 
class  TSLSelector
 
class  TSLSingleThreadCache
 
class  TSLSLMEntityRef
 
class  TSLSLMEntityRefHandler
 
class  TSLSLMEntityRefHandlerClientCustom
 
class  TSLSLMEntityRefHandlerCustom
 
class  TSLSLMEntityRefHandlerFile
 
class  TSLSLMEntityStoreHandler
 
class  TSLSLMImportResult
 
class  TSLSLMProgress
 
class  TSLStandardDataLayer
 
class  TSLStreamingFunctions
 
class  TSLTransformTraits
 
class  TSLUTF8Decoder
 
class  TSLUTF8Encoder
 
class  TSLUtilityFunctions
 
class  TSLVersionHistorySet
 
class  TSLVersionUserInfo
 
class  TSLWin32PrintContext
 
class  TSLWMSDataLayer
 
class  TSLWMSECPServiceSettingsCallbacks
 
class  TSLWMSServiceCapability
 
class  TSLWMSServiceInfo
 
class  TSLWMSServiceLayer
 
class  TSLWMSServiceLayerDimension
 
class  TSLWMSServiceSettingsCallbacks
 

Typedefs

typedef void(* TSLAllLoadedCallback) (void *arg2)
 
typedef bool(* TSLCopyFilesCallback) (void *arg, int percentDoneTotal, int percentDoneCurrentFile)
 
typedef bool(* TSLFilterProgressCallback) (void *arg, TSLFilterProgress callbackType, double percentage)
 
typedef TSLTimeType TSLHistoryTimestamp
 
typedef unsigned int TSLHistoryVersion
 
typedef void TSLLatLongGridDataLayerFormatCallback(void *arg, double value, bool lineOfLatitude, char *buffer)
 
typedef void(* TSLLayerArchiveCallback) (void *arg, const char *layerName, TSLHistoryVersion version, char *directory)
 
typedef void(* TSLLayerArchiveTileCallback) (void *arg, const char *layerName, TSLHistoryVersion version, char *directory, int userVersion, const TSLEnvelope &extent, const TSLSimpleString &tileFileName)
 
typedef TSLLoaderCallbackReturn(* TSLLoaderAppCallback) (void *arg, const char *filename, TSLEnvelope extent, TSLLoaderStatus status, int percentDone)
 
typedef TSLLoaderCallbackReturn(* TSLLoaderCallback) (void *arg, TSLifstream *stream, const char *fullPath, TSLLoaderStatus status, int percentDone)
 
typedef TSLLoaderCallbackReturn(* TSLLoaderFileLoadedCallback) (void *arg, TSLifstream *stream, const char *fullPath, bool beforeDecompression)
 
typedef TSLPathlistCallbackReturn(* TSLPathlistCallback) (void *arg, const char *filename, char *directory, TSLMaplCompressionOption *compression)
 
typedef void(* TSLRuntimeProjectionChangedCallback) (void *arg, TSLRuntimeProjectionChangedEnum reason)
 
typedef bool(* TSLSeamlessLayerEntityChangeCallback) (void *arg, const TSLEntity *originalEntity, const TSLEntity *modifiedEntity, TSLBitMask entityChangeSet)
 
typedef int(* TSLTileValidationFn) (char const *tileName, TSLTimeType const *lastValidTime, TSLTimeType const *modificationTime, TSLDataLayer *layer, void *arg)
 

Enumerations

enum  TSLErrorCategory {
  TSLErrorCategoryInfo = 1 , TSLErrorCategoryWarn = 2 , TSLErrorCategoryError = 4 , TSLErrorCategoryFatal = 8 ,
  TSLErrorCategorySyntax = 16 , TSLErrorCategoryDebug = 32 , TSLErrorCategoryAll = 63
}
 
enum  TSLArcZoneEnum {
  TSLArcZone_Undefined = -1 , TSLArcZone_J = 0 , TSLArcZone_H = 1 , TSLArcZone_G = 2 ,
  TSLArcZone_F = 3 , TSLArcZone_E = 4 , TSLArcZone_D = 5 , TSLArcZone_C = 6 ,
  TSLArcZone_B = 7 , TSLArcZone_A = 8 , TSLArcZone_1 = 9 , TSLArcZone_2 = 10 ,
  TSLArcZone_3 = 11 , TSLArcZone_4 = 12 , TSLArcZone_5 = 13 , TSLArcZone_6 = 14 ,
  TSLArcZone_7 = 15 , TSLArcZone_8 = 16 , TSLArcZone_9 = 17
}
 
enum  TSLButtonType { TSLButtonLeft = 0 , TSLButtonCentre = 1 , TSLButtonRight = 2 , TSLButtonNone = 3 }
 
enum  TSLCADRGScaleFactorEnum {
  TSLCadrgScaleFactorUndefined = 0 , TSLCadrgScaleFactor_1_IN_9M = 94 , TSLCadrgScaleFactor_1_IN_5M = 50 , TSLCadrgScaleFactor_1_IN_2M = 51 ,
  TSLCadrgScaleFactor_1_IN_1M = 52 , TSLCadrgScaleFactor_1_IN_500K = 53 , TSLCadrgScaleFactor_1_IN_250K = 54 , TSLCadrgScaleFactor_1_IN_100K = 55 ,
  TSLCadrgScaleFactor_1_IN_50K = 56 , TSLCadrgScaleFactor_1_IN_12pt5K = 57 , TSLCadrgScaleFactor_1_IN_200K = 62 , TSLCadrgScaleFactor_1_IN_125K = 63 ,
  TSLCadrgScaleFactor_1_IN_25K = 64 , TSLCadrgScaleFactor_1_IN_24K = 65 , TSLCadrgScaleFactor_1_IN_10K = 66 , TSLCadrgScaleFactor_1_IN_10560 = 67 ,
  TSLCadrgScaleFactor_1_IN_11000 = 68 , TSLCadrgScaleFactor_1_IN_11800 = 69 , TSLCadrgScaleFactor_1_IN_12000 = 70 , TSLCadrgScaleFactor_1_IN_12800 = 71 ,
  TSLCadrgScaleFactor_1_IN_14000 = 72 , TSLCadrgScaleFactor_1_IN_14700 = 73 , TSLCadrgScaleFactor_1_IN_15000 = 74 , TSLCadrgScaleFactor_1_IN_15500 = 75 ,
  TSLCadrgScaleFactor_1_IN_16000 = 76 , TSLCadrgScaleFactor_1_IN_16666 = 77 , TSLCadrgScaleFactor_1_IN_17000 = 78 , TSLCadrgScaleFactor_1_IN_17500 = 79 ,
  TSLCadrgScaleFactor_1_IN_18000 = 80 , TSLCadrgScaleFactor_1_IN_20000 = 81 , TSLCadrgScaleFactor_1_IN_21000 = 82 , TSLCadrgScaleFactor_1_IN_21120 = 83 ,
  TSLCadrgScaleFactor_1_IN_22000 = 84 , TSLCadrgScaleFactor_1_IN_23000 = 85 , TSLCadrgScaleFactor_1_IN_25000 = 86 , TSLCadrgScaleFactor_1_IN_26000 = 87 ,
  TSLCadrgScaleFactor_1_IN_35000 = 88 , TSLCadrgScaleFactor_1_IN_36000 = 89 , TSLCadrgScaleFactor_0pt5M = 92 , TSLCadrgScaleFactor_1M = 91 ,
  TSLCadrgScaleFactor_2M = 90 , TSLCadrgScaleFactor_5M = 59 , TSLCadrgScaleFactor_10M = 58 , TSLCadrgScaleFactor_37pt5M = 93 ,
  TSLCadrgScaleFactor_150M = 61 , TSLCadrgScaleFactor_750M = 60 , TSLCadrgScaleFactor1_5M = 1 , TSLCadrgScaleFactor1_2M = 2 ,
  TSLCadrgScaleFactor1_1M = 3 , TSLCadrgScaleFactor1_500K = 4 , TSLCadrgScaleFactor1_250K = 5 , TSLCadrgScaleFactor1_100K = 6 ,
  TSLCadrgScaleFactor1_50K = 7 , TSLCadrgScaleFactor1_15K = 8 , TSLCadrgScaleFactor1_14K = 9 , TSLCadrgScaleFactor1_13K = 10 ,
  TSLCadrgScaleFactor1_12K = 11 , TSLCadrgScaleFactor1_11K = 12 , TSLCadrgScaleFactor1_10K = 13 , TSLCadrgScaleFactor1_9K = 14 ,
  TSLCadrgScaleFactor1_8K = 15 , TSLCadrgScaleFactor1_7K = 16 , TSLCadrgScaleFactor1_6K = 17 , TSLCadrgScaleFactor1_5K = 18
}
 
enum  TSLCompressionResult {
  TSLSuccess , TSLOutOfMemory , TSLHeaderIncorrect , TSLFailed ,
  TSLFileError
}
 
enum  TSLCursorStyle {
  TSLCursorStyleNone = -1 , TSLCursorStyleSelectEntity = 0 , TSLCursorStyleSelectPosition = 1 , TSLCursorStyleSelectPoint = 2 ,
  TSLCursorStyleDraw = 3 , TSLCursorStyleScaleEqual = 4 , TSLCursorStyleScaleUnequal = 5 , TSLCursorStyleScaleNorth_South = 6 ,
  TSLCursorStyleScaleEast_West = 7 , TSLCursorStyleScaleNorthEast_SouthWest = 8 , TSLCursorStyleScaleNorthWest_SouthEast = 9 , TSLCursorStyleBusy = 10 ,
  TSLCursorStyleMoveEntity = 11 , TSLCursorStyleRotate = 12 , TSLCursorStyleMovePoint = 13 , TSLCursorStyleEnterText = 14 ,
  TSLCursorStyleZoomToRectangle = 15 , TSLCursorStylePanToPoint = 16 , TSLCursorStyleMagnify = 17 , TSLCursorStyleQuery = 18 ,
  TSLCursorStyleGrab = 19 , TSLCursorStyleDrop = 20 , TSLCursorStyleUserCursorBase = 100 , TSLCursorStyleUserCursorEnd = 127
}
 
enum  TSLDataLayerTypeEnum {
  TSLDataLayerTypeStandardDataLayer = 1 , TSLDataLayerTypeMapDataLayer = 2 , TSLDataLayerTypeGridDataLayer = 3 , TSLDataLayerTypeRasterDataLayer = 4 ,
  TSLDataLayerTypeNationalGridDataLayer = 5 , TSLDataLayerTypeCADRGDataLayer = 6 , TSLDataLayerType3DStandardDataLayer = 16 , TSLDataLayerTypeCustomDataLayer = 18 ,
  TSLDataLayerType3DCustomDataLayer = 19 , TSLDataLayerTypeMGRSGridDataLayer = 20 , TSLDataLayerTypeLatLonGridDataLayer = 21 , TSLDataLayerTypeAcceleratedCustomDataLayer = 22 ,
  TSLDataLayerType2DSatelliteDataLayer = 26 , TSLDataLayerType3DSatelliteDataLayer = 27 , TSLDataLayerTypeFilterDataLayer = 30 , TSLDataLayerTypeWMSDataLayer = 32 ,
  TSLDataLayerTypeS63DataLayer = 33 , TSLDataLayerTypeGARSGridDataLayer = 34 , TSLDataLayerTypeWMTSDataLayer = 35 , TSLDataLayerTypeStaticMapDataLayer = 36 ,
  TSLDataLayerTypeDirectImportDataLayer = 37 , TSLDataLayerTypeViewShed = 38 , TSLDataLayerTypeDatabaseDataLayer = 500 , TSLDataLayerTypeKMLDataLayer = 501 ,
  TSLDataLayerTypeHeatMapDataLayer = 502
}
 
enum  TSLDeclutterStatusEnum {
  TSLDeclutterStatusOff = 0 , TSLDeclutterStatusOn = 1 , TSLDeclutterStatusAuto = 2 , tsl_dcl_OFF = 0 ,
  tsl_dcl_ON = 1 , tsl_dcl_AUTO = 2
}
 
enum  TSLDeclutterStatusResultEnum {
  TSLDeclutterStatusResultOff = 0 , TSLDeclutterStatusResultOn = 1 , TSLDeclutterStatusResultAuto = 2 , TSLDeclutterStatusResultPartial = 3 ,
  tsl_dcl_is_OFF = 0 , tsl_dcl_is_ON = 1 , tsl_dcl_is_AUTO = 2 , tsl_dcl_is_PARTIAL = 3
}
 
enum  TSLDrawingSurfaceTypeEnum {
  TSLDrawingSurfaceTypeUnknown = -1 , TSLDrawingSurfaceTypeGDI = 0 , TSLDrawingSurfaceTypeX11 = 1 , TSLDrawingSurfaceTypeOpenGL = 2 ,
  TSLDrawingSurfaceTypeDirect2D = 3 , TSLDrawingSurfaceTypeAcceleratorOpenGL = 4 , TSLDrawingSurfaceTypeAcceleratorDirectX = 5 , TSLDrawingSurfaceType3DOpenGL = 6 ,
  TSLDrawingSurfaceType3DEarth = 7
}
 
enum  TSLDynamicRendererAction { TSLDynamicRendererActionNone = 0 , TSLDynamicRendererActionIgnore = 1 , TSLDynamicRendererActionDefault = 2 , TSLDynamicRendererActionUseCurrentRendering = 3 }
 
enum  TSLFileLoaderTypeEnum {
  TSLFileLoaderTypeBlocking = 0 , TSLFileLoaderTypeMemory = 1 , TSLFileLoaderTypeMT = 2 , TSLFileLoaderTypeRemote = 3 ,
  TSLFileLoaderTypeCustom = 4
}
 
enum  TSLFileLoaderCallbacks { TSLFileLoaderCallbackBeforeDecompression = 1 , TSLFileLoaderCallbackAfterDecompression = 2 , TSLFileLoaderCallbackAfterProcessing = 4 }
 
enum  TSLFilterDisplayItemProp { TSLFilterDisplayItemPropRasterProjectionMaintainPalette = 1 , TSLFilterDisplayItemPropRasterProjectionDisableDithering = 2 , TSLFilterDisplayItemPropRasterProjectionInterpolate = 3 , TSLFilterDisplayItemPropStretchBrightness = 4 }
 
enum  TSLFilterProcess {
  TSLFilterProcessNone = 0 , TSLFilterProcessCreateBatch = 0x1 , TSLFilterProcessFlattenGroups = 0x4 , TSLFilterProcessComplexChecking = 0x8 ,
  TSLFilterProcessKeyHoling = 0x10 , TSLFilterProcessDecomplexifyOnInput = 0x40 , TSLFilterProcessIgnorePolygonGeometryFailures = 0x80 , TSLFilterProcessRasterPyramid = 0x100 ,
  TSLFilterProcessSeparateMaskFile = 0x200
}
 
enum  TSLFilterProcessStatus { TSLFilterProcessStatusUnknown = -1 , TSLFilterProcessStatusFail = 0 , TSLFilterProcessStatusSuccess = 1 }
 
enum  TSLFilterProgress { TSLFilterProgressLoadData = 0 , TSLFilterProgressProcess = 1 , TSLFilterProgressGeolocationChange = 2 , TSLFilterProgressProcessItem = 3 }
 
enum  TSLFilterType {
  TSLFilterTypeNITF =0 , TSLFilterTypeRaster =1 , TSLFilterTypeGeoTIFF = 2 , TSLFilterTypeArcs = 5 ,
  TSLFilterTypeASRP = 7 , TSLFilterTypeCRP = 9 , TSLFilterTypeGDAL = 28
}
 
enum  TSLFindTypeEnum {
  TSLFindTypeAll = 0 , TSLFindTypeEntitySet = 4 , TSLFindTypeText = 1 , TSLFindTypeSymbol = 6 ,
  TSLFindTypeCurve = 7 , TSLFindTypeSurface = 14 , TSLFindTypeArc = 10 , TSLFindTypePolyline = 11 ,
  TSLFindTypeEllipse = 16 , TSLFindTypePolygon = 15 , TSLFindTypeRectangle = 17
}
 
enum  TSLGridDetailLevelChangeEnum { TSLGridLevelChangeAutomatic = 0 , TSLGridLevelChangeManual = 1 }
 
enum  TSLInteropAttributeType { TSLInteropAttributeTypeProperties = 0 , TSLInteropAttributeTypeRendering , TSLInteropAttributeTypeDataset }
 
enum  TSLInteropEntityType {
  TSLInteropEntityTypeArc = 0 , TSLInteropEntityTypeEllipse = 1 , TSLInteropEntityTypePolygon = 2 , TSLInteropEntityTypePolyline = 3 ,
  TSLInteropEntityTypeRectangle = 4 , TSLInteropEntityTypeSymbol = 5 , TSLInteropEntityTypeText = 6 , TSLInteropEntityTypeSpline = 7 ,
  TSLInteropEntityTypeBorderedPolygon = 8 , TSLInteropEntityTypeBorder = 9
}
 
enum  TSLInteropError {
  TSLInteropErrorOK = 0 , TSLInteropErrorUndefined , TSLInteropErrorNullPointer , TSLInteropErrorCopyFailure ,
  TSLInteropErrorIndexOutOfRange , TSLInteropErrorInconsistentExportSet , TSLInteropErrorEmptyBasefileAndAttribute , TSLInteropErrorCopyDatasetFailure ,
  TSLInteropErrorCopyDataHandlerFailure , TSLInteropErrorExternalAttributeNotFound , TSLInteropErrorIncorrectAttributeType , TSLInteropErrorSetRendering ,
  TSLInteropErrorProcessBorderedPolygon
}
 
enum  TSLKeyedOption {
  TSLPlatformKey = -1 , TSLKeyedLZWTIF =0 , TSLKeyedGIF =1 , TSLKeyedShapefileImport =2 ,
  TSLKeyedShapefileExport =3 , TSLKeyedMIFImport =4 , TSLKeyedMIFExport =5 , TSLKeyedMasterMapImport =6 ,
  TSLKeyedMasterMapExport =7 , TSLKeyedLandLineImport =8 , TSLKeyedLandLineExport =9 , TSLKeyedS57Import =10 ,
  TSLKeyedS57Export =11 , TSLKeyedJPEG2000 =12 , TSLKeyedCADRGDataLayer =13 , TSLKeyedDMEDTerrainDatabase =14 ,
  TSLKeyedS63 =15 , TSLKeyedGML =16 , TSLKeyedWFSClient =17 , TSLKeyedS57MediaIngest = 19 ,
  TSLKeyedEvaluationMap = 20 , TSLKeyedDirectImportDataLayer = 21
}
 
enum  TSLLoaderCallbackReturn {
  TSLContinue , TSLCancelThisLoad , TSLCancelAllLoads , TSLBadFileStatus ,
  TSLIgnoreFile
}
 
enum  TSLLoaderStatus {
  TSLLoadingOK , TSLLoadingCancelled , TSLLoadingFailedNotFound , TSLLoadingFailedInternetSettings ,
  TSLLoadingFailedNoMemory , TSLLoadingFailedBadCompressionHeader , TSLLoadingFailedDecompression , TSLLoadingFailedCompression ,
  TSLLoadingFailedOpening , TSLLoadingFailedReading , TSLLoadingFailedClosing , TSLLoadingFailedOffsetMove ,
  TSLLoadingFailedFilter , TSLLoadingFailedGeneral , TSLLoaderDoesntDecompress , TSLLoaderKilled ,
  TSLLoaderAccessDenied , TSLLoaderIgnoreFile
}
 
enum  TSLLocatorType { TSLLocatorPress = 0 , TSLLocatorMotion = 1 , TSLLocatorRelease = 2 }
 
enum  TSLMaplCompressionOption { TSLCompressedYes , TSLCompressedNo , TSLCompressedDefault }
 
enum  TSLModifierType { TSLModifierNone = 0 , TSLModifierShift = 1 , TSLModifierControl = 2 , TSLModifierShiftAndControl = 3 }
 
enum  TSLOptionEnum {
  TSLOptionDoubleBuffered = 8 , TSLOptionAntiAliasMonoRasters = 16 , TSLOptionDynamicArcSupportEnabled = 64 , TSLOptionProgressiveTileZoom = 128 ,
  TSLOptionTileBufferedLayers = 256 , TSLOptionAcceleratorZoomAsynchronous = 128
}
 
enum  TSLPathlistCallbackReturn { TSLFileDoesNotExist , TSLFileLocationUnknown , TSLFileLocationToTry , TSLFileLocationMandatory }
 
enum  TSLPickResultEnum {
  TSLPickEntity =0 , TSLPickCustom =1 , TSLPick3DEntity =2 , TSLPickDisplayObject =3 ,
  TSLPickSatellite =4 , TSLPickTrack =5 , TSLPickTrackGraphic =6 , TSLPickEarthTrack =7 ,
  TSLPickEarthGeometry = 8 , TSLPickReserved1 =90 , TSLPickReserved2 =91 , TSLPickReserved3 =92 ,
  TSLPickReserved4 =93 , TSLPickReserved5 =94 , TSLPickUser =100
}
 
enum  TSLPriorityEnum { TSLPriorityBelow , TSLPrioritySame , TSLPriorityMin }
 
enum  TSLPropertyEnum {
  TSLPropertyVisible = 1 , TSLPropertyDetect = 2 , TSLPropertySelect = 3 , TSLPropertyTransparent = 4 ,
  TSLPropertyAutomatic = 5 , TSLPropertyMinTextHeight = 6 , TSLPropertyBuffered = 7 , TSLPropertyMaxTextHeight = 8 ,
  TSLPropertyMinZoomDisplay = 9 , TSLPropertyMaxZoomDisplay = 10 , TSLPropertyProgressiveDisplay = 11 , TSLPropertyRasterContrast = 12 ,
  TSLPropertyRasterBrightness = 13 , TSLPropertyRasterGamma = 14 , TSLPropertyLoadedSymbolsAndTextViewExpansion = 15 , TSLPropertyTransparency = 16 ,
  TSLPropertyNonNativeDrawing = 17 , TSLPropertyRealtimeReprojection = 18 , TSLPropertyGeometryStreaming = 19 , TSLPropertyDepthClear = 20 ,
  TSLPropertyGeometryStreamingForceSymbolsAndTextToTop = 21 , tsl_visible = 1 , tsl_detect = 2 , tsl_select = 3 ,
  tsl_transparent = 4 , tsl_automatic = 5 , tsl_min_text_height = 6 , tsl_buffered = 7 ,
  tsl_max_text_height = 8 , tsl_min_zoom_display = 9 , tsl_max_zoom_display = 10 , TSLPropertyProgressiveRasterDisplay = 11
}
 
enum  TSLRasterFilterPixelTransparency { TSLRasterFilterPixelTransparencyNone = 0 , TSLRasterFilterPixelTransparencyTrimBlack = 1 , TSLRasterFilterPixelTransparencyAllBlack = 2 , TSLRasterFilterPixelTransparencyAllColour = 4 }
 
enum  TSLRasterInterpolation {
  TSLRasterInterpolationNone = 0 , TSLRasterInterpolationAverage = 1 , TSLRasterInterpolationBilinear = 2 , TSLRasterInterpolationNearestNeighbour = 3 ,
  TSLRasterInterpolationPadding = 4
}
 
enum  TSLRasterType {
  TSLRasterTypeTiff =6 , TSLRasterTypeTiffPackBits = 9 , TSLRasterTypeBmp = 12 , TSLRasterTypeJpeg = 23 ,
  TSLRasterTypePCX = 24 , TSLRasterTypePNG = 36 , TSLRasterTypeJpeg2K = 75
}
 
enum  TSLResizeActionEnum {
  TSLResizeActionNone = 0 , TSLResizeActionMaintainCentre = 5 , TSLResizeActionMaintainTopLeft = 6 , TSLResizeActionMaintainTopRight = 7 ,
  TSLResizeActionMaintainBottomLeft = 8 , TSLResizeActionMaintainBottomRight = 9
}
 
enum  TSLRuntimeProjectionChangedEnum { TSLRuntimeProjectionChangeOriginChangedOnly = 0 , TSLRuntimeProjectionChangeProjectionChanged = 1 }
 
enum  TSLSelectorActionType { TSLSelectorActionIgnoreContinue = 0 , TSLSelectorActionIgnoreNext = 1 , TSLSelectorActionSelectExit = 2 , TSLSelectorActionSelectNext = 3 }
 
enum  TSLSLMEntityRefHandlerType { TSLSLMEntityRefHandlerCustomType = 0 , TSLSLMEntityRefHandlerFileType = 1 }
 
enum  TSLSLMEntityRefValidationEnum { TSLSLMEntityRefValidationValid , TSLSLMEntityRefValidationInvalidDifferentVersion , TSLSLMEntityRefValidationInvalidNotFound , TSLSLMEntityRefValidationInvalidAlreadyFound }
 
enum  TSLThreadedOptionsEnum { TSLThreadedOptionsRenderingSupport = 0x1 , TSLThreadedOptionsX11TTFSupport = 0x2 , TSLThreadedOptionsPathListSupport = 0x4 , TSLThreadedOptionsFilterProcessingSupport = 0x8 }
 
enum  TSLUUEnum {
  TSLUUBottomLeft = 0 , TSLUUCentre = 1 , TSLUUTopRight = 2 , tsl_bottomLeft = 0 ,
  tsl_centre = 1 , tsl_topRight = 2
}
 
enum  TSLWMSVersionEnum {
  TSLWMSVersionUnsupported = -1 , TSLWMSVersion_1_0_0 = 0 , TSLWMSVersion_1_1_0 = 1 , TSLWMSVersion_1_1_1 = 2 ,
  TSLWMSVersion_1_3_0 = 3
}
 

Typedef Documentation

◆ TSLAllLoadedCallback

typedef void(* TSLAllLoadedCallback) (void *arg2)

Function typedef.

This function typedef defines the signature of a function that the user may optionally provide to the loader if using asynchronous loading.

Implementation

static void allLoadedFunction( void * arg2 ) ;

The callback will be called after each draw of a map data layer once all required map tiles have been loaded. If all tiles are already loaded in the cache then the callback will not be made.

The callback may also not occur if a file could not be found or if the tile cache is too small. This can occur if you are using a threaded file loader (TSLFileLoaderRemote, TSLFileLoaderMT).

If you are finding that this callback is not occurring you are advised to also use the TSLLoaderCallback and check the percentDone parameter. This callback always occurs for the 100% value.

Parameters
arg2The arg2 value passed to the addLoader function; user-defined.
Returnvalue

◆ TSLCopyFilesCallback

typedef bool(* TSLCopyFilesCallback) (void *arg, int percentDoneTotal, int percentDoneCurrentFile)

Function typedef.

This function typedef defines the signature of a function that the user may optionally provide to a method that copies files such as TSLMapDataLayer::copyRasterFeatures.

Implementation

static bool progressFunc( void*arg, int percentDoneTotal,int percentDoneCurrentFile) ;

The callback will be called during the copy of each file.

Parameters
arg1The arg value passed to the called method; user-defined.
arg2The percentage of the total copied.
arg3The percentage of the current file that's been copied.
Returnvalue

bool If false is returned then copying is cancelled.

◆ TSLFilterProgressCallback

typedef bool(* TSLFilterProgressCallback) (void *arg, TSLFilterProgress callbackType, double percentage)

This typedef defines a user supplied callback that is used throughout the filter data layer. The documentation for the TSLFilterProgressEnum outlines the types of callbacks the user will receive if they supply a callback.

Parameters
argThe user supplied argument associated with the callback
callbackTypeIdentifies where the callback originates from. See the documentation for TSLFilterProgressEnum for more details on the types of callback and how they affect the data layer.
percentageThe percentage or completeness the callback is identifying to the user. The data layer guarantees that at least a 100% complete callback will be made if the specific callback type is successful.

The return value indicates whether the user would like the current task to be aborted. Returning false will allow the task to continue.

◆ TSLHistoryTimestamp

typedef TSLTimeType TSLHistoryTimestamp

The type representing a version timestamp. It is a typedef for a 64-bit time type. Users should create instances of this type using standard system calls.

◆ TSLHistoryVersion

typedef unsigned int TSLHistoryVersion

The type representing a version number. It is a typedef for type 'unsigned int'.

Data layer archives will always start at version 1. Therefore, clients can use a value of 0 in their applications to signal the current version (e.g. this would allow clients to call cancelFlashback()).

◆ TSLLatLongGridDataLayerFormatCallback

typedef void TSLLatLongGridDataLayerFormatCallback(void *arg, double value, bool lineOfLatitude, char *buffer)

Function typedef used by the TSLLatLongGridDataLayer to format the text displayed at each grid interval. The user implementation should write the desired string to the buffer passed.

Parameters
argThe arg value passed to TSLLatLongGridDataLayer; user-defined.
valueThe value of the position being formatted
lineOfLatitudeIf true then the value passed denotes the label for a line of latitude. If false then it denotes a line of longitude.
bufferA 256 character length buffer that the user should write the formatted position to.

◆ TSLLayerArchiveCallback

typedef void(* TSLLayerArchiveCallback) (void *arg, const char *layerName, TSLHistoryVersion version, char *directory)

This function typedef defines the signature of a function that the user must provide to the TSLDataLayer::flashbackToTimestamp() or TSLDataLayer::flashbackToVersion() methods so that the application can indicate where layer archives are to be found.

If MapLink cannot locate the layer within the supplied archive directory, then it will attempt to use the latest version of the layer.

Parameters
argThe arg value passed to TSLDataLayer::flashbackToTimestamp() or TSLDataLayer::flashbackToVersion() methods, user-defined.
layerNameThe name of the layer for which the archive is required.
versionThe version of the layer required.
directoryThis parameter points to a character array. The callback should fill in the location of the archive directory for the layer at the required version. The string must not be longer than TSL_MAX_WPATH, including the null terminator.

◆ TSLLayerArchiveTileCallback

typedef void(* TSLLayerArchiveTileCallback) (void *arg, const char *layerName, TSLHistoryVersion version, char *directory, int userVersion, const TSLEnvelope &extent, const TSLSimpleString &tileFileName)

This function typedef defines the signature of a function that the user must provide to the TSLDataLayer::flashbackToTimestamp() or TSLDataLayer::flashbackToVersion() methods so that the application can indicate where layer archives are to be found. This callback differs from TSLLayerArchiveCallback in that it will be invoked for every tile in the map for which historical data is needed instead of only for the first tile.

If MapLink cannot locate the layer within the supplied archive directory, then it will attempt to use the latest version of the layer.

Parameters
argThe arg value passed to the TSLDataLayer::flashbackToTimestamp() or TSLDataLayer::flashbackToVersion() methods, user-defined.
layerNameThe name of the layer for which the archive is required.
versionThe version of the layer required.
directoryThis parameter points to a character array. The callback should fill in the location of the archive directory for the layer at the required version. The string must not be longer than TSL_MAX_WPATH, including the null terminator.
userVersionA user-defined integer value originally set on the tile when the history entry was created. If no user value has been set this will default to 0.
extentExtent for which historical data is desired. You should retrieve all entities within this extent and store them in a single TMF file.
tileFileNameThis is the filename that the tile should be saved as.

◆ TSLLoaderAppCallback

typedef TSLLoaderCallbackReturn(* TSLLoaderAppCallback) (void *arg, const char *filename, TSLEnvelope extent, TSLLoaderStatus status, int percentDone)

Function typedef.

This function typedef defines the signature for a callback routine that must be supplied when calling addLoader on a drawing surface or data layer. The callback is used when a file is loaded using the loader added.

Implementation:

static TSLLoaderCallbackReturn mapCallbackFunction( void* arg, const char* filename, TSLEnvelope extent, TSLLoaderStatus status, int percentDone );

Parameters
argThe arg value passed to the load function; user-defined.
filenameProvides the full path of the file being loaded.
extentProvides the geographic extent of the data loaded. Only valid when loading is successful and 100% complete.
statusIndicates success or error.
percentDoneIndicates progress through the loading of the file.
Returns
The user should indicate whether the loader is to continue, to cancel the current load, or to cancel all loads in progress.

◆ TSLLoaderCallback

typedef TSLLoaderCallbackReturn(* TSLLoaderCallback) (void *arg, TSLifstream *stream, const char *fullPath, TSLLoaderStatus status, int percentDone)

Function typedef.

This function typedef defines the signature of a function that the user must provide to the loader if using asynchronous loading.

Implementation:

static TSLLoaderCallbackReturn mapCallbackFunction( void* arg, TSLifstream * stream, const char* filename, TSLLoaderStatus status, int percentDone );

Parameters
argThe arg value passed to the load function; user-defined.
streamIf loading has completed successfully then this will point to a stream created by the routine and containing the data loaded.
fullPathProvides the full path of the file being loaded.
statusIndicates success or error. Every call to a load function will be matched by one callback that contains an error or contains success with 100% complete.
percentDoneIndicates progress through the loading of the file.
Returns
The user should indicate whether the loader is to continue (TSLContinue), to cancel the current load, or to cancel all loads in progress. TSLBadFileStaus return value is not supported for this callback.
Note
Breaking Behaviour MapLink 7.5: The stream must not be deleted by the user.

◆ TSLLoaderFileLoadedCallback

typedef TSLLoaderCallbackReturn(* TSLLoaderFileLoadedCallback) (void *arg, TSLifstream *stream, const char *fullPath, bool beforeDecompression)

Function typedef.

This function typedef defines the signature of a function that the user can provide to the loader if they wish to intercept the loading of the file (see TSLFileLoader::setLoadedCallback).

This callback use is for those wishing to check the integrity of a map and its associated files (see the samples).

Implementation:

static TSLLoaderCallbackReturn fileloaderFileLoadedCallback(void arg, TSLifstream stream, const char* fullPath, bool beforeDecompression);

Parameters
argThe arg value passed to the load function; user-defined.
streamIf loading has completed successfully then this will point to a stream created by the routine and containing the data loaded.
fullPathProvides the full path of the file being loaded.
beforeDecompressionIndicates if the callback was called before the stream was decompressed (this does not indicate that the file was compressed).
Returns
The user should indicate whether the loader is to continue (TSLContinue), or if the file was bad (TSLBadFileStaus or TSLIgnoreFile). TSLCancelThisLoad and TSLCancelAllLoads are not supported.
Note

For the drawing surface the following files are mandatory:

  • tslcolours.dat
  • tslfonts.dat
  • tslsymbols.dat and associated .dat files.
  • tslfillstyles.dat and associated files in fillstyles
  • tsllinestyles.dat and associated files in linestyles

If the symbols themselves fail to load then they will not be displayed.

For a map the following files are mandatory:

  • .map
  • .dtl
  • .fbk
  • .pal
  • .pth

If mandatory files are to be failed then TSLBadFileStatus should be returned.

For .tmf, .tp1 and .tpf you can return TSLIgnoreFile of TSLBadFileStatus if the files are to be failed.

Raster Pyramid files are complex to check and track. It is therefore suggested that you do not generate raster pyramids to a single file when generating your map.

Note
MapLink 7.5 Breaking Change: you should not delete the TSLifstream.

◆ TSLPathlistCallback

typedef TSLPathlistCallbackReturn(* TSLPathlistCallback) (void *arg, const char *filename, char *directory, TSLMaplCompressionOption *compression)

Deprecated function typedef, please use TSLPathListCallbackClass instead.

This function typedef defines the signature of a function that the user may provide to a TSLPathlist, so that the application can indicate where files are to be found.

Parameters
argThe arg value passed to the pathlist constructor, user-defined
filenameThe file whose location is to be determined.
directoryThis parameter points to a character array in the pathlist class. The size of the array is defined by the parameter TSL_PATHLIST_CALLBACK_DIR_SIZE (in file 'tslpathlistconstants.h'). The callback should fill this with the name of the directory where the file should be found. The length of the string must not exceed the size defined by TSL_PATHLIST_CALLBACK_DIR_SIZE, including the null terminator.
compressionPoints to a variable that the callback should use to indicate if the directory returned is compressed.
Returnvalue

See the TSLPathlistCallbackReturn enumeration for an explanation.

◆ TSLRuntimeProjectionChangedCallback

typedef void(* TSLRuntimeProjectionChangedCallback) (void *arg, TSLRuntimeProjectionChangedEnum reason)

Function typedef for runtime projection changes.

Parameters
argThe arg value passed to the runtime projection change methods; user-defined.
reasonIf the same callback is given for both projection change and origin change, this parameter can be used to determine why the callback is being made.

◆ TSLSeamlessLayerEntityChangeCallback

typedef bool(* TSLSeamlessLayerEntityChangeCallback) (void *arg, const TSLEntity *originalEntity, const TSLEntity *modifiedEntity, TSLBitMask entityChangeSet)

This callback shall be invoked once for each entity that is imported into a seamless layer via the seamless layer manager. It allows a user application to control if the entity should be imported or updated in the seamless layer based on what changes have occurred to the entity.

Parameters
argThe user-defined argument as passed to TSLSeamlessLayerManager::ingestData().
originalEntityThe entity as it exists currently in the seamless layer. For new entities this will be NULL.
modifiedEntityThe entity after is has been modified by the COU update. For deleted entities this will be NULL.
entityChangeSetA bitmask field describing what has changed for this entity. See the documentation for TSLEntityChange for a description of possible values. More than one value may be set for any one entity.

The application should return true from this callback to import the entity into the seamless layer, or false to ignore it. Note that if false is returned, the lastImportedVersion field for the TSLSLMEntityRef for this entity will still be updated to mark that an update has been seen.

◆ TSLTileValidationFn

typedef int(* TSLTileValidationFn) (char const *tileName, TSLTimeType const *lastValidTime, TSLTimeType const *modificationTime, TSLDataLayer *layer, void *arg)

Function typedef.

This function typedef is used for persistent cache tile validation. When adding a persistent cache to a TSLMapDataLayer, the user may specify a function of this type. The function is called whenever a tile needs to be validated. The name of the tile, and the timestamp at which the tile was last validated is passed.

The function should return 1 if the tile is still valid, 0 if it is no longer valid.

Parameters
tileNameThe name of the tile.
lastValidTimeThe time at which the tile was last validated.
modificationTimeThe time at which the source tile was last modified.
layerThe layer which is making the validation request.
argAn optional user-defined argument.

Enumeration Type Documentation

◆ TSLArcZoneEnum

Enumerator
TSLArcZone_Undefined 
TSLArcZone_J 
TSLArcZone_H 
TSLArcZone_G 
TSLArcZone_F 
TSLArcZone_E 
TSLArcZone_D 
TSLArcZone_C 
TSLArcZone_B 
TSLArcZone_A 
TSLArcZone_1 
TSLArcZone_2 
TSLArcZone_3 
TSLArcZone_4 
TSLArcZone_5 
TSLArcZone_6 
TSLArcZone_7 
TSLArcZone_8 
TSLArcZone_9 

◆ TSLButtonType

This enumeration is used to describe which button was pressed for a locator (mouse) event.

Enumerator
TSLButtonLeft 

Left.

TSLButtonCentre 

Centre.

TSLButtonRight 

Right.

TSLButtonNone 

◆ TSLCADRGScaleFactorEnum

Enumerated Type for the available CADRG/CIB Scales.

Enumerator
TSLCadrgScaleFactorUndefined 
TSLCadrgScaleFactor_1_IN_9M 

CADRG Scale 1:9,000,000 - non standard series code.

TSLCadrgScaleFactor_1_IN_5M 

CADRG Scale 1:5,000,000.

TSLCadrgScaleFactor_1_IN_2M 
TSLCadrgScaleFactor_1_IN_1M 
TSLCadrgScaleFactor_1_IN_500K 

CADRG Scale 1:500,000.

TSLCadrgScaleFactor_1_IN_250K 
TSLCadrgScaleFactor_1_IN_100K 
TSLCadrgScaleFactor_1_IN_50K 
TSLCadrgScaleFactor_1_IN_12pt5K 
TSLCadrgScaleFactor_1_IN_200K 
TSLCadrgScaleFactor_1_IN_125K 
TSLCadrgScaleFactor_1_IN_25K 
TSLCadrgScaleFactor_1_IN_24K 
TSLCadrgScaleFactor_1_IN_10K 
TSLCadrgScaleFactor_1_IN_10560 
TSLCadrgScaleFactor_1_IN_11000 
TSLCadrgScaleFactor_1_IN_11800 
TSLCadrgScaleFactor_1_IN_12000 
TSLCadrgScaleFactor_1_IN_12800 
TSLCadrgScaleFactor_1_IN_14000 
TSLCadrgScaleFactor_1_IN_14700 
TSLCadrgScaleFactor_1_IN_15000 
TSLCadrgScaleFactor_1_IN_15500 
TSLCadrgScaleFactor_1_IN_16000 
TSLCadrgScaleFactor_1_IN_16666 
TSLCadrgScaleFactor_1_IN_17000 
TSLCadrgScaleFactor_1_IN_17500 
TSLCadrgScaleFactor_1_IN_18000 
TSLCadrgScaleFactor_1_IN_20000 
TSLCadrgScaleFactor_1_IN_21000 
TSLCadrgScaleFactor_1_IN_21120 
TSLCadrgScaleFactor_1_IN_22000 
TSLCadrgScaleFactor_1_IN_23000 
TSLCadrgScaleFactor_1_IN_25000 
TSLCadrgScaleFactor_1_IN_26000 
TSLCadrgScaleFactor_1_IN_35000 
TSLCadrgScaleFactor_1_IN_36000 
TSLCadrgScaleFactor_0pt5M 

CIB 0.5 meter.

TSLCadrgScaleFactor_1M 

CIB 1 meter.

TSLCadrgScaleFactor_2M 

CIB 2 meter.

TSLCadrgScaleFactor_5M 

CIB 5 meter.

TSLCadrgScaleFactor_10M 

CIB 10 meter.

TSLCadrgScaleFactor_37pt5M 

RDTED 1:250,000 (Note: RDTED is not supported by the CADRG DataLayer.)

TSLCadrgScaleFactor_150M 

RDTED 1:1M (Note: RDTED is not supported by the CADRG DataLayer.)

TSLCadrgScaleFactor_750M 

RDTED 1:5M (Note: RDTED is not supported by the CADRG DataLayer.)

TSLCadrgScaleFactor1_5M 

Deprecated.

TSLCadrgScaleFactor1_2M 

Deprecated.

TSLCadrgScaleFactor1_1M 

Deprecated.

TSLCadrgScaleFactor1_500K 

Deprecated.

TSLCadrgScaleFactor1_250K 

Deprecated.

TSLCadrgScaleFactor1_100K 

Deprecated.

TSLCadrgScaleFactor1_50K 

Deprecated.

TSLCadrgScaleFactor1_15K 

Deprecated.

TSLCadrgScaleFactor1_14K 

Deprecated.

TSLCadrgScaleFactor1_13K 

Deprecated.

TSLCadrgScaleFactor1_12K 

Deprecated.

TSLCadrgScaleFactor1_11K 

Deprecated.

TSLCadrgScaleFactor1_10K 

Deprecated.

TSLCadrgScaleFactor1_9K 

Deprecated.

TSLCadrgScaleFactor1_8K 

Deprecated.

TSLCadrgScaleFactor1_7K 

Deprecated.

TSLCadrgScaleFactor1_6K 

Deprecated.

TSLCadrgScaleFactor1_5K 

Deprecated.

◆ TSLCompressionResult

Enumerated type for the result of compression and decompression.

Enumerator
TSLSuccess 

it worked

TSLOutOfMemory 

no memory

TSLHeaderIncorrect 

decompression failed because data did not begin with a valid compression header; data not compressed?

TSLFailed 

algorithm failed to decompress the data

TSLFileError 

error reading or writing file

◆ TSLCursorStyle

This enumeration defines the different types of cursor style that may be supplied to the application via the various MapLink classes, such as TSLEditorRequest or TSLInteractionModeRequest

Enumerator
TSLCursorStyleNone 
TSLCursorStyleSelectEntity 
TSLCursorStyleSelectPosition 
TSLCursorStyleSelectPoint 
TSLCursorStyleDraw 
TSLCursorStyleScaleEqual 
TSLCursorStyleScaleUnequal 
TSLCursorStyleScaleNorth_South 
TSLCursorStyleScaleEast_West 
TSLCursorStyleScaleNorthEast_SouthWest 
TSLCursorStyleScaleNorthWest_SouthEast 
TSLCursorStyleBusy 
TSLCursorStyleMoveEntity 
TSLCursorStyleRotate 
TSLCursorStyleMovePoint 
TSLCursorStyleEnterText 
TSLCursorStyleZoomToRectangle 
TSLCursorStylePanToPoint 
TSLCursorStyleMagnify 
TSLCursorStyleQuery 
TSLCursorStyleGrab 
TSLCursorStyleDrop 
TSLCursorStyleUserCursorBase 
TSLCursorStyleUserCursorEnd 

◆ TSLDataLayerTypeEnum

Enumerated value for the type of a TSLDataLayer.

Enumerator
TSLDataLayerTypeStandardDataLayer 

The layer is a TSLStandardDataLayer.

TSLDataLayerTypeMapDataLayer 

The layer is a TSLMapDataLayer.

TSLDataLayerTypeGridDataLayer 

The layer is a TSLGridDataLayer.

TSLDataLayerTypeRasterDataLayer 

The layer is a TSLRasterDataLayer.

TSLDataLayerTypeNationalGridDataLayer 

The layer is a TSLNationalGridDataLayer.

TSLDataLayerTypeCADRGDataLayer 

The layer is a TSLCADRGDataLayer.

TSLDataLayerType3DStandardDataLayer 

The layer is a TSL3DStandardDataLayer.

TSLDataLayerTypeCustomDataLayer 

The layer is a TSLCustomDataLayer.

TSLDataLayerType3DCustomDataLayer 

The layer is a TSL3DCustomDataLayer.

TSLDataLayerTypeMGRSGridDataLayer 

The layer is a TSLMGRSGridDataLayer.

TSLDataLayerTypeLatLonGridDataLayer 

The layer is a TSLLatLongGridDataLayer.

TSLDataLayerTypeAcceleratedCustomDataLayer 

The layer is a TSLAcceleratedCustomDataLayer.

TSLDataLayerType2DSatelliteDataLayer 

The layer is a TSL2DSatelliteDataLayer.

TSLDataLayerType3DSatelliteDataLayer 

The layer is a TSL3DSatelliteDataLayer.

TSLDataLayerTypeFilterDataLayer 

The layer is a TSLFilterDataLayer.

TSLDataLayerTypeWMSDataLayer 

The layer is a TSLWMSDataLayer.

TSLDataLayerTypeS63DataLayer 

The layer is a TSLS63DataLayer.

TSLDataLayerTypeGARSGridDataLayer 

The layer is a TSLGARSGridDataLayer.

TSLDataLayerTypeWMTSDataLayer 

The layer is a TSLWMTSDataLayer.

TSLDataLayerTypeStaticMapDataLayer 

The layer is a TSLStaticMapDataLayer.

TSLDataLayerTypeDirectImportDataLayer 

The layer is a TSLDirectImportDataLayer.

TSLDataLayerTypeViewShed 

The layer is a TSLViewShedDataLayer.

TSLDataLayerTypeDatabaseDataLayer 

The layer is a TSLDatabaseDataLayer.

TSLDataLayerTypeKMLDataLayer 

The layer is a TSLKMLDataLayer.

TSLDataLayerTypeHeatMapDataLayer 

The layer is a TSLHeatMapDataLayer.

◆ TSLDeclutterStatusEnum

Enumerated type for the declutter status.

Enumerator
TSLDeclutterStatusOff 

The specified feature class will never be displayed.

TSLDeclutterStatusOn 

The specified feature class will always be displayed.

TSLDeclutterStatusAuto 

the specified feature class will appear and disappear as the user zooms in and out according to the resolution (defined by the number of internal co-ordinates per device unit).

tsl_dcl_OFF 

Deprecated versions

tsl_dcl_ON 
tsl_dcl_AUTO 

◆ TSLDeclutterStatusResultEnum

Enumerated type describing the return type for declutter operations.

Enumerator
TSLDeclutterStatusResultOff 

The specified feature class will never be displayed.

TSLDeclutterStatusResultOn 

The specified feature class will always be displayed.

TSLDeclutterStatusResultAuto 

the specified feature class will appear and disappear as the user zooms in and out according to the resolution (defined by the number of internal co-ordinates per device unit).

TSLDeclutterStatusResultPartial 

returned if subclasses of the specified partial feature class name have a mixture of ON, OFF or AUTO.

tsl_dcl_is_OFF 

Deprecated values

tsl_dcl_is_ON 
tsl_dcl_is_AUTO 
tsl_dcl_is_PARTIAL 

◆ TSLDrawingSurfaceTypeEnum

This enum identifies the drawing surface class to cast to when the user calls the type method on TSLDrawingSurfaceBase

Enumerator
TSLDrawingSurfaceTypeUnknown 

This indicates that the Drawing Surface type is unknown.

TSLDrawingSurfaceTypeGDI 

This indicates TSLNTSurface.

TSLDrawingSurfaceTypeX11 

This indicates TSLMotifSurface.

TSLDrawingSurfaceTypeOpenGL 

This indicates TSLWGLSurface, TSLGLXSurface, TSLEGLSurface or TSLNativeEGLSurface (depends on platform).

TSLDrawingSurfaceTypeDirect2D 

(Future use) This indicates TSLDirect2DDrawingSurface.

TSLDrawingSurfaceTypeAcceleratorOpenGL 

This indicates TSLWGLAcceleratedSurface or TSLX11GLAcceleratedSurface (depends on platform).

TSLDrawingSurfaceTypeAcceleratorDirectX 

This indicates TSLDXAcceleratedSurface.

TSLDrawingSurfaceType3DOpenGL 

This indicates TSL3DWinGLSurface or TSL3DXGLSurface (depends on platform).

TSLDrawingSurfaceType3DEarth 

This indicates an instance of the 3D Earth surface (maplink::earth::Surface3D)

◆ TSLDynamicRendererAction

Enumeration detailing the action that MapLink should take after it has asked the Dynamic Renderer to draw an entity.

Enumerator
TSLDynamicRendererActionNone 

Return this if the renderer has successfully drawn the entity and MapLink should continue on to the next entity.

TSLDynamicRendererActionIgnore 

Return this if the Dynamic Renderer does not want the entity drawn and MapLink should continue on to the next entity.

TSLDynamicRendererActionDefault 

Return this if the Dynamic Renderer wants MapLink to perform its default rendering - set up attributes accordingly and then draw the entity.

TSLDynamicRendererActionUseCurrentRendering 

Return this if the Dynamic Renderer wants MapLink to render the entity using the current rendering attributes on the rendering interface instead of the entity's default rendering.

◆ TSLErrorCategory

Defines the Error Categories that can be read from TSLErrorStack.

You can use these values to define a mask which controls the types of errors/messages you wish to query from the TSLErrorStack.

The values defined are:

TSLErrorCategoryInfo Information Message TSLErrorCategoryWarn Warning Message TSLErrorCategoryError Error Message TSLErrorCategoryFatal Fatal Error Message TSLErrorCategorySyntax Syntax Error Message TSLErrorCategoryDebug Debug Error Message TSLErrorCategoryAll All Error messages

Enumerator
TSLErrorCategoryInfo 
TSLErrorCategoryWarn 
TSLErrorCategoryError 
TSLErrorCategoryFatal 
TSLErrorCategorySyntax 
TSLErrorCategoryDebug 
TSLErrorCategoryAll 

◆ TSLFileLoaderCallbacks

Lists all of the possible TSLFileLoader callback locations.

Enumerator
TSLFileLoaderCallbackBeforeDecompression 

Callback generated before any decompression

TSLFileLoaderCallbackAfterDecompression 

Callback generated after any decompression

TSLFileLoaderCallbackAfterProcessing 

Callback generated after the file has loaded and has been processed, but before it is marked as loaded so operations can be performed on the data in a thread

◆ TSLFileLoaderTypeEnum

Lists all of the possible TSLFileLoader child class types.

Enumerator
TSLFileLoaderTypeBlocking 

This means the class is a TSLFileLoaderBlocking loader.

TSLFileLoaderTypeMemory 

This means the class is a TSLFileLoaderMemory loader.

TSLFileLoaderTypeMT 

This means the class is a TSLFileLoaderMT loader.

TSLFileLoaderTypeRemote 

This means the class is a TSLFileLoaderRemote loader.

TSLFileLoaderTypeCustom 

◆ TSLFilterDisplayItemProp

This enum defines various processing options that affect the appearance of rasters processed through the TSLFilterDataLayer. The available values are:

Enumerator
TSLFilterDisplayItemPropRasterProjectionMaintainPalette 

Controls if an 8bit raster palette is maintained through the projection process. To turn this enum on pass true (1) and to turn this off pass false (0 - default) to TSLFilterDataLayerDisplatItem::setDisplayItemProp.

TSLFilterDisplayItemPropRasterProjectionDisableDithering 

Controls if dithering is turned on during the projection process. To turn this enum on pass true (1) and to turn this off pass false (0 - default) to TSLFilterDataLayerDisplatItem::setDisplayItemProp.

TSLFilterDisplayItemPropRasterProjectionInterpolate 

Controls the filtering algorithm used during the projection process. Setting this to true (1) causes processing to use bi-linear interpolation, resulting in higher quality output at the cost of increased processing time. The default value of false(0) causes processing to use nearest-neighbour filtering.

TSLFilterDisplayItemPropStretchBrightness 

Setting this to true (1) causes processing to map the range of brightness values used in the source image to the maximum available range for the display (usually 0-255). This can improve the appearance of rasters that only use a small fraction of the available data range for their native format, particularly when the values are clustered around one edge of the range. Not all types of filter that can be used with the TSLFilterDataLayer support this option. Generally this option only has an effect on greyscale and some RGB rasters.

◆ TSLFilterProcess

Controls how Vector and Raster data is processed.

The values can be combined using bitwise-OR.

Enumerator
TSLFilterProcessNone 

No additional processing required.

TSLFilterProcessCreateBatch 

Create optimised geometry.

TSLFilterProcessFlattenGroups 

Return data with minimal grouping.

TSLFilterProcessComplexChecking 

Sets the complex checking flag on Polygons.

TSLFilterProcessKeyHoling 

Key-Hole polygons - Can be very slow, normally produces faster drawn geometry.

TSLFilterProcessDecomplexifyOnInput 

Decomplexify Polygons on input - Can be slow.

TSLFilterProcessIgnorePolygonGeometryFailures 

If a Polygon fails to be created because the geometry is invalid, simply ignore it.

TSLFilterProcessRasterPyramid 

Raster items are created as pyramids - Can be slow.

TSLFilterProcessSeparateMaskFile 

Reserved for future use.

◆ TSLFilterProcessStatus

This enumeration defines the processing status of a display item.

Enumerator
TSLFilterProcessStatusUnknown 

Processing has yet to take place so it is not yet known if the display item can be successfully processed.

TSLFilterProcessStatusFail 

Processing has been unsuccessful

TSLFilterProcessStatusSuccess 

Processing has been completed successfully.

◆ TSLFilterProgress

This enumeration indicates where a TSLFilterProgressCallback callback originates from.

The possible values are

TSLFilterProgressLoadData TSLFilterProgressProcess TSLFilterProgressGeolocationChange TSLFilterProgressProcessItem

A TSLFilterProgressLoadData call is made when loadData is called on the data layer

A TSLFilterProgressProcess call is made when data is processed on the datalayer either through a call to process(), processDisplayItem() or when the layer is drawn and display items that are to be drawn have not been previously processed.

A TSLProgressGeolocationChange call is made when either clearUserDefined() Geolocation or setUserDefinedGeolocation() call has been successfully made on a display item. It may also be made when setInputCoordinateSystem() has been called on a display item and the coordinate system differs from the existing one. This change requires the data to be effectively reloaded but will maintain any current settings the user has applied.

A TSLFilterProgressProcessItem callback is made to indicate the progress of a particular item being processed. Callbacks of this kind will be made between TSLFilterProgressProcess callbacks. Percentage values ranging from 0 to 100 will be sent to the user callback function for each item using this callback type.

If the user returns false to a callback, the state of the layer is affected in the following way given the callback type:

TSLFilterProgressLoadData or TSLFilterProgressGeolocationChange

  • The data will be unloaded and the data layer cleared as both of these processes are key to the layer maintaining its state. Both require, however, far less time to complete then processing.

TSLFilterProgressProcess or TSLFilterProgressProcessItem

  • The display item currently being processed and any remaining display items will require reprocessing
Enumerator
TSLFilterProgressLoadData 
TSLFilterProgressProcess 
TSLFilterProgressGeolocationChange 
TSLFilterProgressProcessItem 

◆ TSLFilterType

Enumerated Type for the Filter Data Layers:

Locked filters require a runtime unlock code that needs to be supplied by Envitia. Please contact your sales representative.

Please contact sales if you require runtime direct import for datasets not mentioned above.

Enumerator
TSLFilterTypeNITF 

NITF Filter Data-layer (locked)

TSLFilterTypeRaster 

Raster Filter Data-layer

TSLFilterTypeGeoTIFF 

Raster Filter Data-layer

TSLFilterTypeArcs 
TSLFilterTypeASRP 

Raster Filter Data-layer

TSLFilterTypeCRP 

Raster Filter Data-layer (Windows only).

TSLFilterTypeGDAL 

Raster Filter Data-layer (locked - Please contact support for the unlock code)

◆ TSLFindTypeEnum

Enumerated type for limiting searches.

Enumerator
TSLFindTypeAll 

Find all matching entities.

TSLFindTypeEntitySet 

Find only TSLEntitySet objects.

TSLFindTypeText 

Find only TSLText objects.

TSLFindTypeSymbol 

Find only TSLSymbol objects.

TSLFindTypeCurve 

Find only one-dimensional objects, TSLArc and TSLPolyline.

TSLFindTypeSurface 

Find only two-dimensional objects, TSLPolygon, TSLEllipse and TSLPolygon.

TSLFindTypeArc 

Find only TSLArc objects.

TSLFindTypePolyline 

Find only TSLPolyline objects.

TSLFindTypeEllipse 

Find only TSLEllipse objects.

TSLFindTypePolygon 

Find only TSLPolygon objects.

TSLFindTypeRectangle 

Find only TSLRectangle objects.

◆ TSLGridDetailLevelChangeEnum

Modes available determining when a Grid Data Layer changes detail level.

Enumerator
TSLGridLevelChangeAutomatic 

level changes are determined automatically by the GridDataLayer.

TSLGridLevelChangeManual 

level changes are determined by the user setting the rendering edge styles of the Grid Lines, e.g. in the TSLLatLongGridDataLayer setting the value of the Tenths Longitude and Latitude edge styles to a value greater than 0 will enable the calculation of the Tenths grids.

NOTE: If the Manual mode is used then the User needs to be aware that setting of Sub Grids at too high a zoom level will seriously impinge on performance and memory usage.

◆ TSLInteropAttributeType

Enumerated type that defines the attribute types used by the TSL interoperability classes.

Enumerator
TSLInteropAttributeTypeProperties 
TSLInteropAttributeTypeRendering 
TSLInteropAttributeTypeDataset 

◆ TSLInteropEntityType

Enumerated type that defines the entity types used by the TSL interoperability classes.

Enumerator
TSLInteropEntityTypeArc 
TSLInteropEntityTypeEllipse 
TSLInteropEntityTypePolygon 
TSLInteropEntityTypePolyline 
TSLInteropEntityTypeRectangle 
TSLInteropEntityTypeSymbol 
TSLInteropEntityTypeText 
TSLInteropEntityTypeSpline 
TSLInteropEntityTypeBorderedPolygon 
TSLInteropEntityTypeBorder 

◆ TSLInteropError

Enumerated type that defines the error codes returned by the TSL interoperability classes.

Enumerator
TSLInteropErrorOK 
TSLInteropErrorUndefined 
TSLInteropErrorNullPointer 
TSLInteropErrorCopyFailure 
TSLInteropErrorIndexOutOfRange 
TSLInteropErrorInconsistentExportSet 
TSLInteropErrorEmptyBasefileAndAttribute 
TSLInteropErrorCopyDatasetFailure 
TSLInteropErrorCopyDataHandlerFailure 
TSLInteropErrorExternalAttributeNotFound 
TSLInteropErrorIncorrectAttributeType 
TSLInteropErrorSetRendering 
TSLInteropErrorProcessBorderedPolygon 

◆ TSLKeyedOption

Enumerated type describing the functions within MapLink that are protected by special license keys.

Enumerator
TSLPlatformKey 

For unlocking all licenced functionality contained within a licence key. This option is not available on all platforms.

TSLKeyedLZWTIF 

For LZW-compressed Tif files - no longer required.

TSLKeyedGIF 

For GIF files - no longer required.

TSLKeyedShapefileImport 

For run-time import of ESRI Shapefiles.

TSLKeyedShapefileExport 

For run-time export of ESRI Shapefiles.

TSLKeyedMIFImport 

For run-time import of MapInfo MIF files.

TSLKeyedMIFExport 

For run-time export of MapInfo MIF files.

TSLKeyedMasterMapImport 

For run-time import of OS MasterMap GML files.

TSLKeyedMasterMapExport 

For run-time export of OS MasterMap GML files.

TSLKeyedLandLineImport 

For run-time import of OS LandLine NTF files.

TSLKeyedLandLineExport 

For run-time export of OS LandLine NTF files.

TSLKeyedS57Import 

For run-time import of S57 files.

TSLKeyedS57Export 

For run-time export of S57 files.

TSLKeyedJPEG2000 

For JPEG2000 compressed files.

TSLKeyedCADRGDataLayer 

For use of the TSLCADRGDataLayer class to load CADRG data at run-time.

TSLKeyedDMEDTerrainDatabase 

For use of the TSLTerrainDatabase class to load DMED referenced DTED data at run-time.

TSLKeyedS63 

For use of the TSLS63MediaIngestManager and TSLS63DataLayer classes to ingest and display S63 and S57 data at run-time.

TSLKeyedGML 

For use of the TSLGMLInstanceDataLoader, TSLGMLApplicationSchemaLoader, TSLGMLInstanceDataWriter and TSLGMLApplicationSchemaWriter classes used to read and write GML application schemas and instance data.

TSLKeyedWFSClient 

For use of the TSLWFSServer class used for interacting with a remote Web Feature Service server.

TSLKeyedS57MediaIngest 

For use with the S63 SDK. This unlocks the capability of ingesting S57 (unencrypted data only) data via the TSLS63MediaIngestManager and TSLS63DataLayer classes to ingest and display of S57 data at run-time.

TSLKeyedEvaluationMap 

For use with maps that have been created with an Evaluation licensed version of Studio. Unlocking this removes the drawing of the Evaluation Watermark for maps created using an Evaluation licensed version of MapLink Studio.

TSLKeyedDirectImportDataLayer 

For unlocking the Direct Import SDK. This allows import of data at runtime through the TSLDirectImportDataLayer.

◆ TSLLoaderCallbackReturn

The return value given by the user to an asynchronous TSLFileLoader load or when the user intercepts the load process by setting up a loaded callback (see TSLFileLoader::setLoadedCallback).

Enumerator
TSLContinue 

continue to download.

TSLCancelThisLoad 

cancel current download. This return value is not valid for TSLLoaderFileLoadedCallback.

TSLCancelAllLoads 

cancel all downloads currently in progress by this loader. This return value is not valid for TSLLoaderFileLoadedCallback.

TSLBadFileStatus 

The file is bad. Returning this will cause this file to be skipped. If using a Multi-threaded loader any tiles contained in the queue may also be cancelled. Subsequent pan, zoom and draw may re-request the tiles.This return value is only valid for a TSLLoaderFileLoadedCallback.

TSLIgnoreFile 

Ignore the file. This causes a dummy tile to be created. Subsequent pan, zoom and draw will only re-request the tile if the tile is no-longer in the cache. This return value is only valid for a TSLLoaderFileLoadedCallback.

◆ TSLLoaderStatus

Enumerated type used to return the success or failure of TSLFileLoader operations.

Enumerator
TSLLoadingOK 

Success so far (loading succeeded if callback with 100% done).

TSLLoadingCancelled 

Loading cancelled by callback returning CancelThisLoad or CancelAllLoads.

TSLLoadingFailedNotFound 

Loading failed because the file could not be found or a connection could not be established with the remote server.

TSLLoadingFailedInternetSettings 

Loading failed because the computer registry is not configured for an internet connection (try installing a web browser).

TSLLoadingFailedNoMemory 

Loading failed because memory could not be allocated.

TSLLoadingFailedBadCompressionHeader 

Loading failed because the section of file did not contain a valid header for decompression, maybe it is uncompressed.

TSLLoadingFailedDecompression 

Loading failed because the section of compressed data could not be decompressed.

TSLLoadingFailedCompression 

Compression failed (not used by loaders).

TSLLoadingFailedOpening 

Loading failed during file opening.

TSLLoadingFailedReading 

Loading failed during file reading.

TSLLoadingFailedClosing 

Loading failed during file closure.

TSLLoadingFailedOffsetMove 

Could not move to the specified offset in the file.

TSLLoadingFailedFilter 

Failed to filter the data from its native format.

TSLLoadingFailedGeneral 

An unexpected error occurred during file loading.

TSLLoaderDoesntDecompress 

Trying to decompress a file with a loader that does not support decompression.

TSLLoaderKilled 

Loading aborted because the loader has been destroyed.

TSLLoaderAccessDenied 

Access to the resource was denied.

TSLLoaderIgnoreFile 

Ignore the file but create a dummy tile internally.

◆ TSLLocatorType

This is the TSLLocatorType class.

It is an enumerator for locator type, press/motion/release.

Enumerator
TSLLocatorPress 
TSLLocatorMotion 
TSLLocatorRelease 

◆ TSLMaplCompressionOption

Enumerated type to represent whether a directory is compressed or uncompressed.

Enumerator
TSLCompressedYes 

Directory is compressed. If a file fails to decompress then an error is returned.

TSLCompressedNo 

Directory is not compressed.

TSLCompressedDefault 

Directory is uncompressed if it is local (which includes network addresses), compressed if it is remote (via http, https, ftp or gopher). If a remote file fails to decompress because it does not contain a compression header, the uncompressed data is returned without error.

◆ TSLModifierType

This is the TSLModifierType class.

It is an enumerator class for modifier keys being pressed during operation.

Enumerator
TSLModifierNone 
TSLModifierShift 
TSLModifierControl 
TSLModifierShiftAndControl 

◆ TSLOptionEnum

Enumerated type defining the options for a TSLDrawingSurface.

Enumerator
TSLOptionDoubleBuffered 

Sets the double buffered flag of the TSLDrawingSurface. If this flag is true then the TSLDrawingSurface is double buffered. For maximum efficiency when using this option, always use the TSLDrawingSurface drawDU or drawUU methods. This option has no effect on the OpenGL drawing surface. Default value is False.

TSLOptionAntiAliasMonoRasters 

When set, monochrome rasters are anti-aliased. This improves the display, but has a detrimental effect on raster performance. This option has no effect on the OpenGL drawing surface. Default value is False.

TSLOptionDynamicArcSupportEnabled 

When set, maps are treated as dynamic arc and have their projections altered appropriately on zooming and resizing. Default value is False. A map using the Dynamic Arc coordinate system, with the TSLOptionAdjustForDynamicArc option set on the Drawing Surface, causes the TSLResizeActionEnum option to behave differently than for other configurations:

  • TSLResizeActionNone behaves similarly to TSLResizeActionMaintainCentre.
  • TSLResizeActionMaintainTopLeft, TSLResizeActionMaintainTopRight, TSLResizeActionMaintainBottomLeft, TSLResizeActionMaintainBottomRight may not maintain the corner absolutely when resizing on the y axis.
TSLOptionProgressiveTileZoom 

When set and TSLOptionTileBufferedLayers is enabled, this option prevents display flickering when zooming in and out by displaying any available tiles for the current viewing area until buffered tiles of the correct resolution are available. For the Accelerated Drawing Surface, map tiles are generated in the background thread if a multi-threaded renderer is being used (See Also: TSLAcceleratedSurface). The default value is false.

TSLOptionTileBufferedLayers 

Enabled background threaded tiling for buffered layers in this drawing surface. See TSLDrawingSurfaceTiledBufferControl for details on tiled buffering. This option is currently supported only by the TSLOpenGLSurface. The default value is false.

TSLOptionAcceleratorZoomAsynchronous 

Deprecated - use TSLOptionProgressiveTiledDisplay instead

◆ TSLPathlistCallbackReturn

Enumerated type describing the return value given by the user to a callback from a TSLPathlist, made by 'getMatchingDirectoriesMT' when the location of a file is needed, typically by a file loader trying to locate a file.

Enumerator
TSLFileDoesNotExist 

The callback has worked out that the file will definitely not exist. 'getMatchingDirectoriesMT' will return false. The file will not be found by a loader.

TSLFileLocationUnknown 

The callback does not know where to find the given file. 'getMatchingDirectoriesMT' will return all directories in the pathlist that match the filename given. A loader would try these directories and the local directory as usual.

TSLFileLocationToTry 

The callback has calculated a directory where the file may be found. 'getMatchingDirectoriesMT' will return a list containing the special "callback returned" value followed by all directories in the pathlist that match the filename given. A loader will try the location given by the callback, followed by all matching directories in the pathlist, followed by the local directory.

TSLFileLocationMandatory 

The callback has calculated a directory where the file must be found. 'getMatchingDirectoriesMT' will return a list containing only the special "callback returned" value. A loader will try to find the file in the location specified, only.

◆ TSLPickResultEnum

Enumerated type defining the types for a pick operation result.

Enumerator
TSLPickEntity 

Defines that the picked item was a 2D entity.

TSLPickCustom 

Defines that the picked item was contained in a custom datalayer.

TSLPick3DEntity 

Defines that the picked item was a 3D entity.

TSLPickDisplayObject 

Defines that the picked item was a TSLDisplayObject, from the DDO API

TSLPickSatellite 

Defines that the picked item was a TSLSatellite from the Satellite Propagator API

TSLPickTrack 

Defines that the picked item was a TSLTrack, from the Track Manager API

TSLPickTrackGraphic 

Defines that the picked item was a TSLTrackGraphic, from the Track Manager API

TSLPickEarthTrack 

Defines that the picked item was an earth::Track, from the Earth SDK.

TSLPickEarthGeometry 

Defines that the picked item was an earth::geometry::Geometry, from the Earth SDK.

TSLPickReserved1 
TSLPickReserved2 
TSLPickReserved3 
TSLPickReserved4 
TSLPickReserved5 
TSLPickUser 

Defines the first enumerated value that can be used for user-defined pick results.

◆ TSLPriorityEnum

Enumerated type defining the priority options to pass to TSLFileLoaderMT::setPriority.

Enumerator
TSLPriorityBelow 

Sets the priority of the thread to be below that of the starting thread on NT. On UNIX the priority is set below the default starting priority (half way between the minimum and start priority).

TSLPrioritySame 

Sets the priority to that of the starting thread on NT. On UNIX the priority is set to the default starting priority.

TSLPriorityMin 

Sets the priority to the lowest priority on NT and the minimum on UNIX.

◆ TSLPropertyEnum

Enumerated type defining the properties of a TSLDataLayer when it is attached to a TSLDrawingSurface.

The properties of a datalayer may be modified via TSLDrawingSurfaceBase::setDataLayerProps.

Enumerator
TSLPropertyVisible 

Sets the visibility flag of the TSLDataLayer. If this flag is true then the TSLDatalayer is drawn. Default value is true.

TSLPropertyDetect 

Sets detectability of the TSLDataLayer attached to the TSLDrawingSurface. If this flag is true, the user can snap to points on entities within this layer when using the TSLEditor component. This is also required for use by the 'find' methods on the TSLDrawingSurface. Note that this does not mean that entities can be selected. Default value is false.

TSLPropertySelect 

Sets selectability of the TSLDataLayer attached to the TSLDrawingSurface. If this flag is true the user can select entities within this layer when using the OperationManager component. Default value is false.

TSLPropertyTransparent 

This flag is NOT a visual property. It determines if any selection or detection functions are passed to data layers beneath this layer. Default value is true.

TSLPropertyAutomatic 

This is only applicable to a TSLMapDataLayer. If this flag is true, then the TSLMapDataLayer automatically handles management of the active detail layer. If this flag is false, then the user should manage the active detail layer change. Default value is true.

TSLPropertyMinTextHeight 

This is the minimum allowed height, in pixels, for text to be displayed. Text smaller than this will not be shown. Default value is 3 pixels.

TSLPropertyBuffered 

This flag determines whether the individual data layer is double buffered. This may be combined with double buffering on the drawing surface. A common use for this flag is for a relatively static map, with another data layer above with moving entities. Default value is false.

TSLPropertyMaxTextHeight 

This is the maximum allowed height, in pixels, for text to be displayed. Text greater than this will not be shown. Default value is 250 pixels.

TSLPropertyMinZoomDisplay 

The minimum zoom value to display the layer at in TMC / pixel.

Default -1 -> no minimum.

TSLPropertyMaxZoomDisplay 

The maximum zoom value to display the layer at in TMC / pixel.

Default -1 -> no maximum.

TSLPropertyProgressiveDisplay 

Enable or disable progressive display. Default 0 -> disabled.

Note: this option should only be used when using a multi-threaded or remote loader.

TSLPropertyRasterContrast 

Set the contrast for a raster shown in a raster data layer or map data layer. Increases or decreases the range between black and white pixels. Values are -1000 (no contrast) to 1000 (maximum contrast).

Default 0 -> no adjustment.

TSLPropertyRasterBrightness 

Set the brightness for a raster shown in a raster data layer or map data layer. Increases or decreases the luminance of all pixels. Values are -1000 (minimum brightness) to 1000 (maximum brightness).

Default 0 -> no adjustment.

TSLPropertyRasterGamma 

Set the gamma correction for a raster shown in a raster data layer or map data layer. Applies a nonlinear correction according to the standard gamma equation.

The value is a positive integer which is 100 times the required gamma value, e.g. to achieve a gamma correction of 0.15, set a value of 15.

Default 100, equivalent to a gamma of 1.0 -> no correction.

TSLPropertyLoadedSymbolsAndTextViewExpansion 

This option affects the view extent used when drawing text and symbols in a MapDatalayer. This option will not normally be required to be used. Example uses are:- when generating tiled output, using the Accelerator SDK with vector map data.

The value specified is a percentage of the view area to extend the view extent by.

The default value is 0. The percentage can by greater then 100. Negative values are set to 0.

Setting this option to a value greater then 0 will have an impact on performance as the amount of text and symbols drawn will increase. The size of the impact on performance will be dependent on the amount of text and symbols in the map and specifically the tiles being used. Only the currently loaded set of tiles will be used.

TSLPropertyTransparency 

This option allows the data layer to be rendered transparently.

The value passed should be between 0 and 255, where 255 is fully opaque and 0 is not visible. The default is 255.

Either buffering on the layer or on the surface as a whole must be enabled prior to setting the layer translucency. Failure to do so will cause the layer to appear with the default translucency value of 255.

TSLPropertyNonNativeDrawing 

This option allows the user to indicate to the Drawing Surface that the user is drawing geometry not using the TSLRenderingInterface or using the same drawing technology as the Drawing Surface.

These options are only applicable to layers that the user draws.

The default rendering is assumed to be via the TSLRenderingInterface or the same drawing technology as the Drawing Surface.

See the documentation for each type of drawing surface for details on how non native rendering should be used with that surface.

Setting this property will have no effect on the NT or X11 surface.

TSLPropertyRealtimeReprojection 

This option allows the user to indicate to the TSLOpenGLSurface that the layer should be re-projected at runtime using the GPU.

This option will only work with the OpenGL Drawing Surface (Desktop).

OpenGL 4.4 support is required.

TSLPropertyGeometryStreaming 

This option allows the user to indicate to the TSLOpenGLSurface that the layer should be rendered using geometry streaming. This is designed for layers that are static unless the view changes (examples: S52 rendering, grid data layers).

When enabled, the drawing surface will capture any drawn vector geometry and save it. Until notifyChanged is called on the layer, this saved geometry will always be used. Calling notifyChanged will invalidate the saved geometry, which will then be re-captured.

This option will only work with layers on an OpenGL Drawing Surface. It will not work with owner drawn geometry, raster or GDI/OGL/X11 rendering on a custom data layer. This option only works on unbuffered layers.

Default value is false.

TSLPropertyDepthClear 

This option allows the user to indicate to the TSLOpenGLSurface that the depth buffer should be cleared (default) or not cleared at the beginning of each layer that is drawn.

Not clearing the depth buffer at the start of drawing of a layer may cause interesting Drawing effects.

TSLPropertyGeometryStreamingForceSymbolsAndTextToTop 

This option allows the user to indicate to the TSLOpenGLSurface that text and symbol entities should be drawn above all others.

This has been made an option because S52 rendering will be broken by it.

This only ever has an effect if TSLPropertyGeometryStreaming is true.

Default value is false.

tsl_visible 

Deprecated.

tsl_detect 

Deprecated.

tsl_select 

Deprecated.

tsl_transparent 

Deprecated.

tsl_automatic 

Deprecated.

tsl_min_text_height 

Deprecated.

tsl_buffered 

Deprecated.

tsl_max_text_height 

Deprecated.

tsl_min_zoom_display 

Deprecated.

tsl_max_zoom_display 

Deprecated.

TSLPropertyProgressiveRasterDisplay 

Deprecated.

◆ TSLRasterFilterPixelTransparency

Enumeration determining how pixels in the input image may be considered to be transparent.

Pixels in the output image will be transparent if they map to transparent areas in the input image or if they map to areas outside of the input image.

Enumerator
TSLRasterFilterPixelTransparencyNone 

Input pixels are not transparent.

TSLRasterFilterPixelTransparencyTrimBlack 

Working in from the edges, all black pixels will be considered transparent.

TSLRasterFilterPixelTransparencyAllBlack 

All black pixels in the input image will be considered transparent.

TSLRasterFilterPixelTransparencyAllColour 

(Reserved for Future enhancement) All pixels of a specified colour in the input image will be considered transparent.

◆ TSLRasterInterpolation

Enumerated type describing the set of interpolation options to use when warping rasters or creating raster pyramids.

Enumerator
TSLRasterInterpolationNone 
TSLRasterInterpolationAverage 
TSLRasterInterpolationBilinear 
TSLRasterInterpolationNearestNeighbour 
TSLRasterInterpolationPadding 

◆ TSLRasterType

Enumerator
TSLRasterTypeTiff 
TSLRasterTypeTiffPackBits 
TSLRasterTypeBmp 
TSLRasterTypeJpeg 
TSLRasterTypePCX 
TSLRasterTypePNG 
TSLRasterTypeJpeg2K 

◆ TSLResizeActionEnum

This enumerated type defines what should happen to the uuExtent during a wndResize.

This is necessary since the drawing surface cannot veto a wndResize. To avoid all applications being coded to handle this situation, these flags allow TMS to manipulate the wcExtent along specified rules, to fit within the specified wndExtent.

ResizeActionMaintainCentre/TL/TR/BL/BR all attempt to keep the tmcPerPixel and hide or expose parts of the WC space accordingly. They also assume a square aspect ratio, where the tmcPerPixel is the same in both X and Y. If a different action is required then this should be implemented explicitly by the user by passing ResizeActionNone and calling the 'resize' method with the required parameters.

A map using the Dynamic Arc coordinate system, with the TSLOptionAdjustForDynamicArc option set on the Drawing Surface, causes the TSLResizeActionEnum option to behave differently than for other configurations:

  • TSLResizeActionNone behaves similarly to TSLResizeActionMaintainCentre.
  • TSLResizeActionMaintainTopLeft, TSLResizeActionMaintainTopRight, TSLResizeActionMaintainBottomLeft, TSLResizeActionMaintainBottomRight may not maintain the corner absolutely when resizing on the y axis.

Note, that these actions may be changed if the coordinate space would be exceeded. In this case, the tmcPerPixel may be changed to avoid numeric overflow.

Enumerator
TSLResizeActionNone 
TSLResizeActionMaintainCentre 
TSLResizeActionMaintainTopLeft 
TSLResizeActionMaintainTopRight 
TSLResizeActionMaintainBottomLeft 
TSLResizeActionMaintainBottomRight 

◆ TSLRuntimeProjectionChangedEnum

Enumerated type indicating why the runtime projection has changed.

Enumerator
TSLRuntimeProjectionChangeOriginChangedOnly 

The origin of the projection has changed.

TSLRuntimeProjectionChangeProjectionChanged 

The projection has changed.

◆ TSLSelectorActionType

This enumerated type determines how the TSLDataLayer query algorithm proceeds as it searches for entities that match the TSLSelector object.

Note: If the entity returned is a TSLEntitySet then return TSLSelectorActionIgnoreContinue if you wish to navigate into the group to extract the entities contained in the entity set, otherwise the entire entity set will be skipped.

Enumerator
TSLSelectorActionIgnoreContinue 

Ignore the entity and continue searching down the hierarchy.

TSLSelectorActionIgnoreNext 

Ignore the entity and continue searching the next entity at the current level.

TSLSelectorActionSelectExit 

Select the entity and return.

TSLSelectorActionSelectNext 

Select the entity and continue searching the next entity at the current level.

◆ TSLSLMEntityRefHandlerType

This enumerated type is used when determining the type of a TSLSLMEntityRefHandler.

Enumerator
TSLSLMEntityRefHandlerCustomType 
TSLSLMEntityRefHandlerFileType 

◆ TSLSLMEntityRefValidationEnum

This enumeration represents the possible validation states that a TSLSLMEntityRef may have. The following values are defined:

See the documentation for TSLSLMEntityRefHandler::validateEntityRef() for more information.

Enumerator
TSLSLMEntityRefValidationValid 

The entity reference is correct.

TSLSLMEntityRefValidationInvalidDifferentVersion 

The last imported version for the entity reference differs from what was expected.

TSLSLMEntityRefValidationInvalidNotFound 

No entity reference for the given entity ID was found.

TSLSLMEntityRefValidationInvalidAlreadyFound 

The entity reference already has the found flag set (i.e. this entity has been validated more than once).

◆ TSLThreadedOptionsEnum

This enumeration defines the threading options accepted by TSLUtilityFunctions::setThreadedOptions and returned by TSLUtilityFunctions::getThreadedOptions.

The enumeration defines a set of options which can be or'ed together in a bitwise fashion.

These options are only relevant if you are using MapLink from multiple threads. You should review the Threading section in the Developer's Guide.

Enumerator
TSLThreadedOptionsRenderingSupport 

This option should be enabled if you are displaying a standard data-layer in multiple threads.

This option is disabled by default.

TSLThreadedOptionsX11TTFSupport 

On X11 XFT uses an internal cache which is not protected nor is it on a per Display basis.

If you have setup the MapLink tslfonts.dat to use XFT True Type fonts (TTF) then you should use the methods TSLMotifSurface::lockXft() and TSLSurface::unlockXft() when ever you use a toolkit to display TTF text.

This is only necessary if you are using XFT in multiple threads and XFT TTF rendering in MapLink.

This option is enabled by default.

TSLThreadedOptionsPathListSupport 

This option should be enabled before TSLDrawingSurface::loadStandardConfig is called. The option ensures that locking is enabled for the default TSLPathList. No other pathlist will be created with locking turned on.

It is unlikely that a user will need to turn this on as long as they follow the threading notes in the TSLPathList documentation and in the Developer's Guide.

This option is disabled by default.

TSLThreadedOptionsFilterProcessingSupport 

This option is reserved for future use.

◆ TSLUUEnum

enum TSLUUEnum

This enumerated type is used when setting the user unit origin on a TSLDrawingSurface.

Enumerator
TSLUUBottomLeft 

Set the bottom left corner of the map as the centre of the user unit co-ordinate space.

TSLUUCentre 

Set the centre of the map as the centre of the user unit co-ordinate space.

TSLUUTopRight 

Set the top right corner of the map as the centre of the user unit co-ordinate space.

tsl_bottomLeft 

Deprecated.

tsl_centre 

Deprecated.

tsl_topRight 

Deprecated.

◆ TSLWMSVersionEnum

This enumeration represents the OGC WMS Versions supported by MapLink.

Enumerator
TSLWMSVersionUnsupported 
TSLWMSVersion_1_0_0 

1.0.0

TSLWMSVersion_1_1_0 

1.1.0

TSLWMSVersion_1_1_1 

1.1.1

TSLWMSVersion_1_3_0 

1.3.0