Add leafdoc comments for the 'crossOrigin' option in ImageOverlay, fixes #3646

This commit is contained in:
Iván Sánchez Ortega 2016-04-03 03:16:27 +02:00 committed by Vladimir Agafonkin
parent 3305aa2b05
commit 2d548af829

View File

@ -33,9 +33,10 @@ L.ImageOverlay = L.Layer.extend({
// An optional string containing HTML to be shown on the `Attribution control`
attribution: null
/*
crossOrigin: <Boolean>,
*/
// @option crossOrigin: Boolean = false
// If true, the image will have its crossOrigin attribute set to ''. This is needed if you want to access image pixel data.
// crossOrigin: false,
},
initialize: function (url, bounds, options) { // (String, LatLngBounds, Object)