fix(l7): update package

This commit is contained in:
thinkinggis 2019-03-16 20:49:30 +08:00
parent 113aae900b
commit f669629769
3 changed files with 3 additions and 4 deletions

View File

@ -35,7 +35,7 @@ scene.on('loaded', () => {
.source(data) .source(data)
.size('mag', [ 0, 1 ]) // weight映射通道 .size('mag', [ 0, 1 ]) // weight映射通道
.style({ .style({
intensity: 2, intensity: 100,
radius: 30, radius: 30,
rampColors: { rampColors: {
colors: [ 'rgba(33,102,172,0.0)', 'rgb(103,169,207)', 'rgb(209,229,240)', 'rgb(253,219,199)', 'rgb(239,138,98)', 'rgb(178,24,43,1.0)' ], colors: [ 'rgba(33,102,172,0.0)', 'rgb(103,169,207)', 'rgb(209,229,240)', 'rgb(253,219,199)', 'rgb(239,138,98)', 'rgb(178,24,43,1.0)' ],

View File

@ -1,6 +1,6 @@
{ {
"name": "@antv/l7", "name": "@antv/l7",
"version": "1.1.1", "version": "1.1.3",
"description": "Large-scale WebGL-powered Geospatial Data Visualization", "description": "Large-scale WebGL-powered Geospatial Data Visualization",
"main": "build/l7.js", "main": "build/l7.js",
"browser": "build/l7.js", "browser": "build/l7.js",

View File

@ -4,8 +4,7 @@ const pkg = require('./package.json');
module.exports = { module.exports = {
devtool: 'cheap-source-map', devtool: 'cheap-source-map',
entry: { entry: {
l7: './src/index.js', l7: './src/index.js'
three: './src/core/three.js'
}, },
output: { output: {
filename: '[name].js', filename: '[name].js',