laptop and a wrench

Erro

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

Última Publicação: July 4, 2018 ArcGIS API for JavaScript
Número de ID do Erro BUG-000115057
EnviadoJune 29, 2018
Última ModificaçãoJuly 26, 2026
Aplica-se àArcGIS API for JavaScript
Versão encontrada3.24
Sistema OperacionalWindows OS
Versão do Sistema Operacional10.0 64 Bit
StatusNon-Reproducible

Informações Adicionais

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.

Etapas para Reproduzir

ID do Erro: BUG-000115057

Software:

  • ArcGIS API for JavaScript

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download