fixed number inputs in mapChooser
This commit is contained in:
parent
43d6cc7909
commit
32a6da73b9
@ -1,22 +0,0 @@
|
||||
<template>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'mymap',
|
||||
data () {
|
||||
return {
|
||||
zoom: 15,
|
||||
center: [ 9.208858198755664, 49.14785422283188],
|
||||
rotation: 0,
|
||||
geolocPosition: undefined,
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
</style>
|
||||
@ -64,9 +64,9 @@
|
||||
</vl-map>
|
||||
</div>
|
||||
<div class="row q-col-gutter-md">
|
||||
<q-input class="col" dense stack-label filled v-model="center[1]"
|
||||
<q-input class="col" dense stack-label filled v-model.number="center[1]"
|
||||
label="Breitengrad"/>
|
||||
<q-input class="col" dense stack-label filled v-model="center[0]"
|
||||
<q-input class="col" dense stack-label filled v-model.number="center[0]"
|
||||
label="Längengrad"/>
|
||||
<div class="col-shrink">
|
||||
<q-btn unelevated color="primary" class="full-height" icon="my_location" @click="setCenter(deviceCoordinate)"/>
|
||||
@ -110,39 +110,6 @@
|
||||
geometryTypeToCmpName(type) {
|
||||
return 'vl-geom-' + kebabCase(type)
|
||||
},
|
||||
/**
|
||||
* Packman layer Style function factory
|
||||
* @return {ol.StyleFunction}
|
||||
*/
|
||||
pacmanStyleFunc() {
|
||||
const pacman = [
|
||||
createStyle({
|
||||
strokeColor: '#de9147',
|
||||
strokeWidth: 3,
|
||||
fillColor: [222, 189, 36, 0.8],
|
||||
}),
|
||||
]
|
||||
const path = [
|
||||
createStyle({
|
||||
strokeColor: 'blue',
|
||||
strokeWidth: 1,
|
||||
}),
|
||||
createStyle({
|
||||
imageRadius: 5,
|
||||
imageFillColor: 'orange',
|
||||
geom(feature) {
|
||||
// geometry is an LineString, convert it to MultiPoint to style vertex
|
||||
return createMultiPointGeom(feature.getGeometry().getCoordinates())
|
||||
},
|
||||
}),
|
||||
]
|
||||
const eye = [
|
||||
createStyle({
|
||||
imageRadius: 6,
|
||||
imageFillColor: '#444444',
|
||||
}),
|
||||
]
|
||||
},
|
||||
/**
|
||||
* Cluster layer style function factory
|
||||
* @return {ol.StyleFunction}
|
||||
@ -327,9 +294,8 @@
|
||||
this.center = val;
|
||||
this.$emit('updatecoords', this.center);
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@ -58,7 +58,7 @@ public class VerificationUtil {
|
||||
return ResponseEntity.status(401).body("Bitte loggen sie sich erneut ein.");
|
||||
} catch (Exception e) {
|
||||
logger.debug("VERIFY TOKEN: Something went wrong verificating");
|
||||
return ResponseEntity.status(401).body("Bitte loggen sie sich erneut ein.");
|
||||
return ResponseEntity.status(401).body("Login nicht möglich. Wenden Sie sich an den Administrator.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user