From 4f2101edd9f827d5546c5a4ca8aff5c90958bdf5 Mon Sep 17 00:00:00 2001 From: "Hansi, dl9rdz" Date: Mon, 15 Feb 2021 09:27:29 +0100 Subject: [PATCH] v1.0.5 --- www/js/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/www/js/index.js b/www/js/index.js index 63b5439..c11ac86 100644 --- a/www/js/index.js +++ b/www/js/index.js @@ -81,7 +81,7 @@ function onDeviceReady() { .then(response => response.json()) .then(data => { console.log('Success:', data); - if(data.version > "1.0.4") { + if(data.version > "1.0.5") { if(window.confirm("New version "+ data.version + " available! Download?")) { console.log("opening "+data.url); cordova.InAppBrowser.open(data.url, "_system"); @@ -589,7 +589,7 @@ function getPrediction(refobj) { traj0.forEach( p => latlons.push( [p.latitude, p.longitude] ) ); traj1.forEach( p => latlons.push( [p.latitude, p.longitude] ) ); //alert("path: "+JSON.stringify(traj)); - poly = L.polyline(latlons, { opacity: 0.5, color: '#EE0000', dashArray: '8, 6'} ); + poly = L.polyline(latlons, { opacity: 0.7, color: '#EE0000', dashArray: '8, 6'} ); poly.addTo(map); if( refobj.pred ) { refobj.pred.remove(map); } refobj.pred = poly; @@ -784,7 +784,7 @@ function createNewMarker(obj) { callback: function(e) { deleteMarker(marker); } }] }); - poly = L.polyline(pos, { opacity: 0.5, color: '#3388ff'} ); + poly = L.polyline(pos, { opacity: 0.8, color: '#3388ff'} ); marker.path = poly; marker.addTo(map); poly.addTo(map);