From 2a24a4c7fc2b1212e33ba7ee3ee64ba4b5118e0c Mon Sep 17 00:00:00 2001 From: Matthew Amato Date: Thu, 5 Apr 2018 11:13:20 -0400 Subject: [PATCH] Update default Mapbox endpoint URL Improved MapboxImageryProvider performance by 300% via `tiles.mapbox.com` subdomain switching. --- CHANGES.md | 3 +++ Source/Scene/MapboxImageryProvider.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index e67cb71e0711..d3cb969e1cb2 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -9,6 +9,9 @@ Change Log * Fixed glTF support to handle skinned meshes when no skin is supplied. [#6061](https://github.com/AnalyticalGraphicsInc/cesium/issues/6061) * Allow loadWithXhr to work with string URLs in a web worker. +##### Additions :tada: +* Improved `MapboxImageryProvider` performance by 300% via `tiles.mapbox.com` subdomain switching. [#6426](https://github.com/AnalyticalGraphicsInc/cesium/issues/6426) + ### 1.44 - 2018-04-02 ##### Highlights :sparkler: diff --git a/Source/Scene/MapboxImageryProvider.js b/Source/Scene/MapboxImageryProvider.js index 204c8e34bc99..4c2d741d3321 100644 --- a/Source/Scene/MapboxImageryProvider.js +++ b/Source/Scene/MapboxImageryProvider.js @@ -62,7 +62,7 @@ define([ var url = options.url; if (!defined(url)) { - url = 'https://api.mapbox.com/v4/'; + url = 'https://{s}.tiles.mapbox.com/v4/'; } this._url = url;