diff --git a/components/PvzMap.vue b/components/PvzMap.vue index 32906c3..78a6056 100644 --- a/components/PvzMap.vue +++ b/components/PvzMap.vue @@ -6,13 +6,8 @@ @@ -29,6 +24,7 @@ :key="marker.id" position="top-center left-center" :settings="{ coordinates: [marker.position.longitude, marker.position.latitude] }" + @click="centerMap([marker.position.longitude, marker.position.latitude])" >
@@ -45,7 +41,8 @@