Open Captain-Oski opened 4 years ago
Hello,
We have a SQL source :
It takes a points table, summarize the sales by administrative areas, and feed the source as a polygon layer (geometries are joined from another polygon layer)
See the jsfiddle code for deeper understanding of the SQL statement
We have a VIZ :
color: @colors strokeWidth: 0.1 @r1: $r1 @rtaidu: $fsa @total_spent: $total_spent @customerCount: viewportSum($count) @spentSum: viewportSum($total_spent) @orderSum: viewportSum($total_orders) strokeColor: rgba(0,0,0,0) @histogram: viewportFeatures($total_spent,$here_city,$fsa,$r1) @colors: ramp(linear($total_spent), peach)
When zoom to level 2 and lesser, viewport calculation are randomly divided
SEE GIF
See the jsfiddle here :
https://jsfiddle.net/captainOski/d87wx6zs/11/
Hello,
We have a SQL source :
It takes a points table, summarize the sales by administrative areas, and feed the source as a polygon layer (geometries are joined from another polygon layer)
See the jsfiddle code for deeper understanding of the SQL statement
We have a VIZ :
When zoom to level 2 and lesser, viewport calculation are randomly divided
SEE GIF
See the jsfiddle here :
https://jsfiddle.net/captainOski/d87wx6zs/11/