SiteWatch API Help

isTainted

isTainted

Previous topic Next topic  

isTainted

Previous topic Next topic  

A method that returns a custom canvas taintedness in a map location.

 

If we have been using image data from external servers without correct settings the canvas is tainted.

More information at https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image

 

Return

Value

boolean:

A custom canvas tainted.

 

Example:

var tainted = customCanvas.isTainted();