A method to remove a custom canvas from a map location.
Parameter |
Value |
---|---|
id: string -or customCanvas: object |
Identity of object.
A custom canvas object. |
Example:
map.removeCustomCanvas("line");
map.removeCustomCanvas(line);
Or
customCanvas.remove();