--- layout: api title: "v2.1.3 JavaScript Library: Upgrading from Mapbox.js v1" categories: api version: v2.1.3 permalink: /api/v2.1.3/upgrading-from-mapbox-js-v1 ---

Upgrading from Mapbox.js v1

In a few cases, you may need to make changes to code written for Mapbox.js 1.x versions in order to work with Mapbox.js 2.x.