![]() |
Maria GDK 4.5.0.200
Documentation of managed code in release branch
|
Public Member Functions | |
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. | |
void | IncRasterLayerDataGeneration () |
Force regeneration of map layers. May be used when changing effect parameters on layers without changing the layer data itself. | |
![]() | |
bool | ProcessMapTemplateLayer (MapTemplateLayer mapTemplateLayer) |
Process template layer. | |
void | Reset () |
Clear any contents. | |
Properties | |
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. | |
![]() | |
MapTemplate | CompositeMapTemplate [get, set] |
Template source. | |
void TPG.GeoFramework.Map.Core.Contracts.IMapResources.AddCategorizedLayer | ( | string | id, |
List< IRasterLayerData > | layers | ||
) |
void TPG.GeoFramework.Map.Core.Contracts.IMapResources.AddLayerData | ( | IRasterLayerData | rld | ) |
Add rasterlayer data to end of layer list (displayed on top)
rld | Raster layer data |
Implemented in TPG.GeoFramework.Map.Core.MapResources.
void TPG.GeoFramework.Map.Core.Contracts.IMapResources.ClearLayerData | ( | ) |
Remove all layers, including categorized layers.
Implemented in TPG.GeoFramework.Map.Core.MapResources.
MapTemplate TPG.GeoFramework.Map.Core.Contracts.IMapResources.GenerateMapTemplate | ( | ) |
Generate a template from the current raster layer data. Note that this only includes map layers, not propagation or other categorized layers.
Implemented in TPG.GeoFramework.Map.Core.MapResources.
Dictionary< string, string > TPG.GeoFramework.Map.Core.Contracts.IMapResources.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.
Implemented in TPG.GeoFramework.Map.Core.MapResources.
IEnumerable< IRasterLayerData > TPG.GeoFramework.Map.Core.Contracts.IMapResources.GetReferencedMapLayers | ( | string | id | ) |
Get all referenced overlays for a dynamic templatelayer.
id | Layer id |
Implemented in TPG.GeoFramework.Map.Core.MapResources.
void TPG.GeoFramework.Map.Core.Contracts.IMapResources.IncRasterLayerDataGeneration | ( | ) |
Force regeneration of map layers. May be used when changing effect parameters on layers without changing the layer data itself.
Implemented in TPG.GeoFramework.Map.Core.MapResources.
void TPG.GeoFramework.Map.Core.Contracts.IMapResources.RemoveCategorizedLayer | ( | string | id | ) |
bool TPG.GeoFramework.Map.Core.Contracts.IMapResources.RemoveLayerData | ( | Guid | layerId | ) |
Remove identified layer.
layerId | Id of layer to remove |
Implemented in TPG.GeoFramework.Map.Core.MapResources.
bool TPG.GeoFramework.Map.Core.Contracts.IMapResources.RemoveLayerData | ( | IRasterLayerData | rld | ) |
Remove layer.
rld | Remove layer referencing this object |
Implemented in TPG.GeoFramework.Map.Core.MapResources.
void TPG.GeoFramework.Map.Core.Contracts.IMapResources.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.
layerId |
Implemented in TPG.GeoFramework.Map.Core.MapResources.
void TPG.GeoFramework.Map.Core.Contracts.IMapResources.SetLayerData | ( | Guid | layerId, |
IRasterLayerData | rld | ||
) |
Set identified layer data. If exists, will replace current entry.
layerId | Id of layer |
rld | Raster layer data |
Implemented in TPG.GeoFramework.Map.Core.MapResources.
bool TPG.GeoFramework.Map.Core.Contracts.IMapResources.SetupBookmarks | ( | List< Bookmark > | bookmarks | ) |
Implemented in TPG.GeoFramework.Map.Core.MapResources.
|
get |
Implemented in TPG.GeoFramework.Map.Core.MapResources.
|
get |
Implemented in TPG.GeoFramework.Map.Core.MapResources.
|
get |
The template that was used to create the raster layer datas.
Implements TPG.GeoFramework.Map.Core.Contracts.IMapTemplateLayerHandler.
Implemented in TPG.GeoFramework.Map.Core.MapResources.
|
get |
Implemented in TPG.GeoFramework.Map.Core.MapResources.
|
get |
Implemented in TPG.GeoFramework.Map.Core.MapResources.
|
get |
Gets the Raster Layer Data factory to use.
Implemented in TPG.GeoFramework.Map.Core.MapResources.
|
get |
Generation counter for the raster layer data structure.
Implemented in TPG.GeoFramework.Map.Core.MapResources.
|
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).
Implemented in TPG.GeoFramework.Map.Core.MapResources.