mirror of https://gitee.com/antv-l7/antv-l7
1 line
8.0 KiB
JavaScript
1 line
8.0 KiB
JavaScript
(self.webpackChunk_antv_l7_site=self.webpackChunk_antv_l7_site||[]).push([[557],{61532:function(e){function a(e){var a=new Error("Cannot find module '"+e+"'");throw a.code="MODULE_NOT_FOUND",a}a.keys=function(){return[]},a.resolve=a,a.id=61532,e.exports=a},36437:function(e,a,n){"use strict";n.r(a);n(93635),n(89444),n(70285),n(13629);var i=n(86032),s=(n(72113),n(49573),n(66541)),l=(n(41398),n(46228));a.default=function(){var e=(0,s.eL)().texts;return(0,l.jsx)(s.dY,{children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"markdown",children:[(0,l.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,l.jsxs)("h2",{id:"简介",children:[(0,l.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#简介",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"简介"]}),(0,l.jsxs)("p",{children:[e[0].value,(0,l.jsx)("br",{}),e[1].value]}),(0,l.jsx)("p",{children:e[2].value}),(0,l.jsx)("p",{children:e[3].value}),(0,l.jsxs)("ul",{children:[(0,l.jsx)("li",{children:(0,l.jsx)("p",{children:e[4].value})}),(0,l.jsx)("li",{children:(0,l.jsx)("p",{children:e[5].value})}),(0,l.jsx)("li",{children:(0,l.jsx)("p",{children:e[6].value})})]}),(0,l.jsxs)("h3",{id:"import",children:[(0,l.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#import",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"import"]}),(0,l.jsx)(i.Z,{lang:"javascript",children:e[7].value}),(0,l.jsxs)("h3",{id:"实例化",children:[(0,l.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#实例化",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"实例化"]}),(0,l.jsx)("p",{children:e[8].value}),(0,l.jsxs)("h4",{id:"默认-map-实例化",children:[(0,l.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#默认-map-实例化",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"默认 Map 实例化"]}),(0,l.jsx)(i.Z,{lang:"js",children:e[9].value}),(0,l.jsxs)("h4",{id:"高德地图实例化",children:[(0,l.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#高德地图实例化",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"高德地图实例化"]}),(0,l.jsx)("p",{children:e[10].value}),(0,l.jsxs)("ul",{children:[(0,l.jsx)("li",{children:(0,l.jsxs)("p",{children:[e[11].value,(0,l.jsx)("br",{}),e[12].value,(0,l.jsx)("a",{href:"https://lbs.amap.com/api/javascript-api/guide/abc/prepare",children:e[13].value})]})}),(0,l.jsxs)("li",{children:[(0,l.jsxs)("p",{children:[e[14].value,(0,l.jsx)("code",{children:e[15].value})]}),(0,l.jsxs)("p",{children:[e[16].value,(0,l.jsx)("a",{href:"https://lbs.amap.com/api/javascript-api/guide/abc/plugins",children:e[17].value})]})]})]}),(0,l.jsx)(i.Z,{lang:"javascript",children:e[18].value}),(0,l.jsxs)("h4",{id:"mapbox-地图实例化",children:[(0,l.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#mapbox-地图实例化",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"Mapbox 地图实例化"]}),(0,l.jsx)(i.Z,{lang:"javascript",children:e[19].value}),(0,l.jsxs)("h3",{id:"传入外部实例",children:[(0,l.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#传入外部实例",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"传入外部实例"]}),(0,l.jsx)("p",{children:e[20].value}),(0,l.jsx)("p",{children:e[21].value}),(0,l.jsx)("p",{children:e[22].value}),(0,l.jsx)("p",{children:e[23].value}),(0,l.jsxs)("h4",{id:"传入高德地图实例",children:[(0,l.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#传入高德地图实例",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"传入高德地图实例"]}),(0,l.jsx)(i.Z,{lang:"javascript",children:e[24].value}),(0,l.jsxs)("p",{children:[(0,l.jsx)(s.rU,{to:"/examples/tutorial/map#amapInstance",children:e[25].value}),(0,l.jsx)("br",{}),(0,l.jsx)("a",{href:"https://github.com/antvis/L7/blob/master/examples/tutorial/map/demo/amapInstance.js",children:e[26].value})]}),(0,l.jsxs)("p",{children:[(0,l.jsx)(s.rU,{to:"/examples/tutorial/map#amapInstance2d",children:e[27].value}),(0,l.jsx)("br",{}),(0,l.jsx)("a",{href:"https://github.com/antvis/L7/blob/master/examples/tutorial/map/demo/amapInstance.js",children:e[28].value})]}),(0,l.jsxs)("h4",{id:"传入-mapbox-地图实例",children:[(0,l.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#传入-mapbox-地图实例",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"传入 Mapbox 地图实例"]}),(0,l.jsx)(i.Z,{lang:"javascript",children:e[29].value}),(0,l.jsxs)("h2",{id:"options",children:[(0,l.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#options",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"options"]}),(0,l.jsxs)("h3",{id:"zoom-初始化缩放等级",children:[(0,l.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#zoom-初始化缩放等级",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"zoom 初始化缩放等级"]}),(0,l.jsx)("p",{children:(0,l.jsxs)("description",{children:[e[30].value,(0,l.jsx)("em",{children:e[31].value}),e[32].value]})}),(0,l.jsx)("p",{children:e[33].value}),(0,l.jsxs)("h3",{id:"center-地图中心",children:[(0,l.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#center-地图中心",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"center 地图中心"]}),(0,l.jsx)("p",{children:e[34].value}),(0,l.jsxs)("h3",{id:"pitch-地图倾角",children:[(0,l.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#pitch-地图倾角",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"pitch 地图倾角"]}),(0,l.jsx)("p",{children:e[35].value}),(0,l.jsxs)("h3",{id:"style-地图图样式",children:[(0,l.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#style-地图图样式",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"style 地图图样式"]}),(0,l.jsx)("p",{children:e[36].value}),(0,l.jsxs)("ul",{children:[(0,l.jsx)("li",{children:e[37].value}),(0,l.jsx)("li",{children:e[38].value}),(0,l.jsx)("li",{children:e[39].value}),(0,l.jsx)("li",{children:e[40].value})]}),(0,l.jsx)("p",{children:e[41].value}),(0,l.jsx)("p",{children:e[42].value}),(0,l.jsxs)("p",{children:[e[43].value,(0,l.jsx)("code",{children:e[44].value}),e[45].value]}),(0,l.jsx)(i.Z,{lang:"javascript",children:e[46].value}),(0,l.jsxs)("h3",{id:"minzoom-最小缩放等级",children:[(0,l.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#minzoom-最小缩放等级",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"minZoom 最小缩放等级"]}),(0,l.jsx)("p",{children:e[47].value}),(0,l.jsxs)("h3",{id:"maxzoom-最大缩放等级",children:[(0,l.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#maxzoom-最大缩放等级",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"maxZoom 最大缩放等级"]}),(0,l.jsx)("p",{children:e[48].value}),(0,l.jsxs)("h3",{id:"rotateenable-是否允许旋转",children:[(0,l.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#rotateenable-是否允许旋转",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"rotateEnable 是否允许旋转"]}),(0,l.jsx)("p",{children:e[49].value}),(0,l.jsxs)("h2",{id:"注册使用高德插件",children:[(0,l.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#注册使用高德插件",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"注册使用高德插件"]}),(0,l.jsx)(i.Z,{lang:"javascript",children:e[50].value}),(0,l.jsx)("img",{width:"60%",style:{display:"block",margin:"0 auto"},alt:"案例",src:"https://gw.alipayobjects.com/mdn/rms_816329/afts/img/A*ag-nSrIPPEUAAAAAAAAAAAAAARQnAQ"})]}),(0,l.jsx)(s.rU,{to:"/examples/amapplugin/bus#busstop",children:e[51].value})]})})}},54843:function(e,a,n){"use strict";n.d(a,{T:function(){return i.T}});var i=n(22414)},37432:function(e,a,n){"use strict";n.d(a,{p:function(){return i.p}});var i=n(75795)},18322:function(e,a,n){"use strict";n.d(a,{G:function(){return i.G}});var i=n(93994)},55783:function(e,a,n){"use strict";n.d(a,{S:function(){return i.S}});var i=n(17317)},85589:function(e,a,n){"use strict";n.d(a,{g:function(){return i.g}});var i=n(56399)}}]); |