Add CrossOrigin type to TileLayerOptions

This commit is contained in:
Henry Wu
2019-01-29 23:05:06 -08:00
parent 41f65e48b1
commit f6a2880b28
+1 -1
View File
@@ -493,7 +493,7 @@ export interface TileLayerOptions extends GridLayerOptions {
tms?: boolean;
zoomReverse?: boolean;
detectRetina?: boolean;
crossOrigin?: boolean;
crossOrigin?: CrossOrigin;
// [name: string]: any;
// You are able add additional properties, but it makes this interface unchackable.
// See: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/15313