[OpenLayers-Dev] bug on back button

ramy.sehar ramy.sehar at yahoo.com
Wed Aug 15 13:24:23 PDT 2012


I am assuming it is a bug. Please guide to the appropriate section is
appreciated. I added following code which doesn't give me any error however
I have to press 'back' button twice to go to previous state.
I am using version 2.08.

Here is hte code at map.js

  n1 = new OpenLayers.Control.NavigationHistory();

        n1.next.title = "Forward";
        n1.previous.title = "Back";
        panel = new OpenLayers.Control.Panel(
                    { div: document.getElementById("panel") }
        panel.addControls([n1.next, n1.previous]);

View this message in context: http://osgeo-org.1560.n6.nabble.com/bug-on-back-button-tp4995461.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.

More information about the Dev mailing list