- 
                Notifications
    You must be signed in to change notification settings 
- Fork 8.5k
[Maps] use geo-tile aggregation instead of geohash precision #29776
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| Pinging @elastic/kibana-gis | 
| 💔 Build Failed | 
| 💔 Build Failed | 
| 💔 Build Failed | 
| 💔 Build Failed | 
| 💔 Build Failed | 
| 💚 Build Succeeded | 
| 💔 Build Failed | 
| jenkins, test this | 
| 💔 Build Failed | 
| 💔 Build Failed | 
| jenkins, test this | 
| 💔 Build Failed | 
| 💚 Build Succeeded | 
| return column.aggConfig.type.type === 'metrics' | ||
| && column.aggConfig.type.dslName !== 'geo_centroid'; | ||
| }); | ||
| const geocentroidColumn = table.columns.find(column => column.aggConfig.type.dslName === 'geo_centroid'); | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check that geocentroidColumn and throw an error if does not exist since there is not longer a check before geocentroidColumn.id
|  | ||
| it('should not rerequest when zoom changes do not cause geohash precision to change', async () => { | ||
| await PageObjects.maps.setView(DATA_CENTER_LAT, DATA_CENTER_LON, 2); | ||
| it('should not rerequest when pan changes do not cause geotile_grid precision to change', async () => { | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be should not rerequest when pan changes do not move map view area outside of buffer
| One more thing.  The test map saved object is still called  | 
| url: tilemap.url | ||
| }); | ||
| this.props.previewTilemap(this.props.url); | ||
| this.props.previewTilemap(this.state.url); | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this change snuck in
| 💚 Build Succeeded | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great. geotile_grid gives a much smoother gridding system while zooming
lgtm
code review, tested changes in chrome
Closes #28485
Replaces #29477