From 818b4a9d5e04db0ea1e02eb9e172f7805e66f173 Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Wed, 6 Mar 2013 20:12:43 +0100 Subject: [PATCH] Remove Bing Maps from two-layers example --- examples/two-layers.html | 4 ++-- examples/two-layers.js | 7 ++----- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/examples/two-layers.html b/examples/two-layers.html index 7e0e68044f..6cc9e5b32c 100644 --- a/examples/two-layers.html +++ b/examples/two-layers.html @@ -45,11 +45,11 @@

Two layers example

-

Sync'ed DOM, WebGL and Canvas maps with a Bing Maps base layer and a semi-transparent TileJSON layer.

+

Sync'ed DOM, WebGL and Canvas maps with a OpenStreetMap base layer and a semi-transparent TileJSON layer.

See the two-layers.js source to see how this is done.

-
layers, tilejson, bing, bingmaps
+
layers, tilejson
diff --git a/examples/two-layers.js b/examples/two-layers.js index 2f23647884..d38cb3c10a 100644 --- a/examples/two-layers.js +++ b/examples/two-layers.js @@ -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({