Skip to content

Commit

Permalink
only calc extents if getters object has keys
Browse files Browse the repository at this point in the history
  • Loading branch information
mhkeller committed Nov 24, 2021
1 parent 5fc6a2b commit c614ae1
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2,951 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Changelog
===

# 5.0.1

> 2021-11-24
A minor internal change where `calcExtents` is only called when there are active keys. This change preempts an error where a `zGet` function was optionally called in the Map component. Because `zGet` existed in the component, the library was running this bit of code. The `calcExtents` resulted in an error because the data was a geojson object, not an array. Adding this check will allow components that don't necessarily use getters to include references to those functions so they are more reusable.

# 5.0.0

> 2021-06-20
Expand Down
Loading

0 comments on commit c614ae1

Please sign in to comment.