MapShape.updateTranscript

Syntax

updateTranscript();

Description

The updateTranscript method highlights territory info item for a specified map layer area.

Example

To execute the example the HTML page must contain the MapChart component named map (see Example of Creating the MapChart Component). Show map layer territories info and select an item that corresponds to the area with the RU-KRS identifier:

// Get map layer territories info
var transcript = map.getMapTerritoryTranscript();
// Show territory info
transcript.setIsVisible(true);
// Get map layer territory with the ID RU-KRS
var shape = map.getShape("RU-KRS");
// Highlight territory info item that corresponds to this area
shape.updateTranscript(true);

After executing the example, the screen shows map layer territories info with the highlighted item that corresponds to the map area with the RU-KRS identifier:

See also:

MapShape