From ca02696ce4ebe43652ec97b28c6553bd97910dcd Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 21 Nov 2015 11:57:38 +1300 Subject: Remove time label from report markers --- web/app/view/Map.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'web/app/view/Map.js') diff --git a/web/app/view/Map.js b/web/app/view/Map.js index d9b041535..b8c0d8dc5 100644 --- a/web/app/view/Map.js +++ b/web/app/view/Map.js @@ -98,15 +98,7 @@ Ext.define('Traccar.view.Map', { this.reportSource = new ol.source.Vector({}); reportLayer = new ol.layer.Vector({ - source: new ol.source.Cluster({ - distance: Traccar.Style.mapClusterDistance, - source: this.reportSource - }), - style: function (feature, resolution) { - if (feature.get('features').length == 1) { - return [feature.get('features')[0].getStyle()]; - } - } + source: this.reportSource }); lat = user.get('latitude') || server.get('latitude') || Traccar.Style.mapDefaultLat; -- cgit v1.2.3