Custom Buttons Controls Class and functions definitons
Classes
Methods
# inner addAnchorMarkerToMap(geojson_anchors, geojson_asset_points, geojson_antennas, geojson_lines_of_sight, wall_intersections_points, geojson_walls, map_max_long, map_min_long, map_max_lat, map_min_lat)
Add a new Anchor Marker to the Map
Parameters:
| Name | Type | Description |
|---|---|---|
geojson_anchors |
FeatureCollection
|
Anchors FeatureCollection |
geojson_asset_points |
FeatureCollection
|
Asset Points FeatureCollection |
geojson_antennas |
FeatureCollection
|
Antennas FeatureCollection |
geojson_lines_of_sight |
FeatureCollection
|
Lines of Sight FeatureCollection |
wall_intersections_points |
FeatureCollection
|
Map Features Walls Points Intersections FeatureCollection |
geojson_walls |
FeatureCollection
|
Map Features Walls FeatureCollection |
map_max_long |
number
|
Maximum value of Map Longitude |
map_min_long |
number
|
Minimum value of Map Longitude |
map_max_lat |
number
|
Maximum value of Map Latitude |
map_min_lat |
number
|
Minimum value of Map Latitude |
# inner addAntennaMarkerToMap(geojson_antennas, geojson_antennas_directions, geojson_asset_points, geojson_anchors, geojson_lines_of_sight, wall_intersections_points, geojson_walls, pulsing_dots_layers_sources, map_max_long, map_min_long, map_max_lat, map_min_lat)
Add a new Antenna Marker to the Map
Parameters:
| Name | Type | Description |
|---|---|---|
geojson_antennas |
FeatureCollection
|
Antennas FeatureCollection |
geojson_antennas_directions |
FeatureCollection
|
Antennas Directions FeatureCollection |
geojson_asset_points |
FeatureCollection
|
Asset Points FeatureCollection |
geojson_anchors |
FeatureCollection
|
Anchors FeatureCollection |
geojson_lines_of_sight |
FeatureCollection
|
Lines of Sight FeatureCollection |
wall_intersections_points |
FeatureCollection
|
Map Features Walls Points Intersections FeatureCollection |
geojson_walls |
FeatureCollection
|
Map Features Walls FeatureCollection |
pulsing_dots_layers_sources |
Array
|
Pulsing Dots sources Array |
map_max_long |
number
|
Maximum value of Map Longitude |
map_min_long |
number
|
Minimum value of Map Longitude |
map_max_lat |
number
|
Maximum value of Map Latitude |
map_min_lat |
number
|
Minimum value of Map Latitude |
# inner addAssetPointMarkerToMap(geojson_antennas, geojson_asset_points, geojson_assetpoints_directions, geojson_anchors, geojson_lines_of_sight, wall_intersections_points, geojson_walls, pulsing_dots_layers_IDs, pulsing_dots_layers_sources, map_max_long, map_min_long, map_max_lat, map_min_lat)
Add a new Asset Point Marker to the Map
Parameters:
| Name | Type | Description |
|---|---|---|
geojson_antennas |
FeatureCollection
|
Antennas FeatureCollection |
geojson_asset_points |
FeatureCollection
|
Asset Points FeatureCollection |
geojson_assetpoints_directions |
FeatureCollection
|
Asset Points Directions FeatureCollection |
geojson_anchors |
FeatureCollection
|
Anchors FeatureCollection |
geojson_lines_of_sight |
FeatureCollection
|
Lines of Sight FeatureCollection |
wall_intersections_points |
FeatureCollection
|
Map Features Walls Points Intersections FeatureCollection |
geojson_walls |
FeatureCollection
|
Map Features Walls FeatureCollection |
pulsing_dots_layers_IDs |
Array
|
Pulsing Dots IDs Array |
pulsing_dots_layers_sources |
Array
|
Pulsing Dots sources Array |
map_max_long |
number
|
Maximum value of Map Longitude |
map_min_long |
number
|
Minimum value of Map Longitude |
map_max_lat |
number
|
Maximum value of Map Latitude |
map_min_lat |
number
|
Minimum value of Map Latitude |
# inner deleteLastAnchorMarkerFromMap(geojson_anchors, geojson_asset_points, geojson_antennas, geojson_lines_of_sight, wall_intersections_points, geojson_walls)
Delete the last Anchor Marker from the Map
Parameters:
| Name | Type | Description |
|---|---|---|
geojson_anchors |
FeatureCollection
|
Anchors FeatureCollection |
geojson_asset_points |
FeatureCollection
|
Asset Points FeatureCollection |
geojson_antennas |
FeatureCollection
|
Antennas FeatureCollection |
geojson_lines_of_sight |
FeatureCollection
|
Lines of Sight FeatureCollection |
wall_intersections_points |
FeatureCollection
|
Map Features Walls Points Intersections FeatureCollection |
geojson_walls |
FeatureCollection
|
Map Features Walls FeatureCollection |
# inner deleteLastAntennaMarkerFromMap(geojson_antennas, geojson_antennas_directions, geojson_asset_points, geojson_anchors, geojson_lines_of_sight, wall_intersections_points, geojson_walls, pulsing_dots_layers_sources)
Delete the last Antenna Marker from the Map
Parameters:
| Name | Type | Description |
|---|---|---|
geojson_antennas |
FeatureCollection
|
Antennas FeatureCollection |
geojson_antennas_directions |
FeatureCollection
|
Antennas Directions FeatureCollection |
geojson_asset_points |
FeatureCollection
|
Asset Points FeatureCollection |
geojson_anchors |
FeatureCollection
|
Anchors FeatureCollection |
geojson_lines_of_sight |
FeatureCollection
|
Lines of Sight FeatureCollection |
wall_intersections_points |
FeatureCollection
|
Map Features Walls Points Intersections FeatureCollection |
geojson_walls |
FeatureCollection
|
Map Features Walls FeatureCollection |
pulsing_dots_layers_sources |
Array
|
Pulsing Dots sources Array |
# inner deleteLastAssetPointMarkerFromMap(geojson_antennas, geojson_asset_points, geojson_assetpoints_directions, geojson_anchors, geojson_lines_of_sight, wall_intersections_points, geojson_walls, pulsing_dots_layers_IDs, pulsing_dots_layers_sources)
Delete the last Asset Point Marker from the Map
Parameters:
| Name | Type | Description |
|---|---|---|
geojson_antennas |
FeatureCollection
|
Antennas FeatureCollection |
geojson_asset_points |
FeatureCollection
|
Asset Points FeatureCollection |
geojson_assetpoints_directions |
FeatureCollection
|
Asset Points Directions FeatureCollection |
geojson_anchors |
FeatureCollection
|
Anchors FeatureCollection |
geojson_lines_of_sight |
FeatureCollection
|
Lines of Sight FeatureCollection |
wall_intersections_points |
FeatureCollection
|
Map Features Walls Points Intersections FeatureCollection |
geojson_walls |
FeatureCollection
|
Map Features Walls FeatureCollection |
pulsing_dots_layers_IDs |
Array
|
Pulsing Dots IDs Array |
pulsing_dots_layers_sources |
Array
|
Pulsing Dots sources Array |
# inner doDisconnect(event, client_id, connection_string, geojson_asset_points, geojson_antennas, geojson_anchors, geojson_precison_decimal_places, selectedMapIndex, messageToSend, pulsing_dots_layers_IDs)
Disconnect event handler
Parameters:
| Name | Type | Description |
|---|---|---|
event |
event
|
|
client_id |
string
|
|
connection_string |
string
|
|
geojson_asset_points |
FeatureCollection
|
Asset Points FeatureCollection |
geojson_antennas |
FeatureCollection
|
Antennas FeatureCollection |
geojson_anchors |
FeatureCollection
|
Anchors FeatureCollection |
geojson_precison_decimal_places |
number
|
Vaule of precison decimal places |
selectedMapIndex |
number
|
index of selected Map |
messageToSend |
string
|
MQTT message to send to the broker |
pulsing_dots_layers_IDs |
Array
|
Pulsing Dots IDs Array |
# inner toggleAnimationOptionsContainer()
Toggle Animation Options Container
# inner toggleConsoleDebugContainer()
Toggle Console Debugger Container
# inner toggleCoordinatesAssetPointContainer()
Toggle Coordinates Point Container
# inner toggleDistanceRssiContainer()
Toggle Distance & RSSI Point Container
# inner toggleMqttVariablesContainer()
Toggle Mqtt Variables Container
# inner toggleRssiPathLossModelContainer()
Toggle RSSI Path Loss Model Container