Manage container
Events that allows you to interact with containers.
setContainerColor
Fill a container with specified color
Parameters
Name | type | description |
---|---|---|
color | string | color in hexadecimal |
container | int | container id target |
Result
No result
Example
FnoMapManager.sendEvent('setContainerColor', {container: 20845, color: "#00FF00"});
setOutlineContainer
Enable or disable an outline on a specific container.
Parameters
Name | type | description |
---|---|---|
state | boolean | true for showing an outline in the container or false to hide outline |
containerId | int | container id target |
Result
No result
Example
FnoMapManager.sendEvent('setOutlineContainer', {state: true, containerId: 123});
clearAllOutline
Delete all outlines
Parameters
No parameter
Result
No result
Example
FnoMapManager.sendEvent('clearAllOutline');