[[global]] -> Map
====== Map ====== The **Map** Class manages the 2D map. ===== Functions ===== |< 100% 20% 7% 20% 10% - >| ^ Function Name ^ Since ^ Arguments ^ Return Type ^ Description ^ | setVectorHudButtonVisible | 10.5.2 | value : | void | Set the visibility of the vector hud button on the map (only available when viewers are hidden).\\ By default the button is visible. | | getVectorHudButtonVisible | 10.5.2 | | | Get the visibility of the vector hud button. | | startMeasuring | 10.5.2 | mode : [[map_measure_modes|]] | void | Start the measure function. \\ The user can complete a measurement by double-clicking. | | stopMeasuring | 10.5.2 | | void | Stop the measuring function and return to navigation. | ===== Events ===== The following events can be fired : ^ Event Name ^ Since ^ Event Properties ^ Description ^ | mapMeasureStart\\ | 10.5.2 | mode : [[map_measure_modes|]] | Fired when the measure function started. | | mapMeasureStop\\ | 10.5.2 | mode : [[map_measure_modes|]] | Fired when the measure function stopped. | | mapMeasureUpdate\\ | 10.5.2 | mode : [[map_measure_modes|]]\\ properties : [[measure_properties|]] | Fired when the measurement was updated. \\ A measurement is updated when a new coordinate is measured. | | mapMeasureComplete\\ | 10.5.2 | mode : [[map_measure_modes|]]\\ properties : [[measure_properties|]] | Fired when the measurement was completed. \\ A measurement is completed when a final coordinate is measured.\\ A final coordinate is measured by double-clicking. | | mapMeasureClear\\ | 10.5.2 | mode : [[map_measure_modes|]]| Fired when the current measurement was cleared. |