Skip to content
Browse files

Retina support by calling TileLayer.initialize

  • Loading branch information...
1 parent a4c672c commit a78b0fc751e5967f2fcd9394d15e8a38111e1a04 @ismyrnow committed Feb 1, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/leaflet.functionaltilelayer.js
View
2 src/leaflet.functionaltilelayer.js
@@ -4,7 +4,7 @@ L.TileLayer.Functional = L.TileLayer.extend({
initialize: function (tileFunction, options) {
this._tileFunction = tileFunction;
- L.Util.setOptions(this, options);
+ L.TileLayer.prototype.initialize.call(this, null, options);
},
getTileUrl: function (tilePoint) {

0 comments on commit a78b0fc

Please sign in to comment.
Something went wrong with that request. Please try again.