aboutsummaryrefslogtreecommitdiff
path: root/web/app
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-11-01 09:56:25 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-11-01 09:56:25 +1300
commit861dbec302d60fe12c0b8a5608102d23712b9137 (patch)
tree06f8a8d9b1e24f4ccc8b9c18b37e9519a6d8c293 /web/app
parentc35dcf705127726f266d4b31572d2494e00d627b (diff)
downloadtrackermap-server-861dbec302d60fe12c0b8a5608102d23712b9137.tar.gz
trackermap-server-861dbec302d60fe12c0b8a5608102d23712b9137.tar.bz2
trackermap-server-861dbec302d60fe12c0b8a5608102d23712b9137.zip
Implement ol3 arrow marker style
Diffstat (limited to 'web/app')
-rw-r--r--web/app/view/MapController.js3
1 files changed, 1 insertions, 2 deletions
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