|
@@ -43,8 +43,8 @@ import 'leaflet/dist/leaflet.css'
|
|
|
import { router } from "@/router";
|
|
|
export type MapImage = { blob: Blob | null; search: MapInfo | null };
|
|
|
type MapInfo = { lat: number; lng: number; zoom: number; text: string; address: string; id: string };
|
|
|
-const layer = L.tileLayer('http://webrd01.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=7&x={x}&y={y}&z={z}')
|
|
|
-//const layer = L.tileLayer('http://a.map.jms.gd/tile/osm/{z}/{x}/{y}.png')
|
|
|
+// const layer = L.tileLayer('http://webrd01.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=7&x={x}&y={y}&z={z}')
|
|
|
+const layer = L.tileLayer('http://a.map.jms.gd/tile/osm/{z}/{x}/{y}.png')
|
|
|
// const layer = L.tileLayer('http://wprd04.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=6&x={x}&y={y}&z={z}&token=YOUR_API_KEY')
|
|
|
|
|
|
|