From 2b0dfaeaed1cc9d1ec7d0bf4000270f29bfd29b0 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Tue, 5 Sep 2017 07:52:19 +0200 Subject: [PATCH] Change cartodb domain from cartodb.com to carto.com --- src/ol/source/cartodb.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ol/source/cartodb.js b/src/ol/source/cartodb.js index 2006865a97..033015c3c6 100644 --- a/src/ol/source/cartodb.js +++ b/src/ol/source/cartodb.js @@ -8,7 +8,7 @@ goog.require('ol.source.XYZ'); /** * @classdesc - * Layer source for the CartoDB tiles. + * Layer source for the CartoDB Maps API. * * @constructor * @extends {ol.source.XYZ} @@ -102,7 +102,7 @@ ol.source.CartoDB.prototype.initializeMap_ = function() { this.applyTemplate_(this.templateCache_[paramHash]); return; } - var mapUrl = 'https://' + this.account_ + '.cartodb.com/api/v1/map'; + var mapUrl = 'https://' + this.account_ + '.carto.com/api/v1/map'; if (this.mapId_) { mapUrl += '/named/' + this.mapId_;