VisioWeb2D 1.8.0

Class

vg.mapviewer.web2d.Place

MapViewer's Place class.

Constructor

new Place()

This object should be obtained from the MapViewer's getPlace and getAllPlaces() methods.
See:

Methods

highlight(color, optionsopt)

Set a place color (as highlight, ie temporarly).
Parameters:
Name Type Attributes Description
color number | string highlight color in hexadecimal, e.g. 0x00ff00,
options <optional>
Properties
Name Type Attributes Default Description
opacity <optional>
1.0 opacity value between 0.0 (not visible) to 1.0.

removeHighlight()

Removes the highlight from a placeObject. It returns it to its original color.