Merge pull request #4650 from Jimexist/patch-3

Canvas should extend TileLayer
This commit is contained in:
Masahiro Wakame
2015-06-18 12:30:34 +09:00
+1 -1
View File
@@ -3886,7 +3886,7 @@ declare module L {
setParams(params: WMS, noRedraw?: boolean): WMS;
}
export interface Canvas {
export interface Canvas extends TileLayer {
/**
* You need to define this method after creating the instance to draw tiles;
* canvas is the actual canvas tile on which you can draw, tilePoint represents