Remove Bing Maps from two-layers example

This commit is contained in:
Tom Payne
2013-03-06 20:12:43 +01:00
parent d60a6e943b
commit 818b4a9d5e
2 changed files with 4 additions and 7 deletions

View File

@@ -45,11 +45,11 @@
<div class="span4">
<h4 id="title">Two layers example</h4>
<p id="shortdesc">Sync'ed DOM, WebGL and Canvas maps with a Bing Maps base layer and a semi-transparent TileJSON layer.</p>
<p id="shortdesc">Sync'ed DOM, WebGL and Canvas maps with a OpenStreetMap base layer and a semi-transparent TileJSON layer.</p>
<div id="docs">
<p>See the <a href="two-layers.js" target="_blank">two-layers.js source</a> to see how this is done.</p>
</div>
<div id="tags">layers, tilejson, bing, bingmaps</div>
<div id="tags">layers, tilejson</div>
</div>
</div>

View File

@@ -4,16 +4,13 @@ goog.require('ol.RendererHint');
goog.require('ol.View2D');
goog.require('ol.layer.TileLayer');
goog.require('ol.projection');
goog.require('ol.source.BingMaps');
goog.require('ol.source.OpenStreetMap');
goog.require('ol.source.TileJSON');
var layers = [
new ol.layer.TileLayer({
source: new ol.source.BingMaps({
key: 'AgtFlPYDnymLEe9zJ5PCkghbNiFZE9aAtTy3mPaEnEBXqLHtFuTcKoZ-miMC3w7R',
style: 'Aerial'
})
source: new ol.source.OpenStreetMap()
}),
new ol.layer.TileLayer({
source: new ol.source.TileJSON({