type(feat):在线地图服务更换企业key,日访问300w次/天。

pull/19/head
cbwu 1 year ago
parent f00f8abdb1
commit 5ba3774841

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

Loading…
Cancel
Save