Should only fit on shapes that are part of the result#12881
Merged
thomasneirynck merged 2 commits intoelastic:masterfrom Jul 24, 2017
Merged
Should only fit on shapes that are part of the result#12881thomasneirynck merged 2 commits intoelastic:masterfrom
thomasneirynck merged 2 commits intoelastic:masterfrom
Conversation
Contributor
Author
|
jenkins, test this |
ppisljar
approved these changes
Jul 17, 2017
Contributor
ppisljar
left a comment
There was a problem hiding this comment.
tested and it works ok, LGTM
spalger
approved these changes
Jul 20, 2017
| const outstandingFeatures = data.slice(); | ||
|
|
||
|
|
||
| const joinedShapes = []; |
Contributor
There was a problem hiding this comment.
I think this would be a little easier for me to understand if we tracked the bounds here, extended it on each call to getLeafletStyleFunction, and just returned the current version in getLeafletBounds().
let bounds = new L.LatLngBounds()
...
bounds = bounds.extend(L.geoJson(shape).getBounds())
...
return bounds;fdc0408 to
0bd8008
Compare
Contributor
Author
|
jenkins, test this |
0bd8008 to
0ee9054
Compare
Contributor
Author
|
jenkins, test this |
0ee9054 to
bd626ce
Compare
Contributor
Author
|
jenkins, test this |
bd626ce to
ab29e41
Compare
thomasneirynck
added a commit
to thomasneirynck/kibana
that referenced
this pull request
Jul 24, 2017
thomasneirynck
added a commit
to thomasneirynck/kibana
that referenced
this pull request
Jul 24, 2017
Contributor
Author
thomasneirynck
added a commit
that referenced
this pull request
Jul 24, 2017
thomasneirynck
added a commit
that referenced
this pull request
Jul 24, 2017
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release Note: When clicking the fit-data button in a Region Map, the map now zooms correctly to the relevant data instead of showing the entire layer.
Closes #12220.