From 5ba377484115da16d9bf36b37d9995273a27e555 Mon Sep 17 00:00:00 2001 From: cbwu <504-wuchengbo@htsdfp.com> Date: Tue, 6 Feb 2024 09:15:01 +0800 Subject: [PATCH] =?UTF-8?q?type(feat):=E5=9C=A8=E7=BA=BF=E5=9C=B0=E5=9B=BE?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E6=9B=B4=E6=8D=A2=E4=BC=81=E4=B8=9Akey?= =?UTF-8?q?=EF=BC=8C=E6=97=A5=E8=AE=BF=E9=97=AE300w=E6=AC=A1/=E5=A4=A9?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GISDlg.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GISDlg.cpp b/GISDlg.cpp index 1f25622..5f44ebd 100644 --- a/GISDlg.cpp +++ b/GISDlg.cpp @@ -684,8 +684,8 @@ void CGISDlg::AddTianDiTuService() { string baseurl = "http://{switch:t0,t1,t2,t3,t4,t5,t6,t7}.tianditu.gov.cn/img_w/wmts?service=wmts&request=GetTile&version=1.0.0&LAYER=img&tileMatrixSet=w&TileMatrix={zoom}&TileRow={y}&TileCol={x}&style=default&format=tiles&tk="; //string baseurl_vec = "http://t0.tianditu.gov.cn/vec_w/wmts?service=wmts&request=GetTile&version=1.0.0&LAYER=vec&tileMatrixSet=w&TileMatrix={zoom}&TileRow={y}&TileCol={x}&style=default&format=tiles&tk="; - string key = "53d93c1a8b3400b050817ac001bdb60e";//个人Key,日访问上限1w次。 - //string key = "5ff7526440d3a7dab78037697c4679fa"; + string key = "c61f5f40fca2d64038cafbd2477e791d";//企业Key,日访问上限300w次。 + mapWindow::ITiles* pTiles = m_map.GetTiles(); mapWindow::ITileProvidersPtr providers = pTiles->GetProviders();