From 4638e7c24da45273c70320867ba584902fcaacff Mon Sep 17 00:00:00 2001 From: DennisSchiefer Date: Mon, 2 Apr 2012 20:57:39 +0200 Subject: [PATCH] corrected error and bumped version to 0.1.3 --- WebContent/OSRM.base.js | 4 ++-- WebContent/main.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/WebContent/OSRM.base.js b/WebContent/OSRM.base.js index 6fab319cd..91a910a4b 100644 --- a/WebContent/OSRM.base.js +++ b/WebContent/OSRM.base.js @@ -19,8 +19,8 @@ or see http://www.gnu.org/licenses/agpl.txt. // [has to be loaded before all other OSRM classes] var OSRM = {}; -OSRM.VERSION = '0.1.2'; -OSRM.DATE = '120319'; +OSRM.VERSION = '0.1.3'; +OSRM.DATE = '120402'; OSRM.CONSTANTS = {}; OSRM.DEFAULTS = {}; OSRM.GLOBALS = {}; diff --git a/WebContent/main.js b/WebContent/main.js index d9f4da010..76471caa7 100644 --- a/WebContent/main.js +++ b/WebContent/main.js @@ -172,9 +172,9 @@ OSRM.checkURL = function(){ // center on route (support for old links) / move to given view (new behaviour) if(zoom == null || center == null) { var bounds = new L.LatLngBounds( positions ); - OSRM.g.map.fitBoundsUI( bounds ); + OSRM.G.map.fitBoundsUI( bounds ); } else { - OSRM.g.map.setView(center, zoom); + OSRM.G.map.setView(center, zoom); } // compute route