Create navigation route w/o l-control

This commit is contained in:
2021-09-07 15:14:33 +02:00
parent 24eabaec3a
commit 9078300037
2 changed files with 6 additions and 14 deletions

2
dist/js/field.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -7,21 +7,17 @@
@input="triggerChange"
/>
<l-control position="topleft" v-if="edit" class="block my-2">
<div class="flex">
<div v-for="option in routeTypes" class="ml-2">
<input type="radio" :id="option.value" :value="option.value" v-model="selectedRouteType">
<label :for="option.value">{{ option.name }}</label>
</div>
<div v-if="edit" class="flex block my-2">
<div v-for="option in routeTypes" class="ml-2">
<input type="radio" :id="option.value" :value="option.value" v-model="selectedRouteType">
<label :for="option.value">{{ option.name }}</label>
</div>
</l-control>
</div>
</div>
</template>
<script>
import { LControl } from 'vue2-leaflet';
export default {
props: {
value: {
@@ -93,9 +89,5 @@ export default {
this.$emit("input", navigationRouteCoords);
},
},
components: {
LControl
}
};
</script>