diff --git a/.gitignore b/.gitignore
index 1dc69bff9f..53f22a3b30 100644
--- a/.gitignore
+++ b/.gitignore
@@ -73,3 +73,4 @@ public
yarn.lock
package-lock.json
+git_log.sh
diff --git a/README.zh.md b/README.zh.md
index 65039ff5d8..2b1281786e 100644
--- a/README.zh.md
+++ b/README.zh.md
@@ -18,19 +18,19 @@ L7 是由蚂蚁金服 AntV 数据可视化团队推出的基于 WebGL 的开源
## 核心特性
-### 🌏 数据驱动可视化展示
+🌏 数据驱动可视化展示
数据驱动,从数到形,支持丰富的地图可视化类型,更好洞察数据。
-### 🌏 2D,3D 一体化的海量数据高性能渲染
+🌏 2D,3D 一体化的海量数据高性能渲染
百万级空间数据实时,动态渲染。
-### 🌏简单灵活的数据接入
+🌏 简单灵活的数据接入
支持CSV,JSON,geojson等数据格式接入,可以根据需求自定义数据格式,无需复杂的空间数据转换。
-### 🌏 多地图底图支持,支持离线内网部署
+🌏 多地图底图支持,支持离线内网部署
高德地图国内合法合规的地理底图,Mapbox 满足国际化业务需求。
diff --git a/build/rollup.config.js b/build/rollup.config.js
index 2a1cafc621..6b8153c7d0 100644
--- a/build/rollup.config.js
+++ b/build/rollup.config.js
@@ -3,7 +3,7 @@ import alias from '@rollup/plugin-alias';
import json from '@rollup/plugin-json';
import resolve from 'rollup-plugin-node-resolve';
import commonjs from 'rollup-plugin-commonjs';
-import { terser } from "rollup-plugin-terser";
+import { terser } from 'rollup-plugin-terser';
import analyze from 'rollup-plugin-analyzer';
import babel from 'rollup-plugin-babel';
import glsl from './rollup-plugin-glsl';
@@ -11,7 +11,7 @@ import postcss from 'rollup-plugin-postcss';
import url from 'postcss-url';
function resolveFile(filePath) {
- return path.join(__dirname, '..', filePath)
+ return path.join(__dirname, '..', filePath);
}
module.exports = [
@@ -22,39 +22,39 @@ module.exports = [
format: 'umd',
name: 'L7',
globals: {
- 'mapbox-gl': 'mapboxgl',
- },
+ 'mapbox-gl': 'mapboxgl'
+ }
},
external: [
- 'mapbox-gl',
+ 'mapbox-gl'
],
treeshake: true,
plugins: [
alias(
{
- resolve: ['.tsx', '.ts'],
+ resolve: [ '.tsx', '.ts' ],
entries: [
{
find: /^@l7\/(.*)/,
- replacement: resolveFile('packages/$1/src'),
- },
+ replacement: resolveFile('packages/$1/src')
+ }
]
- },
+ }
),
resolve({
browser: true,
preferBuiltins: false,
- extensions: ['.js', '.ts'],
+ extensions: [ '.js', '.ts' ]
}),
glsl(
- ['**/*.glsl'],
- true,
+ [ '**/*.glsl' ],
+ true
),
json(),
postcss({
plugins: [
- url({ url: 'inline' }),
- ],
+ url({ url: 'inline' })
+ ]
}),
// @see https://github.com/rollup/rollup-plugin-node-resolve#using-with-rollup-plugin-commonjs
commonjs({
@@ -64,23 +64,23 @@ module.exports = [
lodash: [
'isNil',
'uniq',
- 'clamp',
+ 'clamp',
'isObject',
'isFunction',
'cloneDeep',
'isString',
- 'isNumber',
- ],
+ 'isNumber'
+ ]
}
}),
babel({
- extensions: ['.js', '.ts'],
+ extensions: [ '.js', '.ts' ]
}),
terser(),
analyze({
summaryOnly: true,
- limit: 20,
- }),
- ],
- },
+ limit: 20
+ })
+ ]
+ }
];
diff --git a/docs/api/l7.zh.md b/docs/api/l7.zh.md
index 705b43d549..1ddcceae71 100644
--- a/docs/api/l7.zh.md
+++ b/docs/api/l7.zh.md
@@ -83,4 +83,4 @@ L7 是由蚂蚁金服 AntV 数据可视化团队推出的基于 WebGL 的开源
### 技术支持服务群
L7 相关技术问题,需求反馈,我们会及时响应
-![地理空间可视化L7支持群](https://gw.alipayobjects.com/mdn/antv_site/afts/img/A*REc9Qrttrg8AAAAAAAAAAABkARQnAQ)
+![地理空间可视化L7支持群](https://gw.alipayobjects.com/mdn/antv_site/afts/img/A*ePmsRbK4lZgAAAAAAAAAAABkARQnAQ)
diff --git a/docs/api/scene.en.md b/docs/api/scene.en.md
index f61efc07db..6c1a885e32 100644
--- a/docs/api/scene.en.md
+++ b/docs/api/scene.en.md
@@ -1,5 +1,5 @@
---
-title: 场景 Scene
+title: Scene
order: 1
---
diff --git a/gatsby-config.js b/gatsby-config.js
index 4c236f33f2..4119f91ac9 100644
--- a/gatsby-config.js
+++ b/gatsby-config.js
@@ -51,7 +51,15 @@ module.exports = {
slug: '/tutorial',
title: {
zh: '快速入门',
- en: 'Quickstart'
+ en: 'QuickStart'
+ },
+ order: 0
+ },
+ {
+ slug: '/tutorial/map',
+ title: {
+ zh: '地图',
+ en: 'MAP'
},
order: 0
},
diff --git a/packages/component/src/css/l7.css b/packages/component/src/css/l7.css
index 055368d14a..cbc8f5a136 100644
--- a/packages/component/src/css/l7.css
+++ b/packages/component/src/css/l7.css
@@ -359,7 +359,7 @@
border-radius: 5px;
}
.l7-control-layers-toggle {
- background-image: url(../images/layers.png);
+ background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAkCAYAAAGf7Ah0AAAABGdBTUEAALGPC/xhBQAABzdJREFUWAnVV3lslEUUn/l2F0tpwdAih1HEqCReDcphNCo1EkgFkXa5PNpuC0Fo2e7Wgko8KiaKWrvbK5672xYFpNtiRRuNiY0aURA14BGviBcVlaKltVa6+42/N9v5Mrtt05rwj/PHzjt+8743b+a9N8vYwKgMNlUQyemnMtAkaJajvb3dToQSGp8e6boopkr4VYgEMYwO0vhCTfMVzBcMf8bx086YyODcuM80zTqp9IWat+7evW8sMdIxIqqCLa6oiAaJpuEtcBqcc2HEWMZ0JclgZR/Nchf++ubrzKjJSguXS4tVjXvPjfb3/UAAacGTn/MOMb7QnjNpNqP/bKZ50Ai0tqYmCi0n4zbM+W+lBc7JBOa+QPhDwcTsxJXE2+32edKCL9h8hRDmRzpIOWydAylhrcMfDN+ugBRKSdP3KwPhsFJIPth02FISIYQwYsDYcVfWhy/Bon4JgumffMGmiGTwQ0B/sHml4q2ZFAD3WQIQVhx0IdFw8B189lolN+w8w5PnjPmlhJgtA8/vfn3iye7u3yGzDljDxZEG4097Cp3rSSjBtMHunp6vFR+HHoIxmbgTe1xHKssDHecLNFUj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IAaWgGUfBq0N78qPM3DZcp9TxcTQeyzZm3ON2LatXpSlOP8BIB6qDLddHmHnFrBlpNZmZmdZbNXEB9XsRlZXFennqGHzoXW5DaId4iSoc/Q365EjnRjszPnYXZL9NDWUtGsqzCjAw7xprTypbn7fkaILcYqkInzzeX06C8emO8sKlS7stZQLxVMPes/+O9FVAvEpXob+utY6gZmfrtMjf/RUI+2odhF7wJbq+Gzf3zTj5CAwyaoEwozVoCzN1KKK00z7WUbZx9dIOklsO6CAZpu87i5gpHoJ8gtLh9vZixSO2KckV7qysf5Sc5uq2tjOix3rL0FW3IJuSNV0XM/iDs85LqxvqeKUD8n3LxUobt5WVuLJlS9IM4O9i09VRwWtxLWfpcix+hXjs8mZdjn19YuOiuKRgufzXqOuqQi2r8O+yAk/tl2Q/RMW7ETe8UdX1GJhHDM5qjDHJ5e7bs07qBp7ZsTe9t6/vUXykkLKEdLFbLgLJSUn3rrt1yXEdX/1C23jzVG+5Keg/B5r2wJD9g/NcaUAJq4MvXxxl/TWoATcoGc0Av4eUKnIXZlsvXpLHO0CS2KgOtGQgdeuwqWuUjGbUgrdszLHRXXDLF0oe54AS0kyPnc5Iz/2CmV7EeIzSwcjvsHQPXkUhld/kCP6Xu+DRNjg/SWHh+SnODF+aPeVh9XCydAPEsA4kAqsCzcuiTPiw7+maTj6SwGsVk/9gY9xbUpizR8MNS47aAd0C7s35CG8VdrxYyjl/FcdUgo73nY77X9D/Au9RDMh+aBoVAAAAAElFTkSuQmCC');
width: 36px;
height: 36px;
}
@@ -719,7 +719,7 @@
display: block;
background-repeat: no-repeat;
cursor: pointer;
- background-image: url('../images/logo.png');
+ background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALIAAAAgCAYAAAHBIxK2AAAABGdBTUEAALGPC/xhBQAAIJZJREFUeAHtfAl8Tkf3/9z7PNmDRFbZSawhQcRSaqva1xCqpataqrT2UkuUUiqlaKtafe1VS1pUiypB0dIgIkpKRPZIELI/2/zO98akN48nltL3838//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q1t4V3H+kN3q5zWOnq5Jn05Jdm6GvMTExPJnC9PCDgYC2/X1Mp6o38j1xv3m0Q1LT5wu985DghlzGcxdqUaKzvSRpLJXtaFhdUpND8mLsZhKQcPuhSTxRL+UWFCkM3bPexZC/N2/9b/nYF/Z+AxZuD/AA8zEhkTLyOGAAAAAElFTkSuQmCC');
}
@@ -731,12 +731,12 @@
border-radius: 2px;
}
.l7-control-layers-toggle {
- background-image: url(../images/layers.svg);
+ background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAkCAYAAAGf7Ah0AAAABGdBTUEAALGPC/xhBQAABzdJREFUWAnVV3lslEUUn/l2F0tpwdAih1HEqCReDcphNCo1EkgFkXa5PNpuC0Fo2e7Wgko8KiaKWrvbK5672xYFpNtiRRuNiY0aURA14BGviBcVlaKltVa6+42/N9v5Mrtt05rwj/PHzjt+8743b+a9N8vYwKgMNlUQyemnMtAkaJajvb3dToQSGp8e6boopkr4VYgEMYwO0vhCTfMVzBcMf8bx086YyODcuM80zTqp9IWat+7evW8sMdIxIqqCLa6oiAaJpuEtcBqcc2HEWMZ0JclgZR/Nchf++ubrzKjJSguXS4tVjXvPjfb3/UAAacGTn/MOMb7QnjNpNqP/bKZ50Ai0tqYmCi0n4zbM+W+lBc7JBOa+QPhDwcTsxJXE2+32edKCL9h8hRDmRzpIOWydAylhrcMfDN+ugBRKSdP3KwPhsFJIPth02FISIYQwYsDYcVfWhy/Bon4JgumffMGmiGTwQ0B/sHml4q2ZFAD3WQIQVhx0IdFw8B189lolN+w8w5PnjPmlhJgtA8/vfn3iye7u3yGzDljDxZEG4097Cp3rSSjBtMHunp6vFR+HHoIxmbgTe1xHKssDHecLNFUjMzbqMs5ZlHF7ute17M84+TMHDzr+OvR9JwKdCms9yRkzJq6bPTsWXh05QOPUN+PUHyPWMPhm6UHd7vaUohWZPSRE8OqxpTyibQa/qcTlbEP0vwF7AWUAT3JM9dy69FfSNza+MU4awNE8iQtXSkJuGLleV852ov2h5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X06C8emO8sKlS7stZQLxVMPes/+O9FVAvEpXob+utY6gZmfrtMjf/RUI+2odhF7wJbq+Gzf3zTj5CAwyaoEwozVoCzN1KKK00z7WUbZx9dIOklsO6CAZpu87i5gpHoJ8gtLh9vZixSO2KckV7qysf5Sc5uq2tjOix3rL0FW3IJuSNV0XM/iDs85LqxvqeKUD8n3LxUobt5WVuLJlS9IM4O9i09VRwWtxLWfpcix+hXjs8mZdjn19YuOiuKRgufzXqOuqQi2r8O+yAk/tl2Q/RMW7ETe8UdX1GJhHDM5qjDHJ5e7bs07qBp7ZsTe9t6/vUXykkLKEdLFbLgLJSUn3rrt1yXEdX/1C23jzVG+5Keg/B5r2wJD9g/NcaUAJq4MvXxxl/TWoATcoGc0Av4eUKnIXZlsvXpLHO0CS2KgOtGQgdeuwqWuUjGbUgrdszLHRXXDLF0oe54AS0kyPnc5Iz/2CmV7EeIzSwcjvsHQPXkUhld/kCP6Xu+DRNjg/SWHh+SnODF+aPeVh9XCydAPEsA4kAqsCzcuiTPiw7+maTj6SwGsVk/9gY9xbUpizR8MNS47aAd0C7s35CG8VdrxYyjl/FcdUgo73nY77X9D/Au9RDMh+aBoVAAAAAElFTkSuQmCC');
width: 36px;
height: 36px;
}
.l7-retina .l7-control-layers-toggle {
- background-image: url(../images/layers.svg);
+ background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAkCAYAAAGf7Ah0AAAABGdBTUEAALGPC/xhBQAABzdJREFUWAnVV3lslEUUn/l2F0tpwdAih1HEqCReDcphNCo1EkgFkXa5PNpuC0Fo2e7Wgko8KiaKWrvbK5672xYFpNtiRRuNiY0aURA14BGviBcVlaKltVa6+42/N9v5Mrtt05rwj/PHzjt+8743b+a9N8vYwKgMNlUQyemnMtAkaJajvb3dToQSGp8e6boopkr4VYgEMYwO0vhCTfMVzBcMf8bx086YyODcuM80zTqp9IWat+7evW8sMdIxIqqCLa6oiAaJpuEtcBqcc2HEWMZ0JclgZR/Nchf++ubrzKj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DMh+aBoVAAAAAElFTkSuQmCC');
background-size: 26px 26px;
}
.l7-touch .l7-control-layers-toggle {
@@ -787,4 +787,3 @@
position: relative;
top: 1px;
}
-
diff --git a/packages/l7/package.json b/packages/l7/package.json
index 552ea5ea4e..c038a214f8 100644
--- a/packages/l7/package.json
+++ b/packages/l7/package.json
@@ -1,8 +1,8 @@
{
"name": "@antv/l7",
- "version": "2.0.0-beta.5",
+ "version": "2.0.0-beta.7",
"description": "A Large-scale WebGL-powered Geospatial Data Visualization",
- "main": "dist/bundle.js",
+ "main": "dist/l7.js",
"sideEffects": true,
"files": [
"dist",
@@ -18,16 +18,15 @@
"build:esm": "BABEL_ENV=esm babel src --root-mode upward --out-dir es --source-maps --extensions .ts,.tsx --delete-dir-on-start --no-comments",
"watch": "BABEL_ENV=cjs babel src --watch --root-mode upward --out-dir lib --source-maps --extensions .ts,.tsx --delete-dir-on-start --no-comments"
},
- "author": "xiaoiver",
- "license": "ISC",
- "gitHead": "0563f357f3a07c099bf1ffa9350e6fa3c88353ae",
+ "author": "antv",
+ "license": "MIT",
"publishConfig": {
"access": "public"
},
"dependencies": {
- "@l7/core": "0.0.1",
- "@l7/scene": "0.0.1",
- "@l7/layers": "0.0.1",
- "@l7/component": "0.0.1"
+ "@l7/core": "0.0.1",
+ "@l7/scene": "0.0.1",
+ "@l7/layers": "0.0.1",
+ "@l7/component": "0.0.1"
}
}
diff --git a/packages/layers/src/core/triangulation.ts b/packages/layers/src/core/triangulation.ts
index 66d027c759..2df21defa2 100644
--- a/packages/layers/src/core/triangulation.ts
+++ b/packages/layers/src/core/triangulation.ts
@@ -70,9 +70,9 @@ export function PointImageTriangulation(feature: IEncodeFeature) {
*/
export function LineTriangulation(feature: IEncodeFeature) {
const { coordinates } = feature;
- let path = coordinates;
+ let path = coordinates as number[][][] | number[][];
if (Array.isArray(path[0][0])) {
- path = coordinates[0];
+ path = coordinates[0] as number[][];
}
const line = getNormals(path as number[][], false, 0);
return {
diff --git a/packages/layers/src/line/models/dash.ts b/packages/layers/src/line/models/dash.ts
index 7aa44a4dbc..f55fba75bf 100644
--- a/packages/layers/src/line/models/dash.ts
+++ b/packages/layers/src/line/models/dash.ts
@@ -5,18 +5,19 @@ import {
ILayer,
ILayerModel,
IModel,
+ IModelUniform,
} from '@l7/core';
import BaseModel from '../../core/baseModel';
-export default class ArcModel extends BaseModel {
- public getUninforms() {
+export default class DashModel extends BaseModel {
+ public getUninforms(): IModelUniform {
throw new Error('Method not implemented.');
}
public buildModels(): IModel[] {
throw new Error('Method not implemented.');
}
- private registerBuiltinAttributes() {
+ protected registerBuiltinAttributes() {
throw new Error('Method not implemented.');
}
}
diff --git a/packages/layers/src/point/models/text.ts b/packages/layers/src/point/models/text.ts
index e05be1db44..6cbd7621a9 100644
--- a/packages/layers/src/point/models/text.ts
+++ b/packages/layers/src/point/models/text.ts
@@ -8,10 +8,6 @@ import {
IModelUniform,
} from '@l7/core';
import BaseModel from '../../core/baseModel';
-import { PointExtrudeTriangulation } from '../core/triangulation';
-import pointExtrudeFrag from '../shaders/extrude_frag.glsl';
-import pointExtrudeVert from '../shaders/extrude_vert.glsl';
-
export default class ExtrudeModel extends BaseModel {
public getUninforms(): IModelUniform {
throw new Error('Method not implemented.');
diff --git a/site/pages/index.zh.tsx b/site/pages/index.zh.tsx
index 8ba21803fc..6b264c5661 100644
--- a/site/pages/index.zh.tsx
+++ b/site/pages/index.zh.tsx
@@ -129,7 +129,6 @@ const IndexPage = () => {
}
@@ -147,6 +146,6 @@ const IndexPage = () => {
>
);
-}
+};
-export default IndexPage
+export default IndexPage;
diff --git a/stories/Layers/components/Arc2DLine.tsx b/stories/Layers/components/Arc2DLine.tsx
index 8629a3f8e8..6f66b87dd4 100644
--- a/stories/Layers/components/Arc2DLine.tsx
+++ b/stories/Layers/components/Arc2DLine.tsx
@@ -1,4 +1,4 @@
-import { Arc2DLineLayer } from '@l7/layers';
+import { LineLayer } from '@l7/layers';
import { Scene } from '@l7/scene';
import * as React from 'react';
@@ -21,7 +21,7 @@ export default class Arc2DLineDemo extends React.Component {
style: 'mapbox://styles/mapbox/dark-v9',
zoom: 2,
});
- const lineLayer = new Arc2DLineLayer({})
+ const lineLayer = new LineLayer({})
.source(await response.text(), {
parser: {
type: 'csv',
diff --git a/stories/Layers/components/Arcline.tsx b/stories/Layers/components/Arcline.tsx
index 0ffe2e4439..e4ed8f73df 100644
--- a/stories/Layers/components/Arcline.tsx
+++ b/stories/Layers/components/Arcline.tsx
@@ -1,4 +1,4 @@
-import { ArcLineLayer } from '@l7/layers';
+import { LineLayer } from '@l7/layers';
import { Scene } from '@l7/scene';
import * as React from 'react';
@@ -21,7 +21,7 @@ export default class ArcLineDemo extends React.Component {
style: 'mapbox://styles/mapbox/dark-v9',
zoom: 2,
});
- const lineLayer = new ArcLineLayer({})
+ const lineLayer = new LineLayer({})
.source(await response.text(), {
parser: {
type: 'csv',
diff --git a/stories/Layers/components/Point3D.tsx b/stories/Layers/components/Point3D.tsx
index 34b8e4315f..d6248b554d 100644
--- a/stories/Layers/components/Point3D.tsx
+++ b/stories/Layers/components/Point3D.tsx
@@ -1,4 +1,4 @@
-import { Point3dLayer } from '@l7/layers';
+import { PointLayer } from '@l7/layers';
import { Scene } from '@l7/scene';
import * as React from 'react';
import data from '../data/data.json';
@@ -18,7 +18,7 @@ export default class Point3D extends React.Component {
style: 'mapbox://styles/mapbox/streets-v9',
zoom: 1,
});
- const pointLayer = new Point3dLayer({});
+ const pointLayer = new PointLayer({});
const p1 = {
type: 'FeatureCollection',
features: [
diff --git a/stories/Layers/components/heatMap.tsx b/stories/Layers/components/heatMap.tsx
index 932a838c23..0ef410760f 100644
--- a/stories/Layers/components/heatMap.tsx
+++ b/stories/Layers/components/heatMap.tsx
@@ -1,4 +1,4 @@
-import { HeatMapLayer } from '@l7/layers';
+import { HeatmapLayer } from '@l7/layers';
import { Scene } from '@l7/scene';
// @ts-ignore
import * as React from 'react';
@@ -22,7 +22,7 @@ export default class HeatMapLayerDemo extends React.Component {
style: 'mapbox://styles/mapbox/dark-v10',
zoom: 2,
});
- const layer = new HeatMapLayer({
+ const layer = new HeatmapLayer({
enableTAA: false,
});
layer
diff --git a/stories/Layers/components/heatMapgrid.tsx b/stories/Layers/components/heatMapgrid.tsx
index 87b94df2c6..bae4317646 100644
--- a/stories/Layers/components/heatMapgrid.tsx
+++ b/stories/Layers/components/heatMapgrid.tsx
@@ -21,7 +21,7 @@ export default class GridHeatMap extends React.Component {
style: 'mapbox://styles/mapbox/streets-v9',
zoom: 16,
});
- const layer = new HeatMapGridLayer({});
+ const layer = new HeatmapLayer({});
layer
.source(await response.json(), {
parser: {
diff --git a/stories/Layers/components/pointImage.tsx b/stories/Layers/components/pointImage.tsx
index 1d35687395..4b9cd02215 100644
--- a/stories/Layers/components/pointImage.tsx
+++ b/stories/Layers/components/pointImage.tsx
@@ -1,4 +1,4 @@
-import { PointImageLayer, PointLayer } from '@l7/layers';
+import { PointLayer } from '@l7/layers';
import { Scene } from '@l7/scene';
import * as React from 'react';
import data from '../data/data.json';
@@ -18,8 +18,8 @@ export default class PointImage extends React.Component {
zoom: 15,
id: 'map',
pitch: 0,
- type: 'mapbox',
- style: 'mapbox://styles/mapbox/streets-v9',
+ type: 'amap',
+ style: 'dark',
});
scene.addImage(
'00',
@@ -33,11 +33,8 @@ export default class PointImage extends React.Component {
'02',
'https://gw.alipayobjects.com/mdn/antv_site/afts/img/A*o16fSIvcKdUAAAAAAAAAAABkARQnAQ',
);
- this.scene = scene;
- scene.on('loaded', () => {
- run();
- });
- const imageLayer = new PointImageLayer({})
+
+ const imageLayer = new PointLayer({})
.source(await response.json(), {
parser: {
type: 'json',
@@ -46,15 +43,9 @@ export default class PointImage extends React.Component {
}
})
.shape('name', ['00', '01', '02'])
- .size(60);
+ .size(30);
scene.addLayer(imageLayer);
- function run() {
- scene.render();
- console.log('render');
- requestAnimationFrame(run);
- }
- this.scene = scene;
}
public render() {
diff --git a/stories/MapAdaptor/components/Mapbox.tsx b/stories/MapAdaptor/components/Mapbox.tsx
index ec32ba3d5e..f60ad0f252 100644
--- a/stories/MapAdaptor/components/Mapbox.tsx
+++ b/stories/MapAdaptor/components/Mapbox.tsx
@@ -1,5 +1,4 @@
// @ts-ignore
-import '!style-loader!css-loader!./css/l7.css';
import { Marker, Popup, Scale, Zoom } from '@l7/component';
import { PolygonLayer } from '@l7/layers';
// @ts-ignore