GeoServer can publish vector tile layer in format of “application/x-protobuf;type=mapbox-vector”, and I believe the ArcGIS JavaScript API supports this format. So is it possible to add vector tile layer published by GeoServer layer using ArcGIS JSAPI?Or can the ArcGIS JS API only add vector tile layer published by ArcGIS Server?

1 Answer 1


Yes, you can use other sources for vector tiles. This fiddle has an example using tiles served by tegola. You just need to be more explicit with the sources of your vector tiles in your style.json like so:

"sources": { "osm": { "tiles": [ "https://osm-lambda.tegola.io/v1/maps/osm/{z}/{x}/{y}.pbf" ], "type": "vector" } },

There is one caveat, however. While the mapbox tile spec allows for vector tiles from multiple sources to be used in the same layer (e.g. tiles from Mapbox AND ESRI in the same layer), the ESRI JS has some quirks in it that do not allow that to work. I've written up info on tha bug here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.