Canvas should extend TileLayer

As per [document](http://leafletjs.com/reference.html#tilelayer-canvas), the `Canvas` interface should extend `TileLayer`
This commit is contained in:
Jiayu Liu
2015-06-15 17:23:06 -07:00
parent e18e130e21
commit 61a910b70f
+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