Constructor
new Place()
This object should be obtained from the MapViewer's getPlace and getAllPlaces() methods.
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
|
removeHighlight()
Removes the highlight from a placeObject. It returns it to its original color.