src/utils/maptype.JS
@@ -1,7 +1,7 @@ import XYZ from "ol/source/XYZ"; import WMTS from "ol/source/WMTS"; import WMTSTileGrid from "ol/tilegrid/WMTS"; // import WMTS from "ol/source/WMTS"; // import WMTSTileGrid from "ol/tilegrid/WMTS"; var topResolution = 896.0859375; var resolutions = []; @@ -14,7 +14,7 @@ let list = [ { name: "2001", value: new XYZ({ value: new ol.source.XYZ({ url: "https://skyzt.bda.gov.cn/yzAdapter/Vector/?request=1&year=2001&type=Sate&level={z}&x={x}&y={y}", }), // value: new WMTS({