[{"data":1,"prerenderedAt":142},["ShallowReactive",2],{"navigation_docs":3,"-getting-started-apikey":67,"-getting-started-apikey-surround":137},[4,23,53],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":22},"快速上手","i-lucide-rocket","\u002Fgetting-started","01.getting-started",[10,14,18],{"title":11,"path":12,"stem":13},"安装","\u002Fgetting-started\u002Finstallation","01.getting-started\u002F01.installation",{"title":15,"path":16,"stem":17},"密钥（tk）","\u002Fgetting-started\u002Fapikey","01.getting-started\u002F02.apikey",{"title":19,"path":20,"stem":21},"第一个地图","\u002Fgetting-started\u002Ffirst-map","01.getting-started\u002F03.first-map",false,{"title":24,"icon":25,"path":26,"stem":27,"children":28,"page":22},"组件","i-lucide-component","\u002Fcomponents","02.components",[29,33,37,41,45,49],{"title":30,"path":31,"stem":32},"地图","\u002Fcomponents\u002Fmap","02.components\u002F01.map",{"title":34,"path":35,"stem":36},"覆盖物","\u002Fcomponents\u002Foverlays","02.components\u002F02.overlays",{"title":38,"path":39,"stem":40},"控件","\u002Fcomponents\u002Fcontrols","02.components\u002F03.controls",{"title":42,"path":43,"stem":44},"工具","\u002Fcomponents\u002Ftools","02.components\u002F04.tools",{"title":46,"path":47,"stem":48},"图层","\u002Fcomponents\u002Flayers","02.components\u002F05.layers",{"title":50,"path":51,"stem":52},"标绘","\u002Fcomponents\u002Fplot-symbols","02.components\u002F06.plot-symbols",{"title":54,"icon":55,"path":56,"stem":57,"children":58,"page":22},"服务","i-lucide-plug","\u002Fservices","03.services",[59,63],{"title":60,"path":61,"stem":62},"REST 服务","\u002Fservices\u002Frest","03.services\u002F01.rest",{"title":64,"path":65,"stem":66},"SDK 服务","\u002Fservices\u002Fcomposables","03.services\u002F02.composables",{"id":68,"title":15,"body":69,"description":130,"extension":131,"links":132,"meta":133,"navigation":134,"path":16,"seo":135,"stem":17,"__hash__":136},"docs\u002F01.getting-started\u002F02.apikey.md",{"type":70,"value":71,"toc":124},"minimark",[72,76,80,96,99],[73,74,75],"p",{},"调用天地图的地图与服务接口都要浏览器端密钥（tk）。本站所有示例都要你自己输入密钥才能运行，密钥只存在你的浏览器 localStorage 里，不会上传。",[77,78,79],"h2",{"id":79},"申请",[73,81,82,83,90,91,95],{},"在天地图",[84,85,89],"a",{"href":86,"rel":87},"https:\u002F\u002Fconsole.tianditu.gov.cn\u002Fapi\u002Fkey",[88],"nofollow","控制台","申请。官方对密钥区分浏览器端、服务器端等应用类型，本站示例均运行在浏览器中，使用",[92,93,94],"strong",{},"浏览器端类型","的密钥即可，地图与服务接口共用这一把。",[77,97,98],{"id":98},"在本站使用",[100,101,102,112,121],"ul",{},[103,104,105,108,109,111],"li",{},[92,106,107],{},"地图类示例","（如",[84,110,19],{"href":20},"）：输入密钥后地图即可渲染，刷新后无需重新输入。",[103,113,114,117,118,120],{},[92,115,116],{},"服务类示例","（如 ",[84,119,60],{"href":61},"）：同一把密钥即可调用接口。",[103,122,123],{},"密钥随时可以更换：点页面右上角的密钥按钮，或在示例角落的「密钥」按钮里修改、清除。",{"title":125,"searchDepth":126,"depth":126,"links":127},"",2,[128,129],{"id":79,"depth":126,"text":79},{"id":98,"depth":126,"text":98},"浏览器端密钥（tk）的申请与在本站的使用","md",null,{},true,{"title":15,"description":130},"uYfwK5G6gLtfVgexHSFkGL7rnZxzeYl3dpy87MWpn3w",[138,140],{"title":11,"path":12,"stem":13,"description":139,"children":-1},"按需选择组件包与服务包",{"title":19,"path":20,"stem":21,"description":141,"children":-1},"用 Vue 与 Web Components 分别渲染一张地图",1788755010653]