The Context Menu is one of the Geospatial Portal User Interface elements that provides handling custom actions and can be extended by providing the new ones.
The Ajax Control Toolkit library is responsible for the communication between server (C#) and client (JS) side of the controls.
|Although such way of development has been used for ages, the presented solution is not prospective and may be abandoned.
There is no warranty that further Portal releases will be depended upon the Ajax Control Toolkit.
TreeTools from Portal core, which provide the
MenuItems methods (for different types of content: Map Services, Map Layers and Legend Items) and may introduce the additional properties passed from server (C#) side.
The difference between such terms as Map Service, Map Layer and Legend Item may be noticed below:
The Map Service is each data source connected to the Portal. Map Layer is a term describing the group of items from one Map Service displayed on the map forming one layer. One Map Service may have many Map Layers displayed on the map in the same time. The items grouped in the Map Layer are Legend Items. Legend Item refers to a single element and there can be one or more such items forming the actual Map Layer.