Skip to content

Commit 5d43eb3

Browse files
committed
Merge pull request #31 from sephcoster/master
Updated to handle Leaflet 0.8 (inherit from L.Layer)
2 parents 0fe2576 + fb57d75 commit 5d43eb3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/leaflet.utfgrid.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ L.Util.ajax = function (url, cb) {
2828
request.send();
2929
return request;
3030
};
31-
L.UtfGrid = L.Class.extend({
31+
L.UtfGrid = (L.Layer || L.Class).extend({
3232
includes: L.Mixin.Events,
3333
options: {
3434
subdomains: 'abc',

0 commit comments

Comments
 (0)