laptop and a wrench

Bug

The VectorTileLayer class does not load when the URL is set to a Mapbox style in ArcGIS API for JavaScript.

Last Published: July 4, 2018 ArcGIS API for JavaScript
Bug ID Number BUG-000115057
SubmittedJune 29, 2018
Last ModifiedJuly 26, 2026
Applies toArcGIS API for JavaScript
Version found3.24
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusNon-Reproducible

Additional Information

ArcGIS Maps SDK for JavaScript supports Mapbox vector tile styles, but they require a quick preprocessing step before loading. Because ArcGIS loads style resources via standard web requests, it cannot resolve custom mapbox:// URL schemes directly. To fix this, fetch the style JSON and rewrite any internal mapbox:// URLs to HTTPS. The attached application demonstrates this complete conversion workflow end-to-end to ensure your style loads reliably: https://codepen.io/U_B_U/pen/gbgdjBd?editors=1000 To see the app working, use the Mapbox access token.

Steps to Reproduce

Bug ID: BUG-000115057

Software:

  • ArcGIS API for JavaScript

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options