MapChart.ContentChanged

Syntax

ContentChanged: function(sender, args);

Parameters

sender. Event source.

args. Event information.

Description

The ContentChanged event is fired after changing map contents.

Comments

The event may occur, for example, on changing object selection.

Example

To execute the example the HTML page must contain the MapChart component named map (see Example of Creating the MapChart Component).

// Add event
map.ContentChanged.add(function(sender, args){
console.log("The ContentChanged event");
});
// Call event
map.requestContentChanged();

After executing the example the new event is added and called.

See also:

MapChart