From 923bb3f36c93b9a6284424529c95b975760c3893 Mon Sep 17 00:00:00 2001 From: ThomasG77 Date: Thu, 9 Jan 2014 22:55:34 +0100 Subject: [PATCH] Update quickstart.hbs Fix the error due to outdated ol.source.MapQuestOpenAerial() because of this feedback https://groups.google.com/forum/#!topic/ol3-dev/6xi2n7nMg8k on the ML --- doc/quickstart.hbs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/quickstart.hbs b/doc/quickstart.hbs index dbc37808fe..4649675fef 100644 --- a/doc/quickstart.hbs +++ b/doc/quickstart.hbs @@ -31,7 +31,7 @@ Below you'll find a complete working example. Create a new file, copy in the co target: 'map', layers: [ new ol.layer.Tile({ - source: new ol.source.MapQuestOpenAerial() + source: new ol.source.MapQuest({layer: 'sat'}) }) ], view: new ol.View2D({ @@ -84,7 +84,7 @@ The map in the application is contained in a [`
` HTML element](http://en.wi target: 'map', layers: [ new ol.layer.Tile({ - source: new ol.source.MapQuestOpenAerial() + source: new ol.source.MapQuest({layer: 'sat'}) }) ], view: new ol.View2D({ @@ -113,7 +113,7 @@ The `layers: [ ... ]` array is used to define the list of layers available in th ```js layers: [ new ol.layer.Tile({ - source: new ol.source.MapQuestOpenAerial() + source: ol.source.MapQuest({layer: 'sat'}) }) ] ```