Could be MapBox Tileset used as a base map in ESRI webmap with JavaScript API?

1296
3
Jump to solution
10-25-2016 02:41 PM
PitersonPaulgek
New Contributor III

Hi,

Could be MapBox Tileset used as a basemap in ESRI webmap with JavaScript API?

What type of the layer/service could be used: Map service, Feature service any other for better performance?

Any help will be appreciated.

0 Kudos
1 Solution

Accepted Solutions
SethLewis1
Occasional Contributor III

Piterson,

It's possible to consume Mapbox tiles via the JS API in two ways: either as a VectorTileLayer and or as a WebTileLayer.

Generally speaking vector tiles perform better with newer hardware. As for supported layers, it's possible to add both map services and feature services while using a Mapbox basemap.

Are you able to provide sample code if you're experiencing issues?

View solution in original post

3 Replies
SethLewis1
Occasional Contributor III

Piterson,

It's possible to consume Mapbox tiles via the JS API in two ways: either as a VectorTileLayer and or as a WebTileLayer.

Generally speaking vector tiles perform better with newer hardware. As for supported layers, it's possible to add both map services and feature services while using a Mapbox basemap.

Are you able to provide sample code if you're experiencing issues?

PitersonPaulgek
New Contributor III

Hi Seth, 

Thank you for your response.

Just general possibility to use. 

Thanks

0 Kudos
boeskmgmoes
New Contributor II

Can you provide a public example of using this as a vectortilelayer?

0 Kudos