Skip to content

Commit

Permalink
docs(ol-*-control): hide default controls
Browse files Browse the repository at this point in the history
  • Loading branch information
d-koppenhagen committed Sep 20, 2023
1 parent 0b784bc commit dc4fce9
Show file tree
Hide file tree
Showing 18 changed files with 19 additions and 16 deletions.
2 changes: 1 addition & 1 deletion src/demos/AttributionControlDemo.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<ol-map ref="map" style="height: 400px">
<ol-map ref="map" style="height: 400px" :controls="[]">
<ol-view
ref="view"
:center="center"
Expand Down
1 change: 1 addition & 0 deletions src/demos/ContextMenuDemo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
:loadTilesWhileInteracting="true"
style="height: 400px"
ref="map"
:controls="[]"
>
<ol-view
:center="center"
Expand Down
1 change: 1 addition & 0 deletions src/demos/ControlBarDemo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
:loadTilesWhileAnimating="true"
:loadTilesWhileInteracting="true"
style="height: 800px"
:controls="[]"
>
<ol-view
ref="view"
Expand Down
2 changes: 1 addition & 1 deletion src/demos/FullscreenControlDemo.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<ol-map ref="map" style="height: 400px">
<ol-map ref="map" style="height: 400px" :controls="[]">
<ol-view
ref="view"
:center="center"
Expand Down
2 changes: 1 addition & 1 deletion src/demos/LayerswitcherControlDemo.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<ol-map ref="map" style="height: 400px">
<ol-map ref="map" style="height: 400px" :controls="[]">
<ol-view
ref="view"
:center="center"
Expand Down
2 changes: 1 addition & 1 deletion src/demos/LayerswitcherimageControlDemo.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<ol-map ref="map" style="height: 400px">
<ol-map ref="map" style="height: 400px" :controls="[]">
<ol-view
ref="view"
:center="center"
Expand Down
2 changes: 1 addition & 1 deletion src/demos/MousepositionControlDemo.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<ol-map ref="map" style="height: 400px">
<ol-map ref="map" style="height: 400px" :controls="[]">
<ol-view
ref="view"
:center="center"
Expand Down
2 changes: 1 addition & 1 deletion src/demos/OverviewmapControlDemo.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<ol-map ref="map" style="height: 400px">
<ol-map ref="map" style="height: 400px" :controls="[]">
<ol-view
ref="view"
:center="center"
Expand Down
2 changes: 1 addition & 1 deletion src/demos/PrintdialogControlDemo.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<ol-map ref="map" style="height: 400px">
<ol-map ref="map" style="height: 400px" :controls="[]">
<ol-view
ref="view"
:center="center"
Expand Down
2 changes: 1 addition & 1 deletion src/demos/RotateControlDemo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<button class="btn-default" type="button" @click="rotateRight">
Rotate right
</button>
<ol-map style="height: 400px">
<ol-map style="height: 400px" :controls="[]">
<ol-view ref="viewRef" :center="center" :zoom="zoom" :rotation="rotation" />

<ol-tile-layer>
Expand Down
2 changes: 1 addition & 1 deletion src/demos/ScalelineControlDemo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<button class="btn-default" type="button" @click="rotateRight">
Rotate right
</button>
<ol-map style="height: 400px">
<ol-map style="height: 400px" :controls="[]">
<ol-view
:center="center"
:rotation="rotation"
Expand Down
2 changes: 1 addition & 1 deletion src/demos/SwipeControlDemo.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<ol-map ref="map" style="height: 400px">
<ol-map ref="map" style="height: 400px" :controls="[]">
<ol-view
ref="view"
:center="center"
Expand Down
2 changes: 1 addition & 1 deletion src/demos/ToggleControlDemo.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<ol-map ref="map" style="height: 400px">
<ol-map ref="map" style="height: 400px" :controls="[]">
<ol-view
ref="view"
:center="center"
Expand Down
2 changes: 1 addition & 1 deletion src/demos/VideorecorderControlDemo.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<ol-map style="height: 400px">
<ol-map style="height: 400px" :controls="[]">
<ol-view
:center="center"
:rotation="rotation"
Expand Down
1 change: 1 addition & 0 deletions src/demos/ZoneControlDemo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
:loadTilesWhileAnimating="true"
:loadTilesWhileInteracting="true"
style="height: 400px"
:controls="[]"
>
<ol-view
ref="view"
Expand Down
4 changes: 2 additions & 2 deletions src/demos/ZoomControlDemo.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<ol-map style="height: 400px">
<ol-map style="height: 400px" :controls="[]">
<ol-view
:center="center"
:rotation="rotation"
Expand All @@ -10,7 +10,7 @@
<ol-tile-layer>
<ol-source-osm />
</ol-tile-layer>
<ol-zoom-control />
<ol-zoom-control zoomInLabel="" zoomOutLabel="" />
</ol-map>
</template>

Expand Down
2 changes: 1 addition & 1 deletion src/demos/ZoomsliderControlDemo.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<ol-map style="height: 400px">
<ol-map style="height: 400px" :controls="[]">
<ol-view
:center="center"
:rotation="rotation"
Expand Down
2 changes: 1 addition & 1 deletion src/demos/ZoomtoextentControlDemo.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<ol-map style="height: 400px">
<ol-map style="height: 400px" :controls="[]">
<ol-view
:center="center"
:rotation="rotation"
Expand Down

0 comments on commit dc4fce9

Please sign in to comment.