Whether to show all controls. False hides all controls; true shows all controls. Overridden by individually set parameters. Note that setting this explicitly will affect any additional controls added in the future.
layerList
Boolean, optional
When false, hides the layer list panel or, when true, allows the layer list panel's visibility to be determined by the presence of layers in the list. The default is to show the list.
zoomControl
Boolean, optional
Whether the zoom control is visible. Defaults to true.
scaleControl
Boolean, optional
Whether to show the control which indicates the scale at the map's current zoom level. Defaults to true.
mapTypeControl
Boolean, optional
Whether to show the control that allows the user to change the base map. Defaults to true.
fullscreenControl
Boolean, optional
Whether to show the control that allows the user to make the map full-screen. Defaults to true.
drawingToolsControl
Boolean, optional
Whether to show the control that allows the user to add or edit the geometry drawing tools. Defaults to true if the drawing tools were previously added to the map. Ignored if the drawing tools were not previously added to the map.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-10-06 UTC."],[[["Controls the visibility of map elements like zoom, scale, layer list, and map type selection."],["Allows for customization by showing or hiding individual controls or all at once."],["Uses Boolean values (true/false) to set the visibility of each control element."],["Provides control over the fullscreen and drawing tools visibility, if enabled on the map."],["Affects the display of the layer list panel based on the presence of layers and user preference."]]],[]]