mirror of https://gitee.com/antv-l7/antv-l7
Updates
This commit is contained in:
parent
678c6dbfdf
commit
fc4b6a888e
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
{"app":["/app-51e70f8e1fb75adb779d.js"]}
|
||||
{"app":["/app-026e9b1fa056e5e2bfcc.js"]}
|
|
@ -0,0 +1,39 @@
|
|||
import { Scene } from '@l7/scene';
|
||||
import { LineLayer } from '@l7/layers'
|
||||
const scene = new Scene({
|
||||
id: 'map',
|
||||
pitch: 0,
|
||||
type: 'mapbox',
|
||||
style: 'light',
|
||||
center: [102.602992, 23.107329],
|
||||
zoom: 13,
|
||||
});
|
||||
|
||||
fetch('https://gw.alipayobjects.com/os/rmsportal/ZVfOvhVCzwBkISNsuKCc.json')
|
||||
.then((res) => res.json())
|
||||
.then((data) => {
|
||||
const layer =
|
||||
new LineLayer({
|
||||
})
|
||||
.source(data)
|
||||
.size(1)
|
||||
.shape('line')
|
||||
.color(
|
||||
'ELEV',
|
||||
[
|
||||
'#E8FCFF',
|
||||
'#CFF6FF',
|
||||
'#A1E9ff',
|
||||
'#65CEF7',
|
||||
'#3CB1F0',
|
||||
'#2894E0',
|
||||
'#1772c2',
|
||||
'#105CB3',
|
||||
'#0D408C',
|
||||
'#002466',
|
||||
].reverse(),
|
||||
)
|
||||
scene.addLayer(layer);
|
||||
console.log(layer);
|
||||
|
||||
});
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"title": {
|
||||
"zh": "图库",
|
||||
"en": "Gallery"
|
||||
},
|
||||
"demos": [
|
||||
{
|
||||
"filename": "line.js",
|
||||
"title": "线图层",
|
||||
"screenshot": "https://gw.alipayobjects.com/mdn/antv_site/afts/img/A*KCyXTJrePiYAAAAAAAAAAABkARQnAQ"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
title: 数据
|
||||
order: 0
|
||||
---
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
{"webpackCompilationHash":"7bfb4d1a12c65b5c3447"}
|
||||
{"webpackCompilationHash":"aa6231fd306c472fde37"}
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"componentChunkName":"component---node-modules-antv-gatsby-theme-antv-site-templates-document-tsx","path":"/zh/docs/API/L7","result":{"data":{"site":{"siteMetadata":{"title":"L7","githubUrl":"https://github.com/antvis/antvis.github.io","docs":[{"slug":"specification","title":{"zh":"简介","en":"introduction"},"order":null},{"slug":"manual/tutorial","title":{"zh":"教程","en":"tutorial"},"order":null},{"slug":"API/L7.md","title":{"zh":"简介","en":"intro"},"order":1},{"slug":"API/component","title":{"zh":"组件","en":"Component"},"order":1}]},"pathPrefix":"/gatsby-theme-antv"},"markdownRemark":{"html":"","tableOfContents":"","fields":{"slug":"/zh/docs/API/L7","readingTime":{"text":"0 min read","time":0}},"frontmatter":{"title":"简介"},"parent":{"__typename":"File","relativePath":"API/L7.md"}},"allMarkdownRemark":{"edges":[{"node":{"fields":{"slug":"/zh/docs/manual/tutorial/quickStart"},"frontmatter":{"title":"快速上手"}}},{"node":{"fields":{"slug":"/zh/docs/API/L7"},"frontmatter":{"title":"简介"}}},{"node":{"fields":{"slug":"/zh/docs/API/component/popup"},"frontmatter":{"title":"地图信息框"}}},{"node":{"fields":{"slug":"/zh/docs/API/component/marker"},"frontmatter":{"title":"地图标注"}}},{"node":{"fields":{"slug":"/zh/examples/point/basic"},"frontmatter":{"title":"气泡图"}}},{"node":{"fields":{"slug":"/zh/docs/manual/tutorial/data"},"frontmatter":{"title":"数据"}}},{"node":{"fields":{"slug":"/zh/docs/API/component/control"},"frontmatter":{"title":"地图组件"}}},{"node":{"fields":{"slug":"/zh/docs/specification/introduction"},"frontmatter":{"title":"简介"}}}]}},"pageContext":{"isCreatedByStatefulCreatePages":false,"prev":{"fields":{"slug":"/zh/docs/manual/tutorial/quickStart"}},"next":{"fields":{"slug":"/zh/docs/manual/tutorial/data"}}}}}
|
||||
{"componentChunkName":"component---node-modules-antv-gatsby-theme-antv-site-templates-document-tsx","path":"/zh/docs/API/L7","result":{"data":{"site":{"siteMetadata":{"title":"L7","githubUrl":"https://github.com/antvis/antvis.github.io","docs":[{"slug":"specification","title":{"zh":"简介","en":"introduction"},"order":null},{"slug":"manual/tutorial","title":{"zh":"教程","en":"tutorial"},"order":null},{"slug":"API/L7.md","title":{"zh":"简介","en":"intro"},"order":1},{"slug":"API/component","title":{"zh":"组件","en":"Component"},"order":1}]},"pathPrefix":"/gatsby-theme-antv"},"markdownRemark":{"html":"","tableOfContents":"","fields":{"slug":"/zh/docs/API/L7","readingTime":{"text":"0 min read","time":0}},"frontmatter":{"title":"简介"},"parent":{"__typename":"File","relativePath":"API/L7.md"}},"allMarkdownRemark":{"edges":[{"node":{"fields":{"slug":"/zh/docs/manual/tutorial/quickStart"},"frontmatter":{"title":"快速上手","order":0}}},{"node":{"fields":{"slug":"/zh/docs/API/L7"},"frontmatter":{"title":"简介","order":0}}},{"node":{"fields":{"slug":"/zh/docs/API/component/marker"},"frontmatter":{"title":"地图标注","order":0}}},{"node":{"fields":{"slug":"/zh/docs/API/component/popup"},"frontmatter":{"title":"地图信息框","order":0}}},{"node":{"fields":{"slug":"/zh/examples/raster/basic"},"frontmatter":{"title":"栅格图层","order":0}}},{"node":{"fields":{"slug":"/zh/examples/scene/basic"},"frontmatter":{"title":"地图","order":0}}},{"node":{"fields":{"slug":"/zh/examples/polygon/basic"},"frontmatter":{"title":"面图层","order":0}}},{"node":{"fields":{"slug":"/zh/examples/marker/basic"},"frontmatter":{"title":"标注","order":0}}},{"node":{"fields":{"slug":"/zh/examples/point/basic"},"frontmatter":{"title":"气泡图","order":0}}},{"node":{"fields":{"slug":"/zh/examples/heatmap/basic"},"frontmatter":{"title":"热力图","order":0}}},{"node":{"fields":{"slug":"/zh/examples/data/basic"},"frontmatter":{"title":"数据","order":0}}},{"node":{"fields":{"slug":"/zh/examples/gallery/basic"},"frontmatter":{"title":"Gallery","order":0}}},{"node":{"fields":{"slug":"/zh/docs/specification/introduction"},"frontmatter":{"title":"简介","order":1}}},{"node":{"fields":{"slug":"/zh/docs/manual/tutorial/data"},"frontmatter":{"title":"数据","order":1}}},{"node":{"fields":{"slug":"/zh/docs/API/Scene"},"frontmatter":{"title":"Scene","order":1}}},{"node":{"fields":{"slug":"/zh/docs/API/component/control"},"frontmatter":{"title":"地图组件","order":1}}},{"node":{"fields":{"slug":"/zh/examples/point/image"},"frontmatter":{"title":"符号图","order":1}}},{"node":{"fields":{"slug":"/zh/examples/line/basic"},"frontmatter":{"title":"线图层","order":1}}}]}},"pageContext":{"isCreatedByStatefulCreatePages":false,"prev":{"fields":{"slug":"/zh/docs/API/Scene"}},"next":{"fields":{"slug":"/zh/docs/API/component/marker"}}}}}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
{"componentChunkName":"component---node-modules-antv-gatsby-theme-antv-site-templates-document-tsx","path":"/zh/docs/manual/tutorial/quickStart","result":{"data":{"site":{"siteMetadata":{"title":"L7","githubUrl":"https://github.com/antvis/antvis.github.io","docs":[{"slug":"specification","title":{"zh":"简介","en":"introduction"},"order":null},{"slug":"manual/tutorial","title":{"zh":"教程","en":"tutorial"},"order":null},{"slug":"API/L7.md","title":{"zh":"简介","en":"intro"},"order":1},{"slug":"API/component","title":{"zh":"组件","en":"Component"},"order":1}]},"pathPrefix":"/gatsby-theme-antv"},"markdownRemark":{"html":"<p>内容</p>","tableOfContents":"","fields":{"slug":"/zh/docs/manual/tutorial/quickStart","readingTime":{"text":"1 min read","time":300}},"frontmatter":{"title":"快速上手"},"parent":{"__typename":"File","relativePath":"manual/tutorial/quickStart.md"}},"allMarkdownRemark":{"edges":[{"node":{"fields":{"slug":"/zh/docs/manual/tutorial/quickStart"},"frontmatter":{"title":"快速上手"}}},{"node":{"fields":{"slug":"/zh/docs/API/L7"},"frontmatter":{"title":"简介"}}},{"node":{"fields":{"slug":"/zh/docs/API/component/popup"},"frontmatter":{"title":"地图信息框"}}},{"node":{"fields":{"slug":"/zh/docs/API/component/marker"},"frontmatter":{"title":"地图标注"}}},{"node":{"fields":{"slug":"/zh/examples/point/basic"},"frontmatter":{"title":"气泡图"}}},{"node":{"fields":{"slug":"/zh/docs/manual/tutorial/data"},"frontmatter":{"title":"数据"}}},{"node":{"fields":{"slug":"/zh/docs/API/component/control"},"frontmatter":{"title":"地图组件"}}},{"node":{"fields":{"slug":"/zh/docs/specification/introduction"},"frontmatter":{"title":"简介"}}}]}},"pageContext":{"isCreatedByStatefulCreatePages":false,"prev":null,"next":{"fields":{"slug":"/zh/docs/API/L7"}}}}}
|
||||
{"componentChunkName":"component---node-modules-antv-gatsby-theme-antv-site-templates-document-tsx","path":"/zh/docs/manual/tutorial/quickStart","result":{"data":{"site":{"siteMetadata":{"title":"L7","githubUrl":"https://github.com/antvis/antvis.github.io","docs":[{"slug":"specification","title":{"zh":"简介","en":"introduction"},"order":null},{"slug":"manual/tutorial","title":{"zh":"教程","en":"tutorial"},"order":null},{"slug":"API/L7.md","title":{"zh":"简介","en":"intro"},"order":1},{"slug":"API/component","title":{"zh":"组件","en":"Component"},"order":1}]},"pathPrefix":"/gatsby-theme-antv"},"markdownRemark":{"html":"<p>内容</p>","tableOfContents":"","fields":{"slug":"/zh/docs/manual/tutorial/quickStart","readingTime":{"text":"1 min read","time":300}},"frontmatter":{"title":"快速上手"},"parent":{"__typename":"File","relativePath":"manual/tutorial/quickStart.md"}},"allMarkdownRemark":{"edges":[{"node":{"fields":{"slug":"/zh/docs/manual/tutorial/quickStart"},"frontmatter":{"title":"快速上手","order":0}}},{"node":{"fields":{"slug":"/zh/docs/API/L7"},"frontmatter":{"title":"简介","order":0}}},{"node":{"fields":{"slug":"/zh/docs/API/component/marker"},"frontmatter":{"title":"地图标注","order":0}}},{"node":{"fields":{"slug":"/zh/docs/API/component/popup"},"frontmatter":{"title":"地图信息框","order":0}}},{"node":{"fields":{"slug":"/zh/examples/raster/basic"},"frontmatter":{"title":"栅格图层","order":0}}},{"node":{"fields":{"slug":"/zh/examples/scene/basic"},"frontmatter":{"title":"地图","order":0}}},{"node":{"fields":{"slug":"/zh/examples/polygon/basic"},"frontmatter":{"title":"面图层","order":0}}},{"node":{"fields":{"slug":"/zh/examples/marker/basic"},"frontmatter":{"title":"标注","order":0}}},{"node":{"fields":{"slug":"/zh/examples/point/basic"},"frontmatter":{"title":"气泡图","order":0}}},{"node":{"fields":{"slug":"/zh/examples/heatmap/basic"},"frontmatter":{"title":"热力图","order":0}}},{"node":{"fields":{"slug":"/zh/examples/data/basic"},"frontmatter":{"title":"数据","order":0}}},{"node":{"fields":{"slug":"/zh/examples/gallery/basic"},"frontmatter":{"title":"Gallery","order":0}}},{"node":{"fields":{"slug":"/zh/docs/specification/introduction"},"frontmatter":{"title":"简介","order":1}}},{"node":{"fields":{"slug":"/zh/docs/manual/tutorial/data"},"frontmatter":{"title":"数据","order":1}}},{"node":{"fields":{"slug":"/zh/docs/API/Scene"},"frontmatter":{"title":"Scene","order":1}}},{"node":{"fields":{"slug":"/zh/docs/API/component/control"},"frontmatter":{"title":"地图组件","order":1}}},{"node":{"fields":{"slug":"/zh/examples/point/image"},"frontmatter":{"title":"符号图","order":1}}},{"node":{"fields":{"slug":"/zh/examples/line/basic"},"frontmatter":{"title":"线图层","order":1}}}]}},"pageContext":{"isCreatedByStatefulCreatePages":false,"prev":{"fields":{"slug":"/zh/docs/specification/introduction"}},"next":{"fields":{"slug":"/zh/docs/manual/tutorial/data"}}}}}
|
|
@ -1 +1 @@
|
|||
{"componentChunkName":"component---node-modules-antv-gatsby-theme-antv-site-templates-document-tsx","path":"/zh/docs/specification/introduction","result":{"data":{"site":{"siteMetadata":{"title":"L7","githubUrl":"https://github.com/antvis/antvis.github.io","docs":[{"slug":"specification","title":{"zh":"简介","en":"introduction"},"order":null},{"slug":"manual/tutorial","title":{"zh":"教程","en":"tutorial"},"order":null},{"slug":"API/L7.md","title":{"zh":"简介","en":"intro"},"order":1},{"slug":"API/component","title":{"zh":"组件","en":"Component"},"order":1}]},"pathPrefix":"/gatsby-theme-antv"},"markdownRemark":{"html":"<p>L7 地理空间可视化设计语言</p>","tableOfContents":"","fields":{"slug":"/zh/docs/specification/introduction","readingTime":{"text":"1 min read","time":600}},"frontmatter":{"title":"简介"},"parent":{"__typename":"File","relativePath":"specification/introduction.md"}},"allMarkdownRemark":{"edges":[{"node":{"fields":{"slug":"/zh/docs/manual/tutorial/quickStart"},"frontmatter":{"title":"快速上手"}}},{"node":{"fields":{"slug":"/zh/docs/API/L7"},"frontmatter":{"title":"简介"}}},{"node":{"fields":{"slug":"/zh/docs/API/component/popup"},"frontmatter":{"title":"地图信息框"}}},{"node":{"fields":{"slug":"/zh/docs/API/component/marker"},"frontmatter":{"title":"地图标注"}}},{"node":{"fields":{"slug":"/zh/examples/point/basic"},"frontmatter":{"title":"气泡图"}}},{"node":{"fields":{"slug":"/zh/docs/manual/tutorial/data"},"frontmatter":{"title":"数据"}}},{"node":{"fields":{"slug":"/zh/docs/API/component/control"},"frontmatter":{"title":"地图组件"}}},{"node":{"fields":{"slug":"/zh/docs/specification/introduction"},"frontmatter":{"title":"简介"}}}]}},"pageContext":{"isCreatedByStatefulCreatePages":false,"prev":{"fields":{"slug":"/zh/docs/API/component/control"}},"next":{"fields":{"slug":"/zh/docs/API/component/popup"}}}}}
|
||||
{"componentChunkName":"component---node-modules-antv-gatsby-theme-antv-site-templates-document-tsx","path":"/zh/docs/specification/introduction","result":{"data":{"site":{"siteMetadata":{"title":"L7","githubUrl":"https://github.com/antvis/antvis.github.io","docs":[{"slug":"specification","title":{"zh":"简介","en":"introduction"},"order":null},{"slug":"manual/tutorial","title":{"zh":"教程","en":"tutorial"},"order":null},{"slug":"API/L7.md","title":{"zh":"简介","en":"intro"},"order":1},{"slug":"API/component","title":{"zh":"组件","en":"Component"},"order":1}]},"pathPrefix":"/gatsby-theme-antv"},"markdownRemark":{"html":"<p>L7 地理空间可视化设计语言</p>","tableOfContents":"","fields":{"slug":"/zh/docs/specification/introduction","readingTime":{"text":"1 min read","time":600}},"frontmatter":{"title":"简介"},"parent":{"__typename":"File","relativePath":"specification/introduction.md"}},"allMarkdownRemark":{"edges":[{"node":{"fields":{"slug":"/zh/docs/manual/tutorial/quickStart"},"frontmatter":{"title":"快速上手","order":0}}},{"node":{"fields":{"slug":"/zh/docs/API/L7"},"frontmatter":{"title":"简介","order":0}}},{"node":{"fields":{"slug":"/zh/docs/API/component/marker"},"frontmatter":{"title":"地图标注","order":0}}},{"node":{"fields":{"slug":"/zh/docs/API/component/popup"},"frontmatter":{"title":"地图信息框","order":0}}},{"node":{"fields":{"slug":"/zh/examples/raster/basic"},"frontmatter":{"title":"栅格图层","order":0}}},{"node":{"fields":{"slug":"/zh/examples/scene/basic"},"frontmatter":{"title":"地图","order":0}}},{"node":{"fields":{"slug":"/zh/examples/polygon/basic"},"frontmatter":{"title":"面图层","order":0}}},{"node":{"fields":{"slug":"/zh/examples/marker/basic"},"frontmatter":{"title":"标注","order":0}}},{"node":{"fields":{"slug":"/zh/examples/point/basic"},"frontmatter":{"title":"气泡图","order":0}}},{"node":{"fields":{"slug":"/zh/examples/heatmap/basic"},"frontmatter":{"title":"热力图","order":0}}},{"node":{"fields":{"slug":"/zh/examples/data/basic"},"frontmatter":{"title":"数据","order":0}}},{"node":{"fields":{"slug":"/zh/examples/gallery/basic"},"frontmatter":{"title":"Gallery","order":0}}},{"node":{"fields":{"slug":"/zh/docs/specification/introduction"},"frontmatter":{"title":"简介","order":1}}},{"node":{"fields":{"slug":"/zh/docs/manual/tutorial/data"},"frontmatter":{"title":"数据","order":1}}},{"node":{"fields":{"slug":"/zh/docs/API/Scene"},"frontmatter":{"title":"Scene","order":1}}},{"node":{"fields":{"slug":"/zh/docs/API/component/control"},"frontmatter":{"title":"地图组件","order":1}}},{"node":{"fields":{"slug":"/zh/examples/point/image"},"frontmatter":{"title":"符号图","order":1}}},{"node":{"fields":{"slug":"/zh/examples/line/basic"},"frontmatter":{"title":"线图层","order":1}}}]}},"pageContext":{"isCreatedByStatefulCreatePages":false,"prev":null,"next":{"fields":{"slug":"/zh/docs/manual/tutorial/quickStart"}}}}}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
{"data":{"site":{"siteMetadata":{"title":"L7","githubUrl":"https://github.com/antvis/antvis.github.io","navs":[{"slug":"docs/specification","title":{"zh":"设计语言","en":"Specification"},"target":null},{"slug":"docs/API","title":{"zh":"文档","en":"document"},"target":null},{"slug":"docs/tutorial","title":{"zh":"教程","en":"tutorial"},"target":null},{"slug":"examples","title":{"zh":"图表演示","en":"Examples"},"target":null}]}}}}
|
|
@ -0,0 +1 @@
|
|||
{"data":{"site":{"siteMetadata":{"title":"L7","githubUrl":"https://github.com/antvis/antvis.github.io","showLanguageSwitcher":null,"navs":[{"slug":"docs/specification","title":{"zh":"设计语言","en":"Specification"},"target":null},{"slug":"docs/API","title":{"zh":"文档","en":"document"},"target":null},{"slug":"docs/tutorial","title":{"zh":"教程","en":"tutorial"},"target":null},{"slug":"examples","title":{"zh":"图表演示","en":"Examples"},"target":null}]}}}}
|
|
@ -0,0 +1,2 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{"3GoW":function(o,e,n){o.exports={input:"Search-module--input--lOvOF"}},"44il":function(o,e,n){o.exports={container:"PlayGrounds-module--container--17Tai",shadowWrapper:"PlayGrounds-module--shadowWrapper--ASvRp",rightInnerShadow:"PlayGrounds-module--rightInnerShadow--1gKcv",leftInnerShadow:"PlayGrounds-module--leftInnerShadow--1smjh",cards:"PlayGrounds-module--cards--3hJak",card:"PlayGrounds-module--card--3Vq_o",current:"PlayGrounds-module--current--2cQLr"}},"49qf":function(o,e,n){},6488:function(o,e,n){},"7H9b":function(o,e,n){},"8nl2":function(o,e,n){},"9d8Q":function(o,e,n){},FPB1:function(o,e,n){o.exports={header:"Header-module--header--hrdnh",left:"Header-module--left--1dVXS",divider:"Header-module--divider--2qNp3",subProduceName:"Header-module--subProduceName--NMLtC",nav:"Header-module--nav--2_Knj",menu:"Header-module--menu--3hWNx",activeItem:"Header-module--activeItem--2xNW-",githubCorner:"Header-module--githubCorner--14Csh"}},"FoS+":function(o,e,n){},GiSQ:function(o,e,n){o.exports={article:"Article-module--article--1-Z4k"}},HYfu:function(o,e,n){o.exports={markdown:"markdown-module--markdown--1TLJm",editOnGtiHubButton:"markdown-module--editOnGtiHubButton--1hV6y",main:"markdown-module--main--1VRvj",meta:"markdown-module--meta--2LmyY",toc:"markdown-module--toc--3a23c",sider:"markdown-module--sider--26riA",menuIcon:"markdown-module--menuIcon--hTGH6",layout:"markdown-module--layout--20GIh"}},IDGY:function(o,e,n){},"Ibq+":function(o,e,n){},"L/94":function(o,e,n){},Lk4S:function(o,e,n){o.exports={products:"Product-module--products--wZmFW",product:"Product-module--product--1pyvr",productContent:"Product-module--productContent--3xt59",productDescription:"Product-module--productDescription--3dOob",productLinks:"Product-module--productLinks--2gCa8"}},OwP9:function(o,e,n){},Svq7:function(o,e,n){},VEUW:function(o,e,n){},Wfs9:function(o,e,n){},XJbt:function(o,e,n){},e0s7:function(o,e,n){},fcTV:function(o,e,n){},"h+Wa":function(o,e,n){},hEgN:function(o,e,n){},m7UV:function(o,e,n){o.exports={playground:"PlayGround-module--playground--20RTt",preview:"PlayGround-module--preview--6whqA",editor:"PlayGround-module--editor--1HTqe",toolbar:"PlayGround-module--toolbar--2i0SG",codemirror:"PlayGround-module--codemirror--nEJBa",exampleContainerWrapper:"PlayGround-module--exampleContainerWrapper--2NzdV"}},mo9N:function(o,e,n){o.exports={tabs:"Tabs-module--tabs--3WFbV",active:"Tabs-module--active--2GIM4",hidden:"Tabs-module--hidden--ko0Zt"}},"p77/":function(o,e,n){},slaK:function(o,e,n){o.exports={footer:"Footer-module--footer--1oDCB"}},vLCf:function(o,e,n){},zP18:function(o,e,n){o.exports={main:"layout-module--main--2k9yj"}}}]);
|
||||
//# sourceMappingURL=styles-4693de44c7fd6a8886fb.js.map
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"sources":["webpack:///./node_modules/@antv/gatsby-theme-antv/site/components/Search.module.less","webpack:///./node_modules/@antv/gatsby-theme-antv/site/components/PlayGrounds.module.less","webpack:///./node_modules/@antv/gatsby-theme-antv/site/components/Header.module.less","webpack:///./node_modules/@antv/gatsby-theme-antv/site/components/Article.module.less","webpack:///./node_modules/@antv/gatsby-theme-antv/site/templates/markdown.module.less","webpack:///./node_modules/@antv/gatsby-theme-antv/site/components/Product.module.less","webpack:///./node_modules/@antv/gatsby-theme-antv/site/components/PlayGround.module.less","webpack:///./node_modules/@antv/gatsby-theme-antv/site/components/Tabs.module.less","webpack:///./node_modules/@antv/gatsby-theme-antv/site/components/Footer.module.less","webpack:///./node_modules/@antv/gatsby-theme-antv/site/layouts/layout.module.less"],"names":["module","exports"],"mappings":"gFACAA,EAAOC,QAAU,CAAC,MAAQ,gC,uBCA1BD,EAAOC,QAAU,CAAC,UAAY,uCAAuC,cAAgB,2CAA2C,iBAAmB,8CAA8C,gBAAkB,6CAA6C,MAAQ,mCAAmC,KAAO,kCAAkC,QAAU,uC,gJCA9VD,EAAOC,QAAU,CAAC,OAAS,+BAA+B,KAAO,6BAA6B,QAAU,gCAAgC,eAAiB,uCAAuC,IAAM,4BAA4B,KAAO,6BAA6B,WAAa,mCAAmC,aAAe,uC,8CCArUD,EAAOC,QAAU,CAAC,QAAU,mC,qBCA5BD,EAAOC,QAAU,CAAC,SAAW,mCAAmC,mBAAqB,6CAA6C,KAAO,+BAA+B,KAAO,+BAA+B,IAAM,8BAA8B,MAAQ,gCAAgC,SAAW,mCAAmC,OAAS,mC,8FCAjVD,EAAOC,QAAU,CAAC,SAAW,kCAAkC,QAAU,iCAAiC,eAAiB,wCAAwC,mBAAqB,4CAA4C,aAAe,wC,sOCAnPD,EAAOC,QAAU,CAAC,WAAa,uCAAuC,QAAU,oCAAoC,OAAS,mCAAmC,QAAU,oCAAoC,WAAa,uCAAuC,wBAA0B,sD,qBCA5RD,EAAOC,QAAU,CAAC,KAAO,2BAA2B,OAAS,6BAA6B,OAAS,+B,8CCAnGD,EAAOC,QAAU,CAAC,OAAS,iC,4CCA3BD,EAAOC,QAAU,CAAC,KAAO","file":"styles-4693de44c7fd6a8886fb.js","sourcesContent":["// extracted by mini-css-extract-plugin\nmodule.exports = {\"input\":\"Search-module--input--lOvOF\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"PlayGrounds-module--container--17Tai\",\"shadowWrapper\":\"PlayGrounds-module--shadowWrapper--ASvRp\",\"rightInnerShadow\":\"PlayGrounds-module--rightInnerShadow--1gKcv\",\"leftInnerShadow\":\"PlayGrounds-module--leftInnerShadow--1smjh\",\"cards\":\"PlayGrounds-module--cards--3hJak\",\"card\":\"PlayGrounds-module--card--3Vq_o\",\"current\":\"PlayGrounds-module--current--2cQLr\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"header\":\"Header-module--header--hrdnh\",\"left\":\"Header-module--left--1dVXS\",\"divider\":\"Header-module--divider--2qNp3\",\"subProduceName\":\"Header-module--subProduceName--NMLtC\",\"nav\":\"Header-module--nav--2_Knj\",\"menu\":\"Header-module--menu--3hWNx\",\"activeItem\":\"Header-module--activeItem--2xNW-\",\"githubCorner\":\"Header-module--githubCorner--14Csh\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"article\":\"Article-module--article--1-Z4k\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"markdown\":\"markdown-module--markdown--1TLJm\",\"editOnGtiHubButton\":\"markdown-module--editOnGtiHubButton--1hV6y\",\"main\":\"markdown-module--main--1VRvj\",\"meta\":\"markdown-module--meta--2LmyY\",\"toc\":\"markdown-module--toc--3a23c\",\"sider\":\"markdown-module--sider--26riA\",\"menuIcon\":\"markdown-module--menuIcon--hTGH6\",\"layout\":\"markdown-module--layout--20GIh\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"products\":\"Product-module--products--wZmFW\",\"product\":\"Product-module--product--1pyvr\",\"productContent\":\"Product-module--productContent--3xt59\",\"productDescription\":\"Product-module--productDescription--3dOob\",\"productLinks\":\"Product-module--productLinks--2gCa8\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"playground\":\"PlayGround-module--playground--20RTt\",\"preview\":\"PlayGround-module--preview--6whqA\",\"editor\":\"PlayGround-module--editor--1HTqe\",\"toolbar\":\"PlayGround-module--toolbar--2i0SG\",\"codemirror\":\"PlayGround-module--codemirror--nEJBa\",\"exampleContainerWrapper\":\"PlayGround-module--exampleContainerWrapper--2NzdV\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"tabs\":\"Tabs-module--tabs--3WFbV\",\"active\":\"Tabs-module--active--2GIM4\",\"hidden\":\"Tabs-module--hidden--ko0Zt\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"footer\":\"Footer-module--footer--1oDCB\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"main\":\"layout-module--main--2k9yj\"};"],"sourceRoot":""}
|
|
@ -1,2 +0,0 @@
|
|||
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{"3GoW":function(o,n,e){o.exports={input:"Search-module--input--lOvOF"}},"44il":function(o,n,e){o.exports={container:"PlayGrounds-module--container--17Tai",cards:"PlayGrounds-module--cards--3hJak",card:"PlayGrounds-module--card--3Vq_o",current:"PlayGrounds-module--current--2cQLr"}},"49qf":function(o,n,e){},6488:function(o,n,e){},"7H9b":function(o,n,e){},"8nl2":function(o,n,e){},"9d8Q":function(o,n,e){},FPB1:function(o,n,e){o.exports={header:"Header-module--header--hrdnh",left:"Header-module--left--1dVXS",divider:"Header-module--divider--2qNp3",subProduceName:"Header-module--subProduceName--NMLtC",nav:"Header-module--nav--2_Knj",menu:"Header-module--menu--3hWNx",activeItem:"Header-module--activeItem--2xNW-",githubCorner:"Header-module--githubCorner--14Csh"}},"FoS+":function(o,n,e){},"G3+4":function(o,n,e){},GiSQ:function(o,n,e){o.exports={article:"Article-module--article--1-Z4k"}},HYfu:function(o,n,e){o.exports={markdown:"markdown-module--markdown--1TLJm",editOnGtiHubButton:"markdown-module--editOnGtiHubButton--1hV6y",main:"markdown-module--main--1VRvj",toc:"markdown-module--toc--3a23c",sider:"markdown-module--sider--26riA",menuIcon:"markdown-module--menuIcon--hTGH6",layout:"markdown-module--layout--20GIh"}},IDGY:function(o,n,e){},"Ibq+":function(o,n,e){},"L/94":function(o,n,e){},Lk4S:function(o,n,e){o.exports={products:"Product-module--products--wZmFW",product:"Product-module--product--1pyvr",productContent:"Product-module--productContent--3xt59",productDescription:"Product-module--productDescription--3dOob",productLinks:"Product-module--productLinks--2gCa8"}},OwP9:function(o,n,e){},Svq7:function(o,n,e){},VEUW:function(o,n,e){},Wfs9:function(o,n,e){},XJbt:function(o,n,e){},YCql:function(o,n,e){},e0s7:function(o,n,e){},fcTV:function(o,n,e){},"h+Wa":function(o,n,e){},hEgN:function(o,n,e){},m7UV:function(o,n,e){o.exports={playground:"PlayGround-module--playground--20RTt",preview:"PlayGround-module--preview--6whqA",editor:"PlayGround-module--editor--1HTqe",toolbar:"PlayGround-module--toolbar--2i0SG",codemirror:"PlayGround-module--codemirror--nEJBa"}},mo9N:function(o,n,e){o.exports={tabs:"Tabs-module--tabs--3WFbV",active:"Tabs-module--active--2GIM4"}},"p77/":function(o,n,e){},slaK:function(o,n,e){o.exports={footer:"Footer-module--footer--1oDCB"}},vLCf:function(o,n,e){},zP18:function(o,n,e){o.exports={main:"layout-module--main--2k9yj"}}}]);
|
||||
//# sourceMappingURL=styles-5d5ac81f3c32d0998151.js.map
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"sources":["webpack:///./node_modules/@antv/gatsby-theme-antv/site/components/Search.module.less","webpack:///./node_modules/@antv/gatsby-theme-antv/site/components/PlayGrounds.module.less","webpack:///./node_modules/@antv/gatsby-theme-antv/site/components/Header.module.less","webpack:///./node_modules/@antv/gatsby-theme-antv/site/components/Article.module.less","webpack:///./node_modules/@antv/gatsby-theme-antv/site/templates/markdown.module.less","webpack:///./node_modules/@antv/gatsby-theme-antv/site/components/Product.module.less","webpack:///./node_modules/@antv/gatsby-theme-antv/site/components/PlayGround.module.less","webpack:///./node_modules/@antv/gatsby-theme-antv/site/components/Tabs.module.less","webpack:///./node_modules/@antv/gatsby-theme-antv/site/components/Footer.module.less","webpack:///./node_modules/@antv/gatsby-theme-antv/site/layouts/layout.module.less"],"names":["module","exports"],"mappings":"gFACAA,EAAOC,QAAU,CAAC,MAAQ,gC,uBCA1BD,EAAOC,QAAU,CAAC,UAAY,uCAAuC,MAAQ,mCAAmC,KAAO,kCAAkC,QAAU,uC,gJCAnKD,EAAOC,QAAU,CAAC,OAAS,+BAA+B,KAAO,6BAA6B,QAAU,gCAAgC,eAAiB,uCAAuC,IAAM,4BAA4B,KAAO,6BAA6B,WAAa,mCAAmC,aAAe,uC,uECArUD,EAAOC,QAAU,CAAC,QAAU,mC,qBCA5BD,EAAOC,QAAU,CAAC,SAAW,mCAAmC,mBAAqB,6CAA6C,KAAO,+BAA+B,IAAM,8BAA8B,MAAQ,gCAAgC,SAAW,mCAAmC,OAAS,mC,8FCA3SD,EAAOC,QAAU,CAAC,SAAW,kCAAkC,QAAU,iCAAiC,eAAiB,wCAAwC,mBAAqB,4CAA4C,aAAe,wC,6PCAnPD,EAAOC,QAAU,CAAC,WAAa,uCAAuC,QAAU,oCAAoC,OAAS,mCAAmC,QAAU,oCAAoC,WAAa,yC,qBCA3ND,EAAOC,QAAU,CAAC,KAAO,2BAA2B,OAAS,+B,8CCA7DD,EAAOC,QAAU,CAAC,OAAS,iC,4CCA3BD,EAAOC,QAAU,CAAC,KAAO","file":"styles-5d5ac81f3c32d0998151.js","sourcesContent":["// extracted by mini-css-extract-plugin\nmodule.exports = {\"input\":\"Search-module--input--lOvOF\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"PlayGrounds-module--container--17Tai\",\"cards\":\"PlayGrounds-module--cards--3hJak\",\"card\":\"PlayGrounds-module--card--3Vq_o\",\"current\":\"PlayGrounds-module--current--2cQLr\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"header\":\"Header-module--header--hrdnh\",\"left\":\"Header-module--left--1dVXS\",\"divider\":\"Header-module--divider--2qNp3\",\"subProduceName\":\"Header-module--subProduceName--NMLtC\",\"nav\":\"Header-module--nav--2_Knj\",\"menu\":\"Header-module--menu--3hWNx\",\"activeItem\":\"Header-module--activeItem--2xNW-\",\"githubCorner\":\"Header-module--githubCorner--14Csh\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"article\":\"Article-module--article--1-Z4k\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"markdown\":\"markdown-module--markdown--1TLJm\",\"editOnGtiHubButton\":\"markdown-module--editOnGtiHubButton--1hV6y\",\"main\":\"markdown-module--main--1VRvj\",\"toc\":\"markdown-module--toc--3a23c\",\"sider\":\"markdown-module--sider--26riA\",\"menuIcon\":\"markdown-module--menuIcon--hTGH6\",\"layout\":\"markdown-module--layout--20GIh\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"products\":\"Product-module--products--wZmFW\",\"product\":\"Product-module--product--1pyvr\",\"productContent\":\"Product-module--productContent--3xt59\",\"productDescription\":\"Product-module--productDescription--3dOob\",\"productLinks\":\"Product-module--productLinks--2gCa8\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"playground\":\"PlayGround-module--playground--20RTt\",\"preview\":\"PlayGround-module--preview--6whqA\",\"editor\":\"PlayGround-module--editor--1HTqe\",\"toolbar\":\"PlayGround-module--toolbar--2i0SG\",\"codemirror\":\"PlayGround-module--codemirror--nEJBa\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"tabs\":\"Tabs-module--tabs--3WFbV\",\"active\":\"Tabs-module--active--2GIM4\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"footer\":\"Footer-module--footer--1oDCB\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"main\":\"layout-module--main--2k9yj\"};"],"sourceRoot":""}
|
File diff suppressed because one or more lines are too long
8
sw.js
8
sw.js
|
@ -30,17 +30,17 @@ self.__precacheManifest = [
|
|||
"url": "webpack-runtime-c93a82d3addc73eb1b52.js"
|
||||
},
|
||||
{
|
||||
"url": "styles.e32956506dacddf17950.css"
|
||||
"url": "styles.e8396ef1e0deb9f50d82.css"
|
||||
},
|
||||
{
|
||||
"url": "styles-5d5ac81f3c32d0998151.js"
|
||||
"url": "styles-4693de44c7fd6a8886fb.js"
|
||||
},
|
||||
{
|
||||
"url": "commons-f6783ede68f8c7ff9b6d.js"
|
||||
},
|
||||
{
|
||||
"url": "offline-plugin-app-shell-fallback/index.html",
|
||||
"revision": "3bb6e989197b330c20e203bdea194e49"
|
||||
"revision": "b831781e9074f4899963889063bc3aa2"
|
||||
},
|
||||
{
|
||||
"url": "page-data/offline-plugin-app-shell-fallback/page-data.json",
|
||||
|
@ -141,7 +141,7 @@ const navigationRoute = new NavigationRoute(async ({ event }) => {
|
|||
// Check for resources + the app bundle
|
||||
// The latter may not exist if the SW is updating to a new version
|
||||
const resources = await idbKeyval.get(`resources:${pathname}`)
|
||||
if (!resources || !(await caches.match(`/gatsby-theme-antv/app-51e70f8e1fb75adb779d.js`))) {
|
||||
if (!resources || !(await caches.match(`/gatsby-theme-antv/app-026e9b1fa056e5e2bfcc.js`))) {
|
||||
return await fetch(event.request)
|
||||
}
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"errors":[],"warnings":[],"namedChunkGroups":{"app":{"chunks":[3,2,1,0],"assets":["webpack-runtime-c93a82d3addc73eb1b52.js","webpack-runtime-c93a82d3addc73eb1b52.js.map","styles.e32956506dacddf17950.css","styles-5d5ac81f3c32d0998151.js","styles-5d5ac81f3c32d0998151.js.map","commons-f6783ede68f8c7ff9b6d.js","commons-f6783ede68f8c7ff9b6d.js.map","app-51e70f8e1fb75adb779d.js","app-51e70f8e1fb75adb779d.js.map"],"children":{},"childAssets":{}}},"assetsByChunkName":{"app":["webpack-runtime-c93a82d3addc73eb1b52.js","styles.e32956506dacddf17950.css","styles-5d5ac81f3c32d0998151.js","commons-f6783ede68f8c7ff9b6d.js","app-51e70f8e1fb75adb779d.js"]}}
|
||||
{"errors":[],"warnings":[],"namedChunkGroups":{"app":{"chunks":[3,2,1,0],"assets":["webpack-runtime-c93a82d3addc73eb1b52.js","webpack-runtime-c93a82d3addc73eb1b52.js.map","styles.e8396ef1e0deb9f50d82.css","styles-4693de44c7fd6a8886fb.js","styles-4693de44c7fd6a8886fb.js.map","commons-f6783ede68f8c7ff9b6d.js","commons-f6783ede68f8c7ff9b6d.js.map","app-026e9b1fa056e5e2bfcc.js","app-026e9b1fa056e5e2bfcc.js.map"],"children":{},"childAssets":{}}},"assetsByChunkName":{"app":["webpack-runtime-c93a82d3addc73eb1b52.js","styles.e8396ef1e0deb9f50d82.css","styles-4693de44c7fd6a8886fb.js","commons-f6783ede68f8c7ff9b6d.js","app-026e9b1fa056e5e2bfcc.js"]}}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,39 @@
|
|||
import { Scene } from '@l7/scene';
|
||||
import { LineLayer } from '@l7/layers'
|
||||
const scene = new Scene({
|
||||
id: 'map',
|
||||
pitch: 0,
|
||||
type: 'mapbox',
|
||||
style: 'light',
|
||||
center: [102.602992, 23.107329],
|
||||
zoom: 13,
|
||||
});
|
||||
|
||||
fetch('https://gw.alipayobjects.com/os/rmsportal/ZVfOvhVCzwBkISNsuKCc.json')
|
||||
.then((res) => res.json())
|
||||
.then((data) => {
|
||||
const layer =
|
||||
new LineLayer({
|
||||
})
|
||||
.source(data)
|
||||
.size(1)
|
||||
.shape('line')
|
||||
.color(
|
||||
'ELEV',
|
||||
[
|
||||
'#E8FCFF',
|
||||
'#CFF6FF',
|
||||
'#A1E9ff',
|
||||
'#65CEF7',
|
||||
'#3CB1F0',
|
||||
'#2894E0',
|
||||
'#1772c2',
|
||||
'#105CB3',
|
||||
'#0D408C',
|
||||
'#002466',
|
||||
].reverse(),
|
||||
)
|
||||
scene.addLayer(layer);
|
||||
console.log(layer);
|
||||
|
||||
});
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"title": {
|
||||
"zh": "图库",
|
||||
"en": "Gallery"
|
||||
},
|
||||
"demos": [
|
||||
{
|
||||
"filename": "line.js",
|
||||
"title": "线图层",
|
||||
"screenshot": "https://gw.alipayobjects.com/mdn/antv_site/afts/img/A*KCyXTJrePiYAAAAAAAAAAABkARQnAQ"
|
||||
}
|
||||
]
|
||||
}
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
title: 数据
|
||||
order: 0
|
||||
---
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
<meta http-equiv="refresh" content="0; URL='/gatsby-theme-antv/zh/examples/point/basic/'" />
|
||||
<meta http-equiv="refresh" content="0; URL='/gatsby-theme-antv/zh/examples/polygon/basic/'" />
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue