getServiceTbFormat(typeTopobase: PP.MapChartType);
typeTopobase. Topobase format specified as an object of the PP.MapChartType type.
The getServiceTbFormat method converts a specified topobase format to TopobaseFormat (platform services enumeration).
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: