From 861dbec302d60fe12c0b8a5608102d23712b9137 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 1 Nov 2015 09:56:25 +1300 Subject: Implement ol3 arrow marker style --- web/app/view/MapController.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'web/app/view') diff --git a/web/app/view/MapController.js b/web/app/view/MapController.js index b53e46671..a9ef8cf44 100644 --- a/web/app/view/MapController.js +++ b/web/app/view/MapController.js @@ -99,8 +99,7 @@ Ext.define('Traccar.view.MapController', { getMarkerStyle: function (radius, color, rotation, text) { return new ol.style.Style({ - image: new ol.style.RegularShape({ - points: 3, + image: new ol.style.Arrow({ radius: radius, fill: new ol.style.Fill({ color: color -- cgit v1.2.3