This commit is contained in:
xiaozhiyong
2024-12-31 14:45:51 +08:00
parent 5803d8a222
commit 949707d0ec
12 changed files with 264 additions and 110 deletions

View File

@@ -88,7 +88,7 @@
},
created() {
this.TXSDK = new amapFile({
key: 'UTXBZ-BUH6D-TQD44-HCEG4-UKOFT-U2BDN'
key: 'YR3BZ-EWX3M-JFW6U-6TREG-FXFJH-CMFWY'
});
},
methods: {

View File

@@ -9,7 +9,7 @@
<view class="map_body">
<map @tap='poitap' @updated='mapUpdated' :scale='mapScale' @callouttap='callouttap'
:enable-scroll='enableScroll' @markertap='markertap' :polyline="polyline"
subkey="UTXBZ-BUH6D-TQD44-HCEG4-UKOFT-U2BDN" layer-style='2' id="map_Id" :show-location="true"
subkey="YR3BZ-EWX3M-JFW6U-6TREG-FXFJH-CMFWY" layer-style='2' id="map_Id" :show-location="true"
:markers="markers" class="map_xx" :latitude="coordinate.latitude" :longitude="coordinate.longitude">
<cover-view slot="callout">
<cover-view v-for="(item,index) in markers" :key='index' class="customCallout" :marker-id="item.id">
@@ -82,7 +82,7 @@
},
created() {
this.TXSDK = new amapFile({
key: 'UTXBZ-BUH6D-TQD44-HCEG4-UKOFT-U2BDN'
key: 'YR3BZ-EWX3M-JFW6U-6TREG-FXFJH-CMFWY'
});
},
watch: {