diff --git a/gmap.html b/gmap.html index b4b3678..e8bde26 100644 --- a/gmap.html +++ b/gmap.html @@ -58,7 +58,7 @@ var he = document.createElement("P"); he.innerHTML = '>'; - var rotation = plane.track+90; + var rotation = 45+360-plane.track; he = '
✈️
'; var icon = L.divIcon({html: he, className: 'plane-icon'}); return icon;