Skip to content
Snippets Groups Projects
Commit 85bf5619 authored by Tom Robinson's avatar Tom Robinson
Browse files

Tweak lat/lon binning and drilldown

parent 342895ca
Branches
Tags
No related merge requests found
......@@ -46,7 +46,7 @@ const DEFAULT_DRILL_DOWN_PROGRESSIONS = [
[CategoryDrillDown(TYPE.City), LatLonDrillDown(0.1)],
// LatLon drill downs
[
LatLonDrillDown(30),
LatLonDrillDown(binWidth => binWidth >= 20),
LatLonDrillDown(10),
LatLonDrillDown(1),
LatLonDrillDown(0.1),
......
......@@ -117,10 +117,10 @@
:mbql (apply vector "binning-strategy" nil params)
:type "type/Coordinate"})
[default-entry
["Bin every 0.1 degrees" ["bin-width" 0.1]]
["Bin every 1 degree" ["bin-width" 1.0]]
["Bin every 10 degrees" ["bin-width" 10.0]]
["Bin every 20 degrees" ["bin-width" 20.0]]
["Bin every 50 degrees" ["bin-width" 50.0]]])
["Bin every 20 degrees" ["bin-width" 20.0]]])
{:name "Don't bin"
:mbql nil
:type "type/Coordinate"})))))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment