diff --git a/demos/01_point_circle.html b/demos/01_point_circle.html
index dd338d5e01..2b66ddd6a2 100644
--- a/demos/01_point_circle.html
+++ b/demos/01_point_circle.html
@@ -15,29 +15,6 @@
-
杭州市微博签到数据
-
-
-
-
-
-
-
-
-
@@ -58,7 +35,7 @@ const scene = new L7.Scene({
mapStyle: 'light', // 样式URL
center: [ 120.19382669582967, 30.258134 ],
pitch: 0,
- zoom: 11.6
+ zoom: 12
});
window.scene = scene;
scene.on('loaded', () => {
@@ -74,7 +51,7 @@ scene.on('loaded', () => {
}
})
.shape('2d:circle')
- .size('value', [ 0, 60]) // default 1
+ .size('value', [ 2, 80]) // default 1
//.size('value', [ 10, 300]) // default 1
.active(true)
.filter('value', field_8 => {
@@ -87,20 +64,7 @@ scene.on('loaded', () => {
opacity: 0.9
})
.render();
- $('.info-panel input').change(function(){
- $(this).next().text($(this).val());
- const min = $('.info-panel input').val();
- const max = $($('.info-panel input')[1]).val();
- circleLayer.filter('value',(value)=>{
- return (value>=min && value<=max)
- }).render();
- })
- $('.info-panel select').change(function(){
- const color = $(this).val();
- console.time('color');
- circleLayer.color('type',colorObj[color]).render();
- console.timeEnd('color')
- })
+
});
diff --git a/demos/01_point_column.html b/demos/01_point_column.html
index cf83d33d2d..354c58a316 100644
--- a/demos/01_point_column.html
+++ b/demos/01_point_column.html
@@ -23,13 +23,13 @@
const scene = new L7.Scene({
id: 'map',
mapStyle: 'dark', // 样式URL
- center: [ 120.037828998113099, 30.086317611850635 ],
- pitch: 36.002858,
- zoom: 5.44
+ center: [104.838088,34.075889 ],
+ pitch: 35,
+ zoom: 4.88,
+ rotation:4.183582
});
-window.scene = scene;
scene.on('loaded', () => {
- $.get('./data/rainfall.json', data => {
+ $.get('https://gw.alipayobjects.com/os/rmsportal/oVTMqfzuuRFKiDwhPSFL.json', data => {
scene.PointLayer({
zIndex: 2
})
@@ -40,14 +40,13 @@ scene.on('loaded', () => {
})
.shape('3d:circle')
.size('t',(level)=> {
- return [4,4,(level+40)];
+ return [2,2,(level*3+20)];
})
.active(true)
.color('t', ["#002466","#105CB3","#2894E0","#CFF6FF","#FFF5B8","#FFAB5C","#F27049","#730D1C"])
.render();
});
});
-