diff --git a/packages/site/.dumirc.ts b/packages/site/.dumirc.ts index 2b0feac172..31924bcb9d 100644 --- a/packages/site/.dumirc.ts +++ b/packages/site/.dumirc.ts @@ -180,8 +180,8 @@ export default defineConfig({ { logo: 'https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*-kafQrA1ky4AAAAAAAAAAAAADmJ7AQ/fmt.webp', title: { - zh: 'LarkMap 空间数据可视分析组件库', - en: 'LarkMap ', + zh: 'L7React 空间数据可视分析组件库', + en: 'L7React ', }, description: { zh: '新一代 React 地图可视分析组件库,提供丰富/高效/专业/易用的可视化组件,一站式满足地理可视化需求。', @@ -211,7 +211,7 @@ export default defineConfig({ ecosystems: [ { name: { - zh: 'LarkMap', + zh: 'L7React', en: 'L7 For React', }, url: 'https://larkmap.antv.antgroup.com/', diff --git a/packages/site/examples/line/path/demo/arrow.js b/packages/site/examples/line/path/demo/arrow.js deleted file mode 100644 index acc21f2a84..0000000000 --- a/packages/site/examples/line/path/demo/arrow.js +++ /dev/null @@ -1,140 +0,0 @@ -import { - Scene, - LineLayer, - PointLayer -} from '@antv/l7'; -import { - GaodeMap -} from '@antv/l7-maps'; - -const scene = new Scene({ - id: 'map', - map: new GaodeMap({ - center: [ 120.15, 30.3 ], - zoom: 10, - style: 'light' - }) -}); - -const pointLayer = new PointLayer() - .source([{ lng: 120.155, lat: 30.31 }], { - parser: { - type: 'json', - x: 'lng', - y: 'lat' - } - }) - .shape('circle') - .size(6000) - .color('#f00') - .animate(true) - .style({ - unit: 'meter' - }); -const lineLayer = new LineLayer({}) - .source({ - type: 'FeatureCollection', - features: [ - { - type: 'Feature', - properties: {}, - geometry: { - type: 'LineString', - coordinates: [ - [ - 120.1863098144, - 30.321915039121 - ], - [ - 120.3401184082, - 30.43446594614 - ] - ] - } - }, - { - type: 'Feature', - properties: {}, - geometry: { - type: 'LineString', - coordinates: [ - [ - 120.19660949707033, - 30.298796461361665 - ], - [ - 120.31883239746092, - 30.28041626667403 - ] - ] - } - }, - { - type: 'Feature', - properties: {}, - geometry: { - type: 'LineString', - coordinates: [ - [ - 120.12245178222656, - 30.29523927312319 - ], - [ - 120.01808166503906, - 30.261439550638762 - ] - ] - } - }, - { - type: 'Feature', - properties: {}, - geometry: { - type: 'LineString', - coordinates: [ - [ - 120.15609741210938, - 30.285159872426014 - ], - [ - 120.14923095703124, - 30.20626765511821 - ] - ] - } - }, - { - type: 'Feature', - properties: {}, - geometry: { - type: 'LineString', - coordinates: [ - [ - 120.10940551757812, - 30.320136880604423 - ], - [ - 120.01327514648438, - 30.362803774813028 - ] - ] - } - } - ] - } - ) - .size(2) - .shape('line') - .style({ - arrow: { - enable: true, - arrowWidth: 4, - arrowHeight: 4, - tailWidth: 0.4 - } - }) - .color('#f00'); -scene.on('loaded', () => { - scene.addLayer(pointLayer); - scene.addLayer(lineLayer); -}); diff --git a/packages/site/examples/line/path/demo/meta.json b/packages/site/examples/line/path/demo/meta.json index 53bae02401..dbd6762092 100644 --- a/packages/site/examples/line/path/demo/meta.json +++ b/packages/site/examples/line/path/demo/meta.json @@ -28,11 +28,6 @@ "filename": "road_dark_dash.js", "title": "路径虚线", "screenshot":"https://gw.alipayobjects.com/mdn/rms_816329/afts/img/A*vZFUTaBCGoEAAAAAAAAAAAAAARQnAQ" - }, - { - "filename": "arrow.js", - "title": "箭头路径", - "screenshot":"https://gw.alipayobjects.com/mdn/rms_816329/afts/img/A*glWTSoFfy1sAAAAAAAAAAAAAARQnAQ" } ] }