Make new behavior overridable; update docs and examples

This commit is contained in:
ahocevar
2018-10-14 12:10:40 +02:00
parent af4e5ca7cf
commit 2768884044
30 changed files with 43 additions and 167 deletions

View File

@@ -8,11 +8,7 @@ import OSM from '../src/ol/source/OSM.js';
const scaleLineControl = new ScaleLine();
const map = new Map({
controls: defaultControls({
attributionOptions: {
collapsible: false
}
}).extend([
controls: defaultControls().extend([
scaleLineControl
]),
layers: [