What type of the layer/service could be used: Map service, Feature service any other for better performance?
Any help will be appreciated.
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?
Thank you for your response.
Just general possibility to use.
Can you provide a public example of using this as a vectortilelayer?
Retrieving data ...