Skip to content

Conversation

@simonseyock
Copy link
Member

Removed simplified geometry cache because it would bloat memory usage if used with non-integer zoom levels.

@tschaub tschaub merged commit c071c74 into openlayers:master Sep 24, 2019
@tschaub
Copy link
Member

tschaub commented Sep 24, 2019

Fixes #9977. Thanks @simonseyock.

For others following along, the geometry.simplify() method no longer returns a cached result. Within the library, we now call geometry.simplifyTransformed(), which is a memoized function - caching the result from a single call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants