Built in names of components which modules can have their graphics layers be excluded from. Third party modules may pass in additional components as strings.
Converts from both webMap JSON and JSAPI representations of geometry type to the appropriate FeatureCollectionType
Add a graphic to the specified layer. You must create the layer first.
The graphic to be added
The layer ID to add the graphic to
A boolean returning true on success and false otherwise
Allows both GVH and 3rd party modules to add their own graphics layer IDs to the list of layers be excluded.
Returns a copy of an array containing the current registered markup layers. Do not modify this array!
Gets the list of graphics layer IDs to be excluded from a given task. Most tasks were set up to filter out graphics layer IDs based on another list of graphics layer IDs, this provides that other list.
The list of activities to exclude, can be found in ExcludeFromEnum
Create a new graphics layer and place it in the correct order in the map graphics layers collection.
Id of the graphics layer.
One of "Pushpin", "Label", Highlight" or "Markup". Only required for layer creation. To simply retrieve a layer leave this out.
This method registers the markup layer as a clickable graphic layer
The markup layer
This method registers the stream layer as a clickable graphic layer
The stream layer
The display name for the Stream layer
Allows both GVH and 3rd party modules to remove their own graphics layers IDs to the list of layers be excluded.
Call this function to remove an internal graphics layer. This just ensures that the internal layer count is correct and that new layers get added to the right location.
Id of the layer to remove
Type of layer being removed. No checks performed to see if this is 'right'
Convenience method to register a graphics layer as clickable if it's not been registered already.
The optional Clickable Options
True if successfully registered, false otherwise.
Types of graphics layer created internally by the Viewer. These need to be kept in a certain order. Pushpins on top, labels below this, highlights underneath labels, and all above markup.