Skip to content

Instantly share code, notes, and snippets.

@odoe
Created January 11, 2016 19:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save odoe/354595261fb1ef8c8a44 to your computer and use it in GitHub Desktop.
Save odoe/354595261fb1ef8c8a44 to your computer and use it in GitHub Desktop.
const tileLyr = new VectorTileLayer({
url: "https://www.arcgis.com/sharing/rest/content/items/f96366254a564adda1dc468b447ed956/resources/styles/root.json"
});
const map = new Map({
layers: [ tileLyr ]
});
const view = new MapView({
container: "viewDiv",
map: map,
zoom: 4,
center: [15, 65],
ui: {
components: []
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment