Skip to content

Commit 4f2101e

Browse files
committed
v1.0.5
1 parent b71b2e4 commit 4f2101e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

www/js/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ function onDeviceReady() {
8181
.then(response => response.json())
8282
.then(data => {
8383
console.log('Success:', data);
84-
if(data.version > "1.0.4") {
84+
if(data.version > "1.0.5") {
8585
if(window.confirm("New version "+ data.version + " available! Download?")) {
8686
console.log("opening "+data.url);
8787
cordova.InAppBrowser.open(data.url, "_system");
@@ -589,7 +589,7 @@ function getPrediction(refobj) {
589589
traj0.forEach( p => latlons.push( [p.latitude, p.longitude] ) );
590590
traj1.forEach( p => latlons.push( [p.latitude, p.longitude] ) );
591591
//alert("path: "+JSON.stringify(traj));
592-
poly = L.polyline(latlons, { opacity: 0.5, color: '#EE0000', dashArray: '8, 6'} );
592+
poly = L.polyline(latlons, { opacity: 0.7, color: '#EE0000', dashArray: '8, 6'} );
593593
poly.addTo(map);
594594
if( refobj.pred ) { refobj.pred.remove(map); }
595595
refobj.pred = poly;
@@ -784,7 +784,7 @@ function createNewMarker(obj) {
784784
callback: function(e) { deleteMarker(marker); }
785785
}]
786786
});
787-
poly = L.polyline(pos, { opacity: 0.5, color: '#3388ff'} );
787+
poly = L.polyline(pos, { opacity: 0.8, color: '#3388ff'} );
788788
marker.path = poly;
789789
marker.addTo(map);
790790
poly.addTo(map);

0 commit comments

Comments
 (0)