Tag Info

New answers tagged


Try this: Instead of making the whole popup box moveable, which is preventing you from interacting with text inside the box, make only the title bar (where the title and close button is) moveable. To do this, you only have to specify the "handle" option of the Movable class: new Moveable(popup, { handle: title_bar }); Implementation-wise, you'd ...


First of all, OpenLayers 3 doesn't have a LayerSwitcher control. In OpenLayers 2 however, there is a .olControlLayerSwitcher style which can be animated by JQuery without any further styling options. You can use JQuery's animate function for this task: $(".olControlLayerSwitcher").animate({top: "55px"}); There is no need for the 30px animation, except if ...

Top 50 recent answers are included