[OpenLayers-Users] Gratulation and a lot of questions

Arnd Wippermann arnd.wippermann at web.de
Tue Jul 11 16:09:54 CDT 2006


Hello Christopher,

Thanks for your reply.

Cool is OpenLayers. It's astonishing, what is possible. I have solved with
your help and the good understandable API point 1 - 4 of the list.  

1. How can I position the PanZoomBar?
2. Why have my PanZoomBar at the top the picture for PanZoom?
3. How can I change the number of zoomlevels?
4. How can I calculate the scale for each level?
5. How can i involve the choosen layers to draw with the PanZoom?
6. How can I prevent the click-event, when I doubleclick for zooming?

Point 5 is unsolved:

I set the layers with my Optionen-Dialog and  want that the click on the
zoombar or a dblclick on the map, the map redraw with the layers I have
choosen in the dialog. Is this possible?

Point 6 is solved. My click-listener waits for the dblclick:

    map.events.register('click', map, function (e) {
        myE = e;
        window.setTimeout("WaitForDblClick()",1000);
    });

When the Dblclick-listener returns true, then the click-event die. Otherwise
the click-event will start. A little constructed, but es klappt.

Point 7 and 8 (not so urgent) i hope, you show me in the future a solution.

Also thanks for the debug-links.

My Testapplication you find now here :
http://gis.ibbeck.de/Pinguinale/samba.html

It's a map with 3 OpenLayers-layers (ORTHO, TOPOGRAPHIE and THEMA with a
couple of themelayers). This layers have an alpha-filter and with the + and
- in the Optionen you can change the opaque. In Firefox it goes, but i have
no idea to tell IE to get it right. Have you a clue? I have seen the code in
the scripts for the controls (div and image-child), but with the
map.layer.div I have no child-image.

Mit freundlichen Grüssen

Arnd Wippermann
http://gis.ibbeck.de/pinguinale/
http://home.wtal.de/aw/






More information about the Users mailing list