From 8401dcf6d7720348ef84ca0c0ad67667f7dc78f7 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Mon, 17 Feb 2014 16:29:23 +0100 Subject: [PATCH] Use /api/v1/map route for unified map api in the examples Closes #146 --- config/environments/development.js.example | 6 +++--- config/environments/production.js.example | 6 +++--- config/environments/test.js.example | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/config/environments/development.js.example b/config/environments/development.js.example index 12b22978..95c42a6d 100644 --- a/config/environments/development.js.example +++ b/config/environments/development.js.example @@ -11,13 +11,13 @@ var config = { // See http://github.com/CartoDB/Windshaft-cartodb/wiki/Unified-Map-API // // Base url for the Templated Maps API - // "/maps/named" is the new API, + // "/api/v1/map/named" is the new API, // "/tiles/template" is for compatibility with versions up to 1.6.x - ,base_url_templated: '(?:/maps/named|/tiles/template)' + ,base_url_templated: '(?:/api/v1/map/named|/tiles/template)' // Base url for the Detached Maps API // "maps" is the the new API, // "tiles/layergroup" is for compatibility with versions up to 1.6.x - ,base_url_detached: '(?:/maps|/tiles/layergroup)' + ,base_url_detached: '(?:/api/v1/map|/tiles/layergroup)' // Base url for the Inline Maps and Table Maps API ,base_url_legacy: '/tiles/:table' diff --git a/config/environments/production.js.example b/config/environments/production.js.example index 11a8c9c8..12035c60 100644 --- a/config/environments/production.js.example +++ b/config/environments/production.js.example @@ -11,13 +11,13 @@ var config = { // See http://github.com/CartoDB/Windshaft-cartodb/wiki/Unified-Map-API // // Base url for the Templated Maps API - // "/maps/named" is the new API, + // "/api/v1/map/named" is the new API, // "/tiles/template" is for compatibility with versions up to 1.6.x - ,base_url_templated: '(?:/maps/named|/tiles/template)' + ,base_url_templated: '(?:/api/v1/map/named|/tiles/template)' // Base url for the Detached Maps API // "maps" is the the new API, // "tiles/layergroup" is for compatibility with versions up to 1.6.x - ,base_url_detached: '(?:/maps|/tiles/layergroup)' + ,base_url_detached: '(?:/api/v1/map|/tiles/layergroup)' // Base url for the Inline Maps and Table Maps API ,base_url_legacy: '/tiles/:table' diff --git a/config/environments/test.js.example b/config/environments/test.js.example index 0774821f..ffc5571a 100644 --- a/config/environments/test.js.example +++ b/config/environments/test.js.example @@ -11,13 +11,13 @@ var config = { // See https://github.com/CartoDB/Windshaft-cartodb/wiki/Unified-Map-API // // Base url for the Templated Maps API - // "/maps/named" is the new API, + // "/api/v1/map/named" is the new API, // "/tiles/template" is for compatibility with versions up to 1.6.x - ,base_url_templated: '(?:/maps/named|/tiles/template)' + ,base_url_templated: '(?:/api/v1/map/named|/tiles/template)' // Base url for the Detached Maps API // "maps" is the the new API, // "tiles/layergroup" is for compatibility with versions up to 1.6.x - ,base_url_detached: '(?:/maps|/tiles/layergroup)' + ,base_url_detached: '(?:/api/v1/map|/tiles/layergroup)' // Base url for the Inline Maps and Table Maps API ,base_url_legacy: '/tiles/:table'