Closed Bug 1253758 Opened 8 years ago Closed 8 years ago

Upgrade MapBox.js library/JavaScript include to latest 2.3.0 version, from our 2.1.5 bundle

Categories

(www.mozilla.org :: Bedrock, defect)

Development/Staging
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: stephend, Assigned: agibson)

References

()

Details

Attachments

(2 files)

I and others have been seeing performance/latency issues with the MapBox tiles on https://www.mozilla.org/en-US/contact/spaces/ and the various office pages.

We're currently on the 2.1.5 version of the MapBox JS include; the latest right now is 2.3.0 - we should consider upgrading, and testing on dev/stage:

https://www.mapbox.com/mapbox.js/api/v2.3.0/
Other changes we're going to include in this update are as follows:

- Use map constructor instead of loading assets via tileLayer.
- Allow mapbox.js to handle high-res screen detection.
- Remove secondary use of separate tileLayer for labels.
Assignee: nobody → agibson
Status: NEW → ASSIGNED
Attached file GitHub pull request
Commits pushed to master at https://github.com/mozilla/bedrock

https://github.com/mozilla/bedrock/commit/d68e2f159dbc443beb05189eb7cdafeb543b94f1
[fix bug 1253758] Update Mapbox to v2.3.0

https://github.com/mozilla/bedrock/commit/4b5ebdac9864933f22b31549d7f1152fb01c2d85
Merge pull request #4013 from alexgibson/update-mapbox

[fix bug 1253758] Update Mapbox to v2.3.0
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Verified FIXED on https://www.mozilla.org/en-US/contact/spaces/san-francisco/ and associated pages off /spaces/ - while it's not always the blazing-fast 5 milliseconds I'm about to post a screenshot of (!), it's much faster, and in multiple tests, I haven't seen anything above 4 seconds, total-transfer times.

Thanks!
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: