TibcoMapControl.js

TibcoMapControl()


constructor

TibcoMapControl class is responsible for displaying all the TibcoLayer type layers available in the map. Controls should be added using Map.

Options:
  • offset(Array)The offset in pixels from the control's original position (default: [0, 0])
  • fontSize(Number)The size of control's font (default: 10)
  • fontFamily(String)The family of control's font (default: 'Tahoma')
Parameter Type Description
options Object The options of the control

showContent()


method

Displays the layers UI on the map

hideContent()


method

Hides the layers UI