Was this helpful?

ArcGIS Maps SDK for JavaScript

Alpaca Travel mapping data for Itineraries can be presented using the ESRI ArcGIS Maps SDK for JavaScript. You can use this SDK as your preferred way of presenting your interactive map.

GeoJSONLayer

ArcGIS supports a GeoJSONLayer that can be used to obtain data from your itinerary and present on the ArcGIS Map.

1const geojsonLayer = new GeoJSONLayer({
2  url: `https://mapping.withalpaca.travel/v1/itinerary/XXX.geojson?accessToken=YOUR_ACCESS_TOKEN`,
3  copyright: "made with alpaca",
4  popupTemplate: template,
5});

Vector Tile Layer

ArcGIS uses a JSON file describing your vector tiles. The format is different to the tilejson format and we will add support for this in the future.

alpaca.tech

Copyright © 2024 - Made with love ❤️ in Australia.