in src/components/LPopup.vue
we had declare props data latLng default []
latLng: {
type: [Object, Array],
default: () => [],
},
but when components mounted we use
if (this.latLng !== undefined) {
this.mapObject.setLatLng(this.latLng);
}
to judge if we give a latLng
i think it maybe?
if (this.latLng.length > 0) {
this.mapObject.setLatLng(this.latLng);
}
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Steps to Reproduce
in src/components/LPopup.vue we had declare props data latLng default [] latLng: { type: [Object, Array], default: () => [], }, but when components mounted we use if (this.latLng !== undefined) { this.mapObject.setLatLng(this.latLng); } to judge if we give a latLng i think it maybe? if (this.latLng.length > 0) { this.mapObject.setLatLng(this.latLng); }
Expected Results
Actual Results
Browsers Affected
Versions