Stay organized with collections
Save and categorize content based on your preferences.
Deletes callbacks.
Usage
Returns
DrawingTools.unlisten(idOrType)
Argument
Type
Details
this: ui.map.drawingtools
ui.Map.DrawingTools
The ui.Map.DrawingTools instance.
idOrType
String, optional
Either an ID returned by an onEventType() function during callback registration, an event type, or nothing. If an ID is passed, the corresponding callback is deleted. If an event type is passed, all callbacks for that type are deleted. If nothing is passed, all callbacks are deleted.
[[["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."],[[["The `DrawingTools.unlisten()` method removes registered callbacks, allowing you to control the behavior of drawing tools interactions."],["You can selectively remove callbacks by specifying a unique ID, an event type, or remove all by omitting any arguments."],["This function is accessed through the `ui.map.drawingtools` instance and requires either an ID, event type, or no parameters as input."]]],[]]