Skip to content

Commit 8bfbf46

Browse files
author
Sean Sullivan
committed
Use configurable max bin size
1 parent b0849d0 commit 8bfbf46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elastic_datashader/tilegen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1117,7 +1117,7 @@ def generate_tile(idx, x, y, z, headers, params, tile_width_px=256, tile_height_
11171117
partial_data = False # TODO can we get partial data?
11181118
span = None
11191119
if field_type == "geo_point":
1120-
geo_tile_grid = A("geotile_grid", field=geopoint_field, precision=geotile_precision)
1120+
geo_tile_grid = A("geotile_grid", field=geopoint_field, precision=geotile_precision,size=max_bins)
11211121
estimated_points_per_tile = get_estimated_points_per_tile(span_range, global_bounds, z, global_doc_cnt)
11221122
if params['bucket_min']>0 or params['bucket_max']<1:
11231123
if estimated_points_per_tile is None:

0 commit comments

Comments
 (0)