antv-l7/docs__tutorial__map__amap.e...

1 line
4.0 KiB
JavaScript

(self.webpackChunk_antv_l7_site=self.webpackChunk_antv_l7_site||[]).push([[2159],{61532:function(e){function n(e){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}n.keys=function(){return[]},n.resolve=n,n.id=61532,e.exports=n},63523:function(e,n,i){"use strict";i.r(n);i(93635),i(89444),i(70285),i(13629);var l=i(86032),s=(i(72113),i(49573),i(66541)),a=(i(41398),i(46228));n.default=function(){var e=(0,s.eL)().texts;return(0,a.jsx)(s.dY,{children:(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"markdown",children:[(0,a.jsx)("style",{dangerouslySetInnerHTML:{__html:"\n h3 { color: #873bf4; border-bottom: 1px solid #f0f0f0; margin: 1.2em 0 0.4em; } p { margin: 0.6em 0; } h4 { border-bottom: 1px solid #f0f0f0; }h4::before { content: '> '; opacity: 0.5; } "}}),(0,a.jsxs)("h2",{id:"使用高德地图",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#使用高德地图",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"使用高德地图"]}),(0,a.jsxs)("h3",{id:"注册账号并申请key",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#注册账号并申请key",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"注册账号并申请Key"]}),(0,a.jsxs)("ol",{children:[(0,a.jsx)("li",{children:(0,a.jsxs)("p",{children:[e[0].value,(0,a.jsx)("a",{href:"https://lbs.amap.com/dev/id/choose",children:e[1].value}),e[2].value]})}),(0,a.jsx)("li",{children:(0,a.jsx)("p",{children:e[3].value})}),(0,a.jsx)("li",{children:(0,a.jsxs)("p",{children:[e[4].value,(0,a.jsx)("a",{href:"https://lbs.amap.com/dev/key/app",children:e[5].value}),e[6].value]})})]}),(0,a.jsxs)("h3",{id:"引入-l7",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#引入-l7",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"引入 L7"]}),(0,a.jsxs)("p",{children:[e[7].value,(0,a.jsx)("code",{children:e[8].value}),e[9].value,(0,a.jsx)("code",{children:e[10].value}),e[11].value,(0,a.jsx)("code",{children:e[12].value}),e[13].value,(0,a.jsx)("code",{children:e[14].value}),e[15].value,(0,a.jsx)("code",{children:e[16].value}),e[17].value]}),(0,a.jsx)(l.Z,{lang:"html",children:e[18].value}),(0,a.jsxs)("h3",{id:"添加-div-标签指定地图容器",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#添加-div-标签指定地图容器",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"添加 div 标签指定地图容器"]}),(0,a.jsxs)("p",{children:[e[19].value,(0,a.jsx)("code",{children:e[20].value}),e[21].value]}),(0,a.jsx)(l.Z,{lang:"html",children:e[22].value}),(0,a.jsxs)("h3",{id:"初始化-l7-scene",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#初始化-l7-scene",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"初始化 L7 Scene"]}),(0,a.jsx)(l.Z,{lang:"javascript",children:e[23].value}),(0,a.jsxs)("p",{children:[e[24].value,(0,a.jsx)("code",{children:e[25].value}),e[26].value]}),(0,a.jsxs)("h3",{id:"添加可视化图层",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#添加可视化图层",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"添加可视化图层"]}),(0,a.jsxs)("ul",{children:[(0,a.jsx)("li",{children:e[27].value}),(0,a.jsxs)("li",{children:[e[28].value,(0,a.jsx)("code",{children:e[29].value}),e[30].value,(0,a.jsx)("code",{children:e[31].value}),e[32].value]})]}),(0,a.jsx)(l.Z,{lang:"javascript",children:e[33].value}),(0,a.jsxs)("h3",{id:"完整-demo-代码",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#完整-demo-代码",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"完整 demo 代码"]}),(0,a.jsx)(l.Z,{lang:"html",children:e[34].value})]})})})}},54843:function(e,n,i){"use strict";i.d(n,{T:function(){return l.T}});var l=i(22414)},37432:function(e,n,i){"use strict";i.d(n,{p:function(){return l.p}});var l=i(75795)},18322:function(e,n,i){"use strict";i.d(n,{G:function(){return l.G}});var l=i(93994)},55783:function(e,n,i){"use strict";i.d(n,{S:function(){return l.S}});var l=i(17317)},85589:function(e,n,i){"use strict";i.d(n,{g:function(){return l.g}});var l=i(56399)}}]);