diff --git a/src/platforms/h5/view/components/map/map-marker.js b/src/platforms/h5/view/components/map/map-marker.js index ff9b4352560259ab7c60d85fbbbcb2c5c00adc0f..34eb6e348fc88d9f567cb515d516ecb45a53e111 100644 --- a/src/platforms/h5/view/components/map/map-marker.js +++ b/src/platforms/h5/view/components/map/map-marker.js @@ -110,7 +110,9 @@ export default { } if (this.idString) { this.$parent.$trigger('markertap', {}, { - markerId: Number(this.idString) + markerId: Number(this.idString), + latitude: typeof e.latLng.lat === 'function' ? e.latLng.lat() : e.latLng.lat, + longitude: typeof e.latLng.lat === 'function' ? e.latLng.lng() : e.latLng.lng }) }