moving the layout of the zoom slider
Posted: Tue Mar 21, 2017 3:24 pm
I am currently trying to move the 'zoomslider' layer from its default on the right to the left hand side.
i.e.
The problem i get that its generated parent 'div' doesn't compensate for the changes and the 'ComputedAreaWidth' remains the same as the screen area, in this scenario its 1893px, so it fills the screen from right to left.
is this a bug or am i missing some configuration etc
cheer
i.e.
Code: Select all
var zoomLay = map.getLayer("zoomslider");
zoomLay.setAreaLeft(20);
zoomLay.setAreaTop(20);
is this a bug or am i missing some configuration etc
cheer