This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
L.TileLayer.TileJSON = L.TileLayer.Canvas.extend({ | |
options: { | |
debug: false | |
}, | |
tileSize: 256, | |
initialize: function (options) { | |
L.Util.setOptions(this, options); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* from - https://gist.github.com/fnicollet/5764080 | |
* Modified by Ryan Whitley - Jan 30, 2013 | |
* L.DynamicSingleTile uses L.ImageOverlay to display a single-tile layer from node-mapnik. | |
* url parameter must accept width, height and bbox. | |
*/ | |
L.DynamicSingleTile = L.ImageOverlay.extend({ | |
initialize: function (url, bounds, options) { // (String, Object) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* from - https://gist.github.com/Zverik/5757305 | |
* L.DynamicSingleTile uses L.ImageOverlay to display a single-tile layer from node-mapnik. | |
* url parameter must accept width, height and bbox. | |
*/ | |
L.DynamicSingleTile = L.ImageOverlay.extend({ | |
initialize: function (url, options) { | |
L.ImageOverlay.prototype.initialize.call(this, url, null, options); | |
}, |