From 1e2d27715229efaaaf49a20b294fbfc2aff694a9 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Thu, 27 Jun 2019 23:35:29 +0000
Subject: [PATCH] Use renderMode image for vehicles layer (performance improvement)

---
 map.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/map.js b/map.js
index 354baa9..1bbd8c2 100644
--- a/map.js
+++ b/map.js
@@ -814,6 +814,7 @@
 		});
 		vehicles_layer[type] = new ol.layer.Vector({
 			source: vehicles_source[type],
+			renderMode: 'image',
 		});
 		vehicles_last_update[type] = 0;
 	});

--
Gitblit v1.9.1