Skip to content

Instantly share code, notes, and snippets.

@hanislovingit
Created April 22, 2015 02:56
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 hanislovingit/a75bc456c4e242d1b6b5 to your computer and use it in GitHub Desktop.
Save hanislovingit/a75bc456c4e242d1b6b5 to your computer and use it in GitHub Desktop.
Bing-map-creation-api-tileLayer
// Create the tile layer source
var tileSource = new Microsoft.Maps.TileSource({
uriConstructor: 'http://www.microsoft.com/maps/isdk/ajax/layers/lidar/{quadkey}.png'
});
// construct the tile layer using the tile source and make it visible on map
var tileLayer = new Microsoft.Maps.TileLayer({
zIndex: 10,
mercator: tileSource,
visible: true
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment