From 4305c99b01487552b4e8efba40eeabcf81e9fa60 Mon Sep 17 00:00:00 2001 From: Oliver Jowett Date: Sun, 24 Jul 2016 16:25:14 +0100 Subject: [PATCH] Add Bing roadmap layer (if you have a key) --- public_html/layers.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/public_html/layers.js b/public_html/layers.js index 329cd6d..4e7e13e 100644 --- a/public_html/layers.js +++ b/public_html/layers.js @@ -26,6 +26,15 @@ function createBaseLayers() { title: 'Bing Aerial', type: 'base', })); + world.push(new ol.layer.Tile({ + source: new ol.source.BingMaps({ + key: BingMapsAPIKey, + imagerySet: 'Road' + }), + name: 'bing_roads', + title: 'Bing Roads', + type: 'base', + })); } if (MapzenAPIKey) {