EaxAnalyzer.getServiceTbFormat

Syntax

getServiceTbFormat(typeTopobase: PP.MapChartType);

Parameters

typeTopobase. Topobase format specified as an object of the PP.MapChartType type.

Description

The getServiceTbFormat method converts a specified topobase format to TopobaseFormat (platform services enumeration).

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Convert a topobase format to SVG :

var eaxAnalyzer = expressBox.getSource();
// Convert topobase format
console.log("TopobaseFormat: " + eaxAnalyzer.getServiceTbFormat(PP.MapChart.Type.SVG));

After executing the example the browser console displays converted format:

TopobaseFormat: Svg

See also:

EaxAnalyzer