// Provide a default path to dwr.engine if (dwr == null) var dwr = {}; if (dwr.engine == null) dwr.engine = {}; if (DWREngine == null) var DWREngine = dwr.engine; if (LocationService == null) var LocationService = {}; LocationService._path = '/lbs/dwr'; LocationService.reverseGeocode = function(p0, callback) { dwr.engine._execute(LocationService._path, 'LocationService', 'reverseGeocode', p0, callback); } LocationService.calculateRoute = function(p0, callback) { dwr.engine._execute(LocationService._path, 'LocationService', 'calculateRoute', p0, callback); } LocationService.geocode = function(p0, callback) { dwr.engine._execute(LocationService._path, 'LocationService', 'geocode', p0, callback); } LocationService.getTrafficModel = function(p0, callback) { dwr.engine._execute(LocationService._path, 'LocationService', 'getTrafficModel', p0, callback); } LocationService.getMapLocation = function(p0, callback) { dwr.engine._execute(LocationService._path, 'LocationService', 'getMapLocation', p0, callback); } LocationService.getViewportDesc = function(p0, callback) { dwr.engine._execute(LocationService._path, 'LocationService', 'getViewportDesc', p0, callback); } LocationService.initLbsContext = function(p0, callback) { dwr.engine._execute(LocationService._path, 'LocationService', 'initLbsContext', p0, callback); }