File tree 4 files changed +9
-19
lines changed
map/client/components/stickies
4 files changed +9
-19
lines changed Original file line number Diff line number Diff line change 714
714
"FILE_TOO_LARGE" : " Le fichier {file} est trop volumineux. La taille doit être inférieure à {size}Mo" ,
715
715
"UPLOAD_FILE_SUCCEEDED" : " Le fichier {file} a été transféré avec succès" ,
716
716
"UPLOAD_FILE_ERRORED" : " Impossible de transférer le fichier {file} !"
717
+ },
718
+ "KToggleStickyVisibility" : {
719
+ "DISPLAY_POSITION" : " Afficher les coordonnées géographiques" ,
720
+ "HIDE_POSITION" : " Masquer les coordonnées géographiques" ,
721
+ "DISPLAY_NORTH" : " Afficher la flèche d’orientation vers le nord" ,
722
+ "HIDE_NORTH" : " Masquer la flèche d’orientation vers le nord"
717
723
}
718
724
}
Original file line number Diff line number Diff line change @@ -16,11 +16,11 @@ defineProps({
16
16
},
17
17
width: {
18
18
type: String ,
19
- default: ' 250px '
19
+ default: ' 36px '
20
20
},
21
21
height: {
22
22
type: String ,
23
- default: ' 50px '
23
+ default: ' 36px '
24
24
}
25
25
})
26
26
</script >
Original file line number Diff line number Diff line change 14
14
size =" sm"
15
15
:handler =" onCopy"
16
16
/>
17
- <!-- KAction
18
- id="hide-position"
19
- icon="cancel"
20
- tooltip="KPosition.HIDE"
21
- size="sm"
22
- :handler="onHide"
23
- /-->
24
17
</div >
25
18
</template >
26
19
@@ -54,7 +47,6 @@ const formattedPosition = computed(() => {
54
47
// Function
55
48
function updatePosition () {
56
49
position .value = CurrentActivity .value .is2D () ? CurrentActivity .value .getCenter () : CurrentActivity .value .getCameraEllipsoidTarget ()
57
- console .log (position .value )
58
50
}
59
51
async function onCopy () {
60
52
try {
Original file line number Diff line number Diff line change 11
11
import { computed } from ' vue'
12
12
13
13
// Props
14
- const props = defineProps ({
14
+ defineProps ({
15
15
image: {
16
16
type: String ,
17
17
default: ' kdk/target.svg'
@@ -25,14 +25,6 @@ const props = defineProps({
25
25
default: ' 40px'
26
26
}
27
27
})
28
-
29
- // Computed
30
- const width = computed (() => {
31
- return ` ${ props .size } px`
32
- })
33
- const height = computed (() => {
34
- return ` ${ props .size } px`
35
- })
36
28
</script >
37
29
38
30
<style lang="scss" scoped>
You can’t perform that action at this time.
0 commit comments