Skip to content

Commit dc4fce9

Browse files
committed
docs(ol-*-control): hide default controls
1 parent 0b784bc commit dc4fce9

18 files changed

+19
-16
lines changed

src/demos/AttributionControlDemo.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<ol-map ref="map" style="height: 400px">
2+
<ol-map ref="map" style="height: 400px" :controls="[]">
33
<ol-view
44
ref="view"
55
:center="center"

src/demos/ContextMenuDemo.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
:loadTilesWhileInteracting="true"
55
style="height: 400px"
66
ref="map"
7+
:controls="[]"
78
>
89
<ol-view
910
:center="center"

src/demos/ControlBarDemo.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
:loadTilesWhileAnimating="true"
55
:loadTilesWhileInteracting="true"
66
style="height: 800px"
7+
:controls="[]"
78
>
89
<ol-view
910
ref="view"

src/demos/FullscreenControlDemo.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<ol-map ref="map" style="height: 400px">
2+
<ol-map ref="map" style="height: 400px" :controls="[]">
33
<ol-view
44
ref="view"
55
:center="center"

src/demos/LayerswitcherControlDemo.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<ol-map ref="map" style="height: 400px">
2+
<ol-map ref="map" style="height: 400px" :controls="[]">
33
<ol-view
44
ref="view"
55
:center="center"

src/demos/LayerswitcherimageControlDemo.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<ol-map ref="map" style="height: 400px">
2+
<ol-map ref="map" style="height: 400px" :controls="[]">
33
<ol-view
44
ref="view"
55
:center="center"

src/demos/MousepositionControlDemo.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<ol-map ref="map" style="height: 400px">
2+
<ol-map ref="map" style="height: 400px" :controls="[]">
33
<ol-view
44
ref="view"
55
:center="center"

src/demos/OverviewmapControlDemo.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<ol-map ref="map" style="height: 400px">
2+
<ol-map ref="map" style="height: 400px" :controls="[]">
33
<ol-view
44
ref="view"
55
:center="center"

src/demos/PrintdialogControlDemo.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<ol-map ref="map" style="height: 400px">
2+
<ol-map ref="map" style="height: 400px" :controls="[]">
33
<ol-view
44
ref="view"
55
:center="center"

src/demos/RotateControlDemo.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<button class="btn-default" type="button" @click="rotateRight">
33
Rotate right
44
</button>
5-
<ol-map style="height: 400px">
5+
<ol-map style="height: 400px" :controls="[]">
66
<ol-view ref="viewRef" :center="center" :zoom="zoom" :rotation="rotation" />
77

88
<ol-tile-layer>

0 commit comments

Comments
 (0)