Skip to content

Instantly share code, notes, and snippets.

@odoe

odoe/layers.js

Created Jan 11, 2016
Embed
What would you like to do?
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