diff --git a/public/javascripts/app.js b/public/javascripts/app.js index d62326a..07a8eca 100644 --- a/public/javascripts/app.js +++ b/public/javascripts/app.js @@ -1,7 +1,9 @@ var map = new Microsoft.Maps.Map(document.getElementById('mapFrame'), { credentials: PHD4.mapsKey, showDashboard: false, + disableBirdseye: true, enableSearchLogo: false, + showScalebar: false, enableClickableLogo: false }); diff --git a/public/javascripts/website.js b/public/javascripts/website.js index bfce177..23faa6f 100644 --- a/public/javascripts/website.js +++ b/public/javascripts/website.js @@ -62,7 +62,7 @@ function restoreStateFromUrl() { toLong = urlState.wp[urlState.wp.length-1]; toLat = urlState.wp[urlState.wp.length-2]; map.setView({ bounds: Microsoft.Maps.LocationRect.fromLocations (new Microsoft.Maps.Location(toLat, toLong), new Microsoft.Maps.Location(fromLat, fromLong))}); - createDrivingRoute(toLat, fromLat, toLong, fromLong); + createDrivingRoute(fromLat, toLat, fromLong, toLong); appActivate(); // Hide the start model screen } diff --git a/views/footer.ejs b/views/footer.ejs index a5f13c6..e66e8be 100644 --- a/views/footer.ejs +++ b/views/footer.ejs @@ -1,7 +1,12 @@ - +