Skip to content

Instantly share code, notes, and snippets.

@unicolet
Created February 6, 2014 22: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 unicolet/8854173 to your computer and use it in GitHub Desktop.
Save unicolet/8854173 to your computer and use it in GitHub Desktop.
var road = new OpenLayers.Layer.Bing({
name: "Road",
key: apiKey,
type: "Road"
});
var hybrid = new OpenLayers.Layer.Bing({
name: "Hybrid",
key: apiKey,
type: "AerialWithLabels"
});
var aerial = new OpenLayers.Layer.Bing({
name: "Aerial",
key: apiKey,
type: "Aerial"
});
map.addLayers([road, hybrid, aerial]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment