Mercurial > gemma
comparison client/src/components/sections/Sections.vue @ 3678:8f58851927c0
client: make layer factory only return new layer config for individual maps
instead of each time it is invoked. The purpose of the factory was to support multiple maps with individual layers.
But returning a new config each time it is invoked leads to bugs that rely on the layer's state. Now this factory
reuses the same objects it created before, per map.
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Mon, 17 Jun 2019 17:31:35 +0200 |
parents | 3ada3d0347bd |
children | dc435fbb2d7a |
comparison
equal
deleted
inserted
replaced
3677:24fafb86b528 | 3678:8f58851927c0 |
---|