aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/map/BaseMap.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/map/BaseMap.js')
-rw-r--r--web/app/view/map/BaseMap.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/app/view/map/BaseMap.js b/web/app/view/map/BaseMap.js
index 403df946..42ea43a1 100644
--- a/web/app/view/map/BaseMap.js
+++ b/web/app/view/map/BaseMap.js
@@ -217,6 +217,10 @@ Ext.define('Traccar.view.map.BaseMap', {
self.fireEvent('deselectfeature');
}
});
+
+ this.map.once('postrender', function (event) {
+ self.fireEvent('mapready');
+ });
},
listeners: {