From 14a5e7da36e8f7c30899be8469010423f08901f7 Mon Sep 17 00:00:00 2001 From: BuckarooBanzay Date: Fri, 12 Jun 2020 15:19:29 +0200 Subject: [PATCH] initialize TileLayer subclass --- static/js/map/RealtimeTileLayer.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/static/js/map/RealtimeTileLayer.js b/static/js/map/RealtimeTileLayer.js index 0a3233f..d442db9 100644 --- a/static/js/map/RealtimeTileLayer.js +++ b/static/js/map/RealtimeTileLayer.js @@ -2,6 +2,8 @@ export default L.TileLayer.extend({ initialize: function(wsChannel, layerId, map) { + L.TileLayer.prototype.initialize.call(this); + var self = this; this.layerId = layerId;