comparison pkg/common/zip.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 594f3f1e45aa
children 4bb5dfa0b7e3
comparison
equal deleted inserted replaced
3677:24fafb86b528 3678:8f58851927c0