-
Zooming maps headache
Here is one for those who are far more clever than me.
I have a set of maps at different zoom levels all layered on top of each other – 1x, 2x, 4x etc
At the moment they are set up so each one is a child of the previous zoom level. So 2x’s parent is 1x… 16x’s parent is 8x etc Each child is a 50% scale of it’s parent.
There is a linear expression on the opacity so that the current zoom level is 100 opacity – and any zoom levels before it are transparent. Zoom level is controlled by an expression slider using a Math.pow to multiply 0, 1, 2, 3, 4 to 1x, 2x, 4x, 8x, 16x etc
Now this all works GREAT – apart from when you try to move around the map – and the whole thing starts to scale away from the anchor point.
I am not clever enough to solve this problem… :o)
I hope that explains it :o)
Sorry, there were no replies found.