Skip to content

Commit

Permalink
[Bug] Fix H3HexagonLayer state update (#3246)
Browse files Browse the repository at this point in the history
* don't set vertices to null in updateState
  • Loading branch information
heshan0131 authored and 1chandu committed Jun 19, 2019
1 parent ae311b6 commit f3dbc2a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/geo-layers/src/h3-layers/h3-hexagon-layer.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,7 @@ export default class H3HexagonLayer extends CompositeLayer {
this.setState({
resolution,
edgeLengthKM: resolution >= 0 ? edgeLength(resolution, UNITS.km) : 0,
hasPentagon,
vertices: null
hasPentagon
});
}

Expand Down

0 comments on commit f3dbc2a

Please sign in to comment.