Maria GDK 4.5.0.137
Documentation of managed code in release branch
|
Public Member Functions | |||||
MapResources (IMapServiceRasterLayerDataFactory sublayerDataFactory) | |||||
void | ClearLayerData () | ||||
Remove all layers, including categorized layers. | |||||
Dictionary< string, string > | GetMapLayers () | ||||
Get all layernames and corresponding layerids in active template. The layerid returned for dynamic layers is a group id. Use that id as input to GetReferencedMapLayers to fetch referenced overlays.
| |||||
IEnumerable< IRasterLayerData > | GetReferencedMapLayers (string dynamicLayerId) | ||||
Get all referenced overlays for a dynamic templatelayer.
| |||||
bool | RemoveLayerData (IRasterLayerData rld) | ||||
Remove layer.
| |||||
bool | RemoveLayerData (Guid layerId) | ||||
Remove identified layer.
| |||||
void | RemoveCategorizedLayer (string id) | ||||
Remove categorized layer.
| |||||
void | AddCategorizedLayer (string id, List< IRasterLayerData > layers) | ||||
Add categorized layers.
| |||||
void | AddLayerData (IRasterLayerData rld) | ||||
Add rasterlayer data to end of layer list (displayed on top)
| |||||
void | SetLayerData (Guid layerId, IRasterLayerData rld) | ||||
Set identified layer data. If exists, will replace current entry.
| |||||
void | ReserveLayer (Guid layerId) | ||||
Reserve position for identified layer. If layer with that id is set later, the placement of that layer within the layer list will be maintained. | |||||
bool | ProcessMapTemplateLayer (MapTemplateLayer tl) | ||||
Process template layer. | |||||
void | Reset () | ||||
Clear any contents. | |||||
bool | SetupBookmarks (List< Bookmark > bookmarks) | ||||
MapTemplate | GenerateMapTemplate () | ||||
Generate a template from the current raster layer data. Note that this only includes map layers, not propagation or other categorized layers. | |||||
void | AddLayerData (IRasterLayerData rld) | ||||
Add rasterlayer data to end of layer list (displayed on top) | |||||
void | SetLayerData (Guid layerId, IRasterLayerData rld) | ||||
Set identified layer data. If exists, will replace current entry. | |||||
void | ReserveLayer (Guid layerId) | ||||
Reserve position for identified layer. If layer with that id is set later, the placement of that layer within the layer list will be maintained. | |||||
bool | RemoveLayerData (IRasterLayerData rld) | ||||
Remove layer. | |||||
bool | RemoveLayerData (Guid layerId) | ||||
Remove identified layer. | |||||
void | RemoveCategorizedLayer (string id) | ||||
Remove categorized layer. | |||||
void | AddCategorizedLayer (string id, List< IRasterLayerData > layers) | ||||
Add categorized layers. | |||||
bool | SetupBookmarks (List< Bookmark > bookmarks) | ||||
void | ClearLayerData () | ||||
Remove all layers, including categorized layers. | |||||
Dictionary< string, string > | GetMapLayers () | ||||
Get all layernames and corresponding layerids in active template. The layerid returned for dynamic layers is a group id. Use that id as input to GetReferencedMapLayers to fetch referenced overlays. | |||||
IEnumerable< IRasterLayerData > | GetReferencedMapLayers (string id) | ||||
Get all referenced overlays for a dynamic templatelayer. | |||||
MapTemplate | GenerateMapTemplate () | ||||
Generate a template from the current raster layer data. Note that this only includes map layers, not propagation or other categorized layers. | |||||
bool | ProcessMapTemplateLayer (MapTemplateLayer mapTemplateLayer) | ||||
Process template layer. | |||||
void | Reset () | ||||
Clear any contents. | |||||
Properties | |
List< string > | RasterLayerDataOrder [get, set] |
Get or set a list of raster layer data ids that represents the order the layers are rendered. The first id in the list is the first layer to be rendered and the last id in the list is the last layer to be rendered (on top of the other layers). | |
IMapServiceRasterLayerDataFactory | RasterLayerDataFactory [get] |
Gets the Raster Layer Data factory to use. | |
Dictionary< string, List< IRasterLayerData > > | CategorizedLayers [get] |
Maintained by other parts of the system. Template connects to categorized layers through placeholders. | |
int | RasterLayerDataGeneration [get] |
Generation counter for the raster layer data structure. | |
IEnumerable< IRasterLayerData > | RasterLayerData [get] |
IMapVisualSettings | MapVisualSettings [get] |
IList< Bookmark > | Bookmarks [get] |
MapTemplate | CompositeMapTemplate [get, set] |
The template that was used to create the raster layer datas. | |
Properties inherited from TPG.GeoFramework.Map.Core.Contracts.IMapResources | |
int | RasterLayerDataGeneration [get] |
Generation counter for the raster layer data structure. | |
IEnumerable< IRasterLayerData > | RasterLayerData [get] |
Dictionary< string, List< IRasterLayerData > > | CategorizedLayers [get] |
IMapVisualSettings | MapVisualSettings [get] |
IList< Bookmark > | Bookmarks [get] |
MapTemplate | CompositeMapTemplate [get] |
The template that was used to create the raster layer datas. | |
List< string > | RasterLayerDataOrder [get, set] |
Get or set a list of raster layer data ids that represents the order the layers are rendered. The first id in the list is the first layer to be rendered and the last id in the list is the last layer to be rendered (on top of the other layers). | |
IMapServiceRasterLayerDataFactory | RasterLayerDataFactory [get] |
Gets the Raster Layer Data factory to use. | |
Properties inherited from TPG.GeoFramework.Map.Core.Contracts.IMapTemplateLayerHandler | |
MapTemplate | CompositeMapTemplate [get, set] |
Template source. | |
|
inline |
Add categorized layers.
id | |
layers |
Implements TPG.GeoFramework.Map.Core.Contracts.IMapResources.
|
inline |
Add rasterlayer data to end of layer list (displayed on top)
rld | Raster layer data |
Implements TPG.GeoFramework.Map.Core.Contracts.IMapResources.
|
inline |
Remove all layers, including categorized layers.
Implements TPG.GeoFramework.Map.Core.Contracts.IMapResources.
|
inline |
Generate a template from the current raster layer data. Note that this only includes map layers, not propagation or other categorized layers.
Implements TPG.GeoFramework.Map.Core.Contracts.IMapResources.
|
inline |
Get all layernames and corresponding layerids in active template. The layerid returned for dynamic layers is a group id. Use that id as input to GetReferencedMapLayers to fetch referenced overlays.
Implements TPG.GeoFramework.Map.Core.Contracts.IMapResources.
|
inline |
Get all referenced overlays for a dynamic templatelayer.
id | Layer id |
Implements TPG.GeoFramework.Map.Core.Contracts.IMapResources.
|
inline |
Process template layer.
mapTemplateLayer | Template layer to process |
Implements TPG.GeoFramework.Map.Core.Contracts.IMapTemplateLayerHandler.
|
inline |
Remove categorized layer.
id |
Implements TPG.GeoFramework.Map.Core.Contracts.IMapResources.
|
inline |
Remove identified layer.
layerId | Id of layer to remove |
Implements TPG.GeoFramework.Map.Core.Contracts.IMapResources.
|
inline |
Remove layer.
rld | Remove layer referencing this object |
Implements TPG.GeoFramework.Map.Core.Contracts.IMapResources.
|
inline |
Reserve position for identified layer. If layer with that id is set later, the placement of that layer within the layer list will be maintained.
layerId |
Implements TPG.GeoFramework.Map.Core.Contracts.IMapResources.
|
inline |
Clear any contents.
Implements TPG.GeoFramework.Map.Core.Contracts.IMapTemplateLayerHandler.
|
inline |
Set identified layer data. If exists, will replace current entry.
layerId | Id of layer |
rld | Raster layer data |
Implements TPG.GeoFramework.Map.Core.Contracts.IMapResources.
|
inline |
|
get |
|
get |
Maintained by other parts of the system. Template connects to categorized layers through placeholders.
Implements TPG.GeoFramework.Map.Core.Contracts.IMapResources.
|
getset |
The template that was used to create the raster layer datas.
Implements TPG.GeoFramework.Map.Core.Contracts.IMapResources.
|
get |
|
get |
|
get |
Gets the Raster Layer Data factory to use.
Implements TPG.GeoFramework.Map.Core.Contracts.IMapResources.
|
get |
Generation counter for the raster layer data structure.
Implements TPG.GeoFramework.Map.Core.Contracts.IMapResources.
|
getset |
Get or set a list of raster layer data ids that represents the order the layers are rendered. The first id in the list is the first layer to be rendered and the last id in the list is the last layer to be rendered (on top of the other layers).
Implements TPG.GeoFramework.Map.Core.Contracts.IMapResources.