Skip to content

Instantly share code, notes, and snippets.

Jordi Tost jorditost

View GitHub Profile
@jorditost
jorditost / TileLayer.Common.js
Created Oct 6, 2015 — forked from mourner/TileLayer.Common.js
Leaflet shortcuts for common tile providers
View TileLayer.Common.js
// Lefalet shortcuts for common tile providers - is it worth adding such 1.5kb to Leaflet core?
L.TileLayer.Common = L.TileLayer.extend({
initialize: function (options) {
L.TileLayer.prototype.initialize.call(this, this.url, options);
}
});
(function () {
You can’t perform that action at this time.