Class vg.mapviewer.kiosk.POI
MapViewer's POI class.
- Defined in: <src/com/visioglobe/kiosk/POI.js>
Constructor Attributes | Constructor Name and Description |
---|---|
This object should be constructed from the MapViewer's addPOI() method.
|
Method Summary
Class Detail
vg.mapviewer.kiosk.POI()
This object should be constructed from the MapViewer's addPOI() method.
Field Detail
{number}
opacity
Controls the opacity of the POI. The value between 0.0 and 1.0.
{bool}
visible
Controls the visbility of the POI.
Method Detail
-
hide()This method is called to hide the POI. Equivalent to the following
POI.visible = false;
-
options(option, value)Use this method to change a POI option.
Defined in: <src/com/visioglobe/kiosk/Path.js>.- Parameters:
- {string} option
- the option name. If not specified return the options that has been used to create the Path.
- {string} value
- the option value to set. If not specified return the option value. Only supported for 'speed'
-
remove()This method is called to remove a POI from the scene. If it is has a div (selector) attached, the selector's css will simply be set display: none.
-
show()This method is called to show the POI. Equivalent to the following
POI.visible = true;