Skip to content

Instantly share code, notes, and snippets.

@stdavis
Created December 18, 2015 15:27
Show Gist options
  • Select an option

  • Save stdavis/4d9f5134d852615db004 to your computer and use it in GitHub Desktop.

Select an option

Save stdavis/4d9f5134d852615db004 to your computer and use it in GitHub Desktop.
layer-selector: Tokens
new LayerSelector({
map: map,
quadWord: 'your-quad-word-here',
baseLayers: [
'Imagery',
'Hybrid',
{
token: 'Lite',
selected: true
},
'Topo',
'Terrain',
'Color IR',
],
overlays: ['Overlay']
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment