From 9191b4be3b61f057d657c41123b4666fc2c93468 Mon Sep 17 00:00:00 2001 From: javi Date: Wed, 5 Feb 2014 14:14:19 +0100 Subject: [PATCH] updated urls --- lib/torque/provider.windshaft.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/torque/provider.windshaft.js b/lib/torque/provider.windshaft.js index bad4014..afa58bb 100644 --- a/lib/torque/provider.windshaft.js +++ b/lib/torque/provider.windshaft.js @@ -307,12 +307,12 @@ _fetchMap: function(callback) { var self = this; var layergroup = {}; - var url = this._tilerHost() + "/tiles/layergroup"; + var url = this._tilerHost() + "/maps"; var named = this.options.named_map; if(named) { //tiles/template - url = this._tilerHost() + "/tiles/template/" + named.name + "/jsonp" + url = this._tilerHost() + "/maps/named/" + named.name + "/jsonp" //url = this._tilerHost() + "/maps/" + named.name + "/jsonp" } else { layergroup = { @@ -348,7 +348,7 @@ for(var k in opt) { self.options[k] = opt[k]; } - self.templateUrl = self.url() + "/tiles/layergroup/" + data.layergroupid + "/" + torque_key + "/{z}/{x}/{y}.json.torque"; + self.templateUrl = self.url() + "/maps/" + data.layergroupid + "/" + torque_key + "/{z}/{x}/{y}.json.torque"; self._setReady(true); } });