Adding some variety to the examples

This commit is contained in:
Tim Schaub
2013-08-28 12:35:23 -06:00
parent 7f66376315
commit 0f34bbc161

View File

@@ -4,11 +4,15 @@ goog.require('ol.View2D');
goog.require('ol.coordinate');
goog.require('ol.layer.TileLayer');
goog.require('ol.proj');
goog.require('ol.source.MapQuestOpenAerial');
goog.require('ol.source.TileJSON');
var layer = new ol.layer.TileLayer({
source: new ol.source.MapQuestOpenAerial()
source: new ol.source.TileJSON({
url: 'http://api.tiles.mapbox.com/v3/' +
'mapbox.natural-earth-hypso-bathy.jsonp',
crossOrigin: 'anonymous'
})
});
var map = new ol.Map({