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();