2025高清地图图层链接代码
以下是一些常见地图服务的高清地图图层链接代码示例:
1. Google Maps 卫星图层
// Google Maps 卫星图层 const googleSatelliteLayer = 'https://mt1.google.com/vt/lyrs=s&x={x}&y={y}&z={z}';
2. OpenStreetMap 标准图层
// OpenStreetMap 标准图层 const osmLayer = 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png';
3. Mapbox 卫星图层 (需要API key)
// Mapbox 卫星图层 (替换YOUR_MAPBOX_ACCESS_TOKEN) const mapboxSatelliteLayer = 'https://api.mapbox.com/styles/v1/mapbox/satellite-v9/tiles/{z}/{x}/{y}?access_token=YOUR_MAPBOX_ACCESS_TOKEN';
4. Esri 世界影像地图
// Esri 世界影像地图 const esriWorldImagery = 'https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}';
5. 高德地图卫星图层
// 高德地图卫星图层 const amapSatelliteLayer = 'https://webst01.is.autonavi.com/appmaptile?style=6&x={x}&y={y}&z={z}';
6. 百度地图卫星图层
// 百度地图卫星图层 const baiduSatelliteLayer = 'https://maponline0.bdimg.com/tile/?qt=tile&x={x}&y={y}&z={z}&styles=pl&scaler=1&udt=20250101';
使用示例 (Leaflet.js)
// 使用Leaflet加载地图图层示例 const map = L.map('map').setView([39.9042, 116.4074], 12); // 北京中心点 // 添加OpenStreetMap图层 L.tileLayer(osmLayer, { attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors' }).addTo(map); // 或者添加Google卫星图层 L.tileLayer(googleSatelliteLayer, { attribution: 'Google Satellite' }).addTo(map);
注意:
-
部分服务(如Google Maps)可能有使用限制
-
商业用途可能需要获取授权
-
2025年的高清地图可能需要使用各服务商最新的API
-
实际使用时请遵守各平台的服务条款
大疆、极飞、无人船设备高清卫星地图. 也是无限制版本google maps https://map4fly.com/fly?x={x}&y={y}&z={z}