C# Класс NAAddTraversalResultToMap.AddTraversalResultsToMap

Наследование: ESRI.ArcGIS.Desktop.AddIns.Button
Показать файл Открыть проект

Открытые методы

Метод Описание
AddTraversalResultsToMap ( ) : ESRI.ArcGIS.Carto

Защищенные методы

Метод Описание
OnClick ( ) : void

OnClick is the main function for the add-in. When the button is clicked in ArcMap, this code will execute. Note that if you re-solve the analysis layer associated with the traversal result, any open attribute tables associated with the traversal result will disconnect and need to be reopened.

OnUpdate ( ) : void

Приватные методы

Метод Описание
AddNATraversalResultLayersToGroup ( IGroupLayer groupLayer, INAResult result ) : void

AddNATraversalResultLayersToGroup will take the traversal results from an INAResult and add them to the map as a group layer

GetLayerIndex ( ILayer layer ) : int
GetRenderer ( esriNetworkElementType networkElementType ) : IFeatureRenderer

GetRenderer will return a feature renderer with symbology appropriate to the specified element type

GetTraversalResultLayer ( esriNetworkElementType elementType, INATraversalResultQuery2 naTraversalResultQuery ) : IFeatureLayer

GetTraversalResultLayer will generate a layer out of the traversal result for the specified element type

Описание методов

AddTraversalResultsToMap() публичный Метод

public AddTraversalResultsToMap ( ) : ESRI.ArcGIS.Carto
Результат ESRI.ArcGIS.Carto

OnClick() защищенный Метод

OnClick is the main function for the add-in. When the button is clicked in ArcMap, this code will execute. Note that if you re-solve the analysis layer associated with the traversal result, any open attribute tables associated with the traversal result will disconnect and need to be reopened.
protected OnClick ( ) : void
Результат void

OnUpdate() защищенный Метод

protected OnUpdate ( ) : void
Результат void