Module

mapping

Mapping function definition

View Source mapping.js, line 1

Methods

# inner loadMapAssets(configJsonFilePath, selectedMapIndex, mapbox_style, mapboxgl_accessToken, controlCoordinatesPointContainer, controlDistanceRssiContainer, controlAnimationOptionsContainer, controlConsoleDebuggerContainer, controlRssiPathLossModelContainer, controlMlAgentsContainer, geojson_asset_points, geojson_antennas, geojson_pulsing_dots_points_1, geojson_assetpoints_directions, geojson_antennas_directions, geojson_lines_of_sight, geojson_anchors, geojson_walls, wall_intersections_points, geojson_precison_decimal_places, pulsing_dots_layers_IDs, pulsing_dots_layers_sources, popup, cpu_frame_rate, last_frame, geocoder, clickCoords, animation_speed_factor, prev_large_lobe_angle_direction, prev_small_lobe_angle_direction, asset_point_animations, anchors_url, antennas_url, assets_url, pulsing_dot_points, map_center, map_zoom, map_pitch, map_bearing, map_max_long, map_min_long, map_max_lat, map_min_lat, marker_point, marker_logo, marker_info, client_id, mqtt_hostname, mqtt_port, reconnect_timeout, clientUsername, clientPassword, ssl_flag, messageToSend, mqttTopicToReceivePredictions, mqttTopicToReceiveCalculations, received_uuid) → {Array}

Load assets for the map function
Parameters:
Name Type Description
configJsonFilePath string Path to JSON config file
selectedMapIndex number Index of selected Map
mapbox_style string Mapbox GL JS style
mapboxgl_accessToken string Mapbox GL JS accessToken
controlCoordinatesPointContainer MapboxGLButtonControl Button to toggle Coordinates Point Container
controlDistanceRssiContainer MapboxGLButtonControl Button to toggle Distance Rssi Container
controlAnimationOptionsContainer MapboxGLButtonControl Button to toggle Animation Options Container
controlConsoleDebuggerContainer MapboxGLButtonControl Button to toggle Console Debugger Container
controlRssiPathLossModelContainer MapboxGLButtonControl Button to toggle Rssi Path Loss Model Container
controlMlAgentsContainer MapboxGLButtonControl Button to toggle ML Agents
geojson_asset_points FeatureCollection Asset Points FeatureCollection
geojson_antennas FeatureCollection Antennas FeatureCollection
geojson_pulsing_dots_points_1 FeatureCollection Pulsing Dots of First AP FeatureCollection
geojson_assetpoints_directions FeatureCollection Asset Points Directions FeatureCollection
geojson_antennas_directions FeatureCollection Antennas Directions FeatureCollection
geojson_lines_of_sight FeatureCollection Lines of Sight FeatureCollection
geojson_anchors FeatureCollection Anchors FeatureCollection
geojson_walls FeatureCollection Map Features Walls FeatureCollection
wall_intersections_points FeatureCollection Map Features Walls Points Intersections FeatureCollection
geojson_precison_decimal_places number Value of precison decimal places
pulsing_dots_layers_IDs Array Pulsing Dots IDs Array
pulsing_dots_layers_sources Array Pulsing Dots sources Array
popup Popup Popup object
cpu_frame_rate number CPU frame rate
last_frame number Last frame value
geocoder MapboxGeocoder Mapbox Geocoder
clickCoords Array Mouse click coordinatess Array
animation_speed_factor number value of animation speed factor
prev_large_lobe_angle_direction number Previous value of large lobe angle direction of Asset Point
prev_small_lobe_angle_direction number Previous value of small lobe angle direction of Asset Point
asset_point_animations Array Asset Point Animations Array
anchors_url string Path to Anchors objects
antennas_url string Path to Antennas objects
assets_url string Path to Asset points objects
pulsing_dot_points string Path to Pulsing Dot Points objects
map_center LongLat Longitude and Latitude coordinates of map center
map_zoom number Value of Map zoom
map_pitch number Value of Map pitch
map_bearing number Value of Map bearing
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
marker_point LongLat Longitude and Latitude coordinates of marker point
marker_logo string Path to logo image marker
marker_info string Description to include on logo image marker popup
client_id string MQTT client ID
mqtt_hostname string MQTT hostname connection
mqtt_port string MQTT port connection
reconnect_timeout number MQTT reconnect Time Out value
clientUsername string MQTT client username connection
clientPassword string MQTT client password connection
ssl_flag boolean MQTT connection SSL flag
messageToSend string MQTT message to send to broker
mqttTopicToReceivePredictions string MQTT Topic To Receive Predictions
mqttTopicToReceiveCalculations string MQTT Topic To Receive Calculations
received_uuid string MQTT received session UUID

View Source mapping.js, line 66

Map features Array
Array