Add leafdoc comments for the 'crossOrigin' option in ImageOverlay, fixes #3646
This commit is contained in:
parent
3305aa2b05
commit
2d548af829
@ -33,9 +33,10 @@ L.ImageOverlay = L.Layer.extend({
|
|||||||
// An optional string containing HTML to be shown on the `Attribution control`
|
// An optional string containing HTML to be shown on the `Attribution control`
|
||||||
attribution: null
|
attribution: null
|
||||||
|
|
||||||
/*
|
// @option crossOrigin: Boolean = false
|
||||||
crossOrigin: <Boolean>,
|
// 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)
|
initialize: function (url, bounds, options) { // (String, LatLngBounds, Object)
|
||||||
|
Loading…
Reference in New Issue
Block a user