aboutsummaryrefslogtreecommitdiff
path: root/web/app/view
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view')
-rw-r--r--web/app/view/Map.js10
-rw-r--r--web/app/view/MapController.js4
2 files changed, 3 insertions, 11 deletions
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;
diff --git a/web/app/view/MapController.js b/web/app/view/MapController.js
index 2b441399b..a3412b796 100644
--- a/web/app/view/MapController.js
+++ b/web/app/view/MapController.js
@@ -159,8 +159,8 @@ Ext.define('Traccar.view.MapController', {
style = this.getReportMarker();
style.getImage().setRotation(position.get('course') * Math.PI / 180);
- style.getText().setText(
- Ext.Date.format(position.get('fixTime'), Traccar.Style.dateTimeFormat));
+ /*style.getText().setText(
+ Ext.Date.format(position.get('fixTime'), Traccar.Style.dateTimeFormat));*/
marker.setStyle(style);