Mercurial > gemma
comparison pkg/middleware/modifyquery.go @ 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 | 04967d6565fa |
children | 5f47eeea988d |
comparison
equal
deleted
inserted
replaced
3677:24fafb86b528 | 3678:8f58851927c0 |
---|