Change cartodb domain from cartodb.com to carto.com

This commit is contained in:
Frederic Junod
2017-09-05 07:52:19 +02:00
parent 08a27a358e
commit 2b0dfaeaed
+2 -2
View File
@@ -8,7 +8,7 @@ goog.require('ol.source.XYZ');
/** /**
* @classdesc * @classdesc
* Layer source for the CartoDB tiles. * Layer source for the CartoDB Maps API.
* *
* @constructor * @constructor
* @extends {ol.source.XYZ} * @extends {ol.source.XYZ}
@@ -102,7 +102,7 @@ ol.source.CartoDB.prototype.initializeMap_ = function() {
this.applyTemplate_(this.templateCache_[paramHash]); this.applyTemplate_(this.templateCache_[paramHash]);
return; return;
} }
var mapUrl = 'https://' + this.account_ + '.cartodb.com/api/v1/map'; var mapUrl = 'https://' + this.account_ + '.carto.com/api/v1/map';
if (this.mapId_) { if (this.mapId_) {
mapUrl += '/named/' + this.mapId_; mapUrl += '/named/' + this.mapId_;