Skip to content

Commit

Permalink
Remove noClasses on the playground.
Browse files Browse the repository at this point in the history
  • Loading branch information
francois2metz committed May 23, 2024
1 parent d4e5e4d commit 7da0405
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions docs/examples/playground.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<mgl-navigation-control/>
<mgl-scale-control/>
<mgl-geolocate-control/>
<mgl-custom-control v-if="showCustomControl" :position="controlPosition" :no-classes="!useClasses">
<mgl-custom-control v-if="showCustomControl" :position="controlPosition">
<button class="maplibregl-ctrl-icon" style="color: deepskyblue">
<svg><path :d="buttonIcon" fill="currentColor" /></svg>
</button>
Expand Down Expand Up @@ -61,10 +61,6 @@
<br/>
<span>Style Position: {{ controlPosition }}</span>
</div>
<div>
<input type="checkbox" v-model="useClasses" id="noclasses">
<label for="noclasses">Use Custom Control Classes</label>
</div>
<div>
<input type="checkbox" v-model="showCustomControl" id="showcustom">
<label for="showcustom">Show Custom Control</label>
Expand Down Expand Up @@ -222,7 +218,6 @@ export default defineComponent({
showMap : ref(true),
center : [ 10.288107, 49.405078 ] as LngLatLike,
zoom : 3,
useClasses : ref(true),
buttonIcon : mdiCursorDefaultClick,
layout : {
'line-join': 'round',
Expand Down

0 comments on commit 7da0405

Please sign in to comment.