diff --git a/examples/simple.html b/examples/simple.html index 99afe422d7..9fb6a36c47 100644 --- a/examples/simple.html +++ b/examples/simple.html @@ -1,13 +1,9 @@ --- -layout: example.html +layout: strapless.html title: Simple example shortdesc: Example of a simple map. docs: > - A simple map with customized Attribution control. -tags: "simple, openstreetmap, attribution" + A simple map with an OSM source. +tags: "simple, openstreetmap" --- -
-
-
-
-
+
diff --git a/examples/simple.js b/examples/simple.js index a2d0ca761b..6d452df233 100644 --- a/examples/simple.js +++ b/examples/simple.js @@ -1,6 +1,5 @@ goog.require('ol.Map'); goog.require('ol.View'); -goog.require('ol.control'); goog.require('ol.layer.Tile'); goog.require('ol.source.OSM'); @@ -11,12 +10,6 @@ var map = new ol.Map({ source: new ol.source.OSM() }) ], - controls: ol.control.defaults({ - attributionOptions: /** @type {olx.control.AttributionOptions} */ ({ - collapsible: false - }) - }), - renderer: common.getRendererFromQueryString(), target: 'map', view: new ol.View({ center: [0, 0],