Skip to content

Instantly share code, notes, and snippets.

@bartvde
Created September 29, 2016 15:36
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bartvde/773da09549ee911959e41e6131e7a340 to your computer and use it in GitHub Desktop.
Save bartvde/773da09549ee911959e41e6131e7a340 to your computer and use it in GitHub Desktop.
Esri satellite basemap
new ol.layer.Tile({
type: 'base',
title: 'ESRI world imagery',
visible: false,
source: new ol.source.XYZ({
attributions: [
new ol.Attribution({
html: 'Tiles © Esri — Source: Esri, i-cubed, USDA, USGS, AEX, GeoEye, Getmapping, Aerogrid, IGN, IGP, UPR-EGP, and the GIS User Community'
})
],
url: 'http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}'
})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment