Re: [pmapper-users] Pmapper5: PanZoomBarContainer problem with ol 2.12 implementation

2014-12-02 Thread gioza
Not bad solution could be: 1) remove pmPanZoomBarContainer from index.phtml file $(document).ready(function () { $('#map').pmAppendElement('div', {'id': 'pmPanZoomBarContainer'}); PM.Init.main(); ?php echo $jsInitFunctions ? }); 2) in \js\ol use files located

Re: [pmapper-users] Pmapper5: PanZoomBarContainer problem with ol 2.12 implementation

2014-12-02 Thread Armin Burger
You can of course just drop that DIV, the problems with this (relatively crappy implemented) control is that then you cannot easily place it where you want, cannot add backgrounds, transparencies etc. You can also use the default version of it, just remove the prototype function for it in

Re: [pmapper-users] Pmapper5: PanZoomBarContainer problem with ol 2.12 implementation

2014-12-02 Thread gioza
you are definitely right, obviously i am just trying to figure out with some tricks because i don't know any parts of the code and, first of all, i am not a software developper... I will try your solution. Is it possible to move out of the map the tool bar? (the one on the right side). thanks a

[pmapper-users] Pmapper5: PanZoomBarContainer problem with ol 2.12 implementation

2014-12-01 Thread gioza
As I mentioned in another post the PanZoomBarContainer doesn't work with OL 2.12 code. I realised that removing from line 73 of index.phtml pmPanZoomBarContainer it works $(document).ready(function () { $('#map').pmAppendElement('div', {'id': 'pmPanZoomBarContainer'});