Don't show default locator value
This commit is contained in:
parent
d3662b8240
commit
79a56c2d20
1 changed files with 6 additions and 0 deletions
|
|
@ -82,6 +82,12 @@ const markers = computed((): Marker[] => {
|
|||
if (!props.modelValue.location) {
|
||||
return [];
|
||||
}
|
||||
if (
|
||||
props.modelValue.location.latitude == 0.0 ||
|
||||
props.modelValue.location.longitude == 0.0
|
||||
) {
|
||||
return [];
|
||||
}
|
||||
const marker = {
|
||||
color: "#FF0000",
|
||||
draggable: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue