SiteWatch API Help

removeCustomCanvas

removeCustomCanvas

Previous topic Next topic  

removeCustomCanvas

Previous topic Next topic  

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();