[OpenLayers-Users] Delete title in layerswitcher

2010-07-21 Thread Rahn Hanno (rahn)
Hello list, I have a Layerswitcher in my OpenLayers Map. But in this LayerSwicther div is the title overlays. I want to show the LayerSwicther without this title. Is it possible? How can I delete this title? Greetings Hanno -- Hanno Rahn, Dipl.-Ing.

[OpenLayers-Users] How to create legends for WMS Layers

2010-07-20 Thread Rahn Hanno (rahn)
Hello list, I try to show a legend for my base WMS layer. But I don't know how to realsie it. Is there a possibility in OpenLayers to show a legend in a div? I want to have a legend like this: 0 - 0.5 0.5 - 1 1 - 2 2 - 3 3 - 4 I know the GetLegendGraphic Parameter for WMS, but if I use this my

[OpenLayers-Users] Perhaps a UMN Question

2010-06-14 Thread Rahn Hanno (rahn)
Hello list, I have a little question. Perhaps it is a UMN Mapserver Mapfile question, but perhaps you can help me a little bit. I try to show a WMS layer in OpenLayers. For this I made a mapfile. In this mapfile I realise a layer like this: LAYER NAME 'symbol' TYPE POLYGON

[OpenLayers-Users] LayerSwitcher Event

2010-06-10 Thread Rahn Hanno (rahn)
Hello, Today I try to realise a trigger for my LayerSwitcher. Something like onLayerClick or so. I want to start a function if I select/unselect a layer in the Layerswitcher. In my Layerswitcher I have a Layer. If I select this Layer, then I want to set the opacity from all other layers to

[OpenLayers-Users] OPENLAYERS LayerChange

2010-06-10 Thread Rahn Hanno (rahn)
-- Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik ZHAW Zürcher Hochschule für Angewandte Wissenschaften Umwelt und Natürliche Ressourcen Fachstelle Geoinformatik Grüental, Postfach CH-8820 Wädenswil Tel +41 (0)58 934 5592 Fax +41 (0)58 934 5580 hanno.r...@zhaw.ch

Re: [OpenLayers-Users] OPENLAYERS LayerChange

2010-06-10 Thread Rahn Hanno (rahn)
+ )); } } } ); It doesn't work. Thank you for your help. Greetings Hanno Rahn -- Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik ZHAW Zürcher Hochschule für Angewandte Wissenschaften Umwelt und Natürliche Ressourcen Fachstelle Geoinformatik Grüental, Postfach CH

Re: [OpenLayers-Users] OPENLAYERS LayerChange

2010-06-10 Thread Rahn Hanno (rahn)
Wädenswil Tel +41 (0)58 934 5592 Fax +41 (0)58 934 5580 hanno.r...@zhaw.ch www.iunr.zhaw.ch/geoinformatik -Ursprüngliche Nachricht- Von: Eric Lemoine [mailto:eric.lemo...@camptocamp.com] Gesendet: Donnerstag, 10. Juni 2010 14:12 An: Rahn Hanno (rahn) Cc: users@openlayers.org Betreff: Re

[OpenLayers-Users] Scalebar doesn't work

2010-04-30 Thread Rahn Hanno (rahn)
', divisions: '2', subdivisions: '4' }); map.addControl(scalebar); I use OpenLayers 2.9. Hope that somebody can help me. Greetings Hanno Rahn -- Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik

[OpenLayers-Users] Openlayers Scalebar

2010-04-29 Thread Rahn Hanno (rahn)
Perhaps somebody can help me with that? Thank you for all tips. Greetings Hanno Rahn -- Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik ZHAW Zürcher Hochschule für Angewandte Wissenschaften Umwelt und Natürliche Ressourcen Fachstelle Geoinformatik Grüental

[OpenLayers-Users] Problem with OpenLayers.Layer.WMS in Firefox

2010-04-26 Thread Rahn Hanno (rahn)
Hello, I have a little complicated Question. I try to realise a Layer with labels for Polygons. For this I use OpenLAyers 8 and UMN Mapserver. I make a Layer (TYPE ANNOTATION) in Mapfile. After this I define a layer like this: var be = new OpenLayers.Layer.WMS('Beschriftung', urlArray,

[OpenLayers-Users] Click event for 4 maps

2010-04-07 Thread Rahn Hanno (rahn)
, ratio:1} ); This layer will be styled differently for each year with sld and the mergeNewParams-Function. Perhaps somebody can help me, please. I have no idea. Greetings Hanno Rahn -- Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik ZHAW Zürcher Hochschule

[OpenLayers-Users] GML from PostGIS

2010-04-06 Thread Rahn Hanno (rahn)
an example? I think I must write a php-skript and use the PostGIS function asGML or not? Thank you for any ideas. Perhaps somebody has an gml example file? Greetings Hanno Rahn -- Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik ZHAW Zürcher Hochschule für Angewandte

[OpenLayers-Users] Performance of different layers

2010-03-25 Thread Rahn Hanno (rahn)
it will be much faster to build and show the map in the browser with this version? Thank you Greetings Hanno Rahn -- Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik ZHAW Zürcher Hochschule für Angewandte Wissenschaften Umwelt und Natürliche Ressourcen Fachstelle

[OpenLayers-Users] LayerSwitcher

2010-03-02 Thread Rahn Hanno (rahn)
the overlays in the Layer Switcher. Greetings and a lot of thanks for your help. Hanno Rahn -- Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik ZHAW Zürcher Hochschule für Angewandte Wissenschaften Umwelt und Natürliche Ressourcen Fachstelle Geoinformatik Grüental

Re: [OpenLayers-Users] LayerSwitcher

2010-02-25 Thread Rahn Hanno (rahn)
; OpenLayers.Util.getElement('mapSwitcher').style.left = 5; you can see my side here: http://webgis.hsw.ch/GINES_V1.2/Start.php Greetings and a lot of thanks Hanno Rahn -- Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik ZHAW Zürcher Hochschule für

[OpenLayers-Users] LayerSwitcher

2010-02-24 Thread Rahn Hanno (rahn)
Hello list, Perhaps you can help me with another question. I try to make the layerswitcher more individual. First I want to show it at another place in an extra div and not at the right border. But I can't find where I have to do this. Then I want to change the color of the div. The darkblue

[OpenLayers-Users] Paneldiv

2010-02-19 Thread Rahn Hanno (rahn)
Hello list, I try to realise a paneldiv with buttons for the navigation. For example the zoom and pan and so on. I made it like this: var zoomBox = new OpenLayers.Control.ZoomBox({ title: Zoom In / Rechteckzoom }); var navHistory = new OpenLayers.Control.NavigationHistory();

Re: [OpenLayers-Users] Adding Legends in OpenLayers

2009-12-07 Thread Rahn Hanno (rahn)
hello, I made it like this. First I define a function: function toggleMe(a){ var e=document.getElementById(a); if(!e)return true; if(e.style.display==none){ e.style.display=block } else { e.style.display=none } return true; } Then you must create a div object where

[OpenLayers-Users] Change the style of scaletext

2009-11-30 Thread Rahn Hanno (rahn)
the K. Perhaps it is possible too to change the text. I think it is enough to write 1:500.000 without the k and without the scale = For your help a lot of thanks. Greetings Hanno Rahn -- Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik ZHAW Zürcher Hochschule für

[OpenLayers-Users] Save jpg from actual Mapview

2009-11-12 Thread Rahn Hanno (rahn)
Hello list, I have another question to you. Perhaps you can help me. I will have a simple imgage (jpg, png, gif, ...) from my mapview. I will have a button on my side and if the user presses this button you can save the actual mapview with all shown layers in the shown scale and so on as an

[OpenLayers-Users] Problem with LayerSwitcher

2009-11-02 Thread Rahn Hanno (rahn)
. Perhaps somebody has another idea and can help me. Greetings and a lot of thanks. Hanno Rahn -- Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik ZHAW Zürcher Hochschule für Angewandte Wissenschaften Umwelt und Natürliche Ressourcen Fachstelle

[OpenLayers-Users] OpenLayers and Tilecache doesn't work with mergeNewParams Parameter

2009-10-12 Thread Rahn Hanno (rahn)
=+jahr4+farbe=+farbe; wms.mergeNewParams({ SLD:sld_string}); Greetings Hanno Rahn -- Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik ZHAW Zürcher Hochschule für Angewandte Wissenschaften Umwelt und Natürliche Ressourcen Fachstelle Geoinformatik

[OpenLayers-Users] TileCache and Openlayers

2009-09-30 Thread Rahn Hanno (rahn)
you can give me a little tip. I don't know Why I have no map data. A lot of thanks Hanno Rahn -- Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik ZHAW Zürcher Hochschule für Angewandte Wissenschaften Umwelt und Natürliche Ressourcen Fachstelle

[OpenLayers-Users] Performance

2009-08-30 Thread Rahn Hanno (rahn)
://webgis.hsw.ch/GINES/Start.php Is it better to use tiles for this? Greetings Hanno Rahn -- Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik ZHAW Zürcher Hochschule für Angewandte Wissenschaften Umwelt und Natürliche Ressourcen Fachstelle Geoinformatik

[OpenLayers-Users] preload layers

2009-08-25 Thread Rahn Hanno (rahn)
Hello list, I have a little tricky question. Perhaps somebody can help me. I show a layer in my map. This layer shows polygons at a specific time. Now you can click a button and the next time will be shown in the map. You can change the time back of course, too. In my solution there are

[OpenLayers-Users] Scale text outside the map

2009-08-06 Thread Rahn Hanno (rahn)
. Greetings Hanno Rahn -- Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik ZHAW Zürcher Hochschule für Angewandte Wissenschaften Umwelt und Natürliche Ressourcen Fachstelle Geoinformatik Grüental, Postfach CH-8820 Wädenswil Tel +41 (0)58 934 5592 Fax

[OpenLayers-Users] ZoomBox Pan in two Mapdivs at the same time

2009-07-30 Thread Rahn Hanno (rahn)
. Sorry for my bad english and a lot of thanks for your help. Greetings Hanno Rahn -- Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik ZHAW Zürcher Hochschule für Angewandte Wissenschaften Umwelt und Natürliche Ressourcen Fachstelle Geoinformatik Grüental

[OpenLayers-Users] other images for zoom buttons

2009-07-30 Thread Rahn Hanno (rahn)
-- Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik ZHAW Zürcher Hochschule für Angewandte Wissenschaften Umwelt und Natürliche Ressourcen Fachstelle Geoinformatik Grüental, Postfach CH-8820 Wädenswil Tel +41 (0)58 934 5592 Fax +41 (0)58 934 5580 hanno.r...@zhaw.ch

[OpenLayers-Users] LayerSwitcher outside the map

2009-06-30 Thread Rahn Hanno (rahn)
Hello list, Perhaps somebody can help me. I try to realise the LayerSwitcher outside the map. I read the example layerswitcher. First I make my own div where I want to place the result. div class=mapSwitcher style=width:180; display:none; position:absolute; left:785; top:68;

[OpenLayers-Users] remove PanZoomBar

2009-05-28 Thread Rahn Hanno (rahn)
Hello List, Perhaps somebody can give me a tip. I have a problem with the ZoomBar and the PanBar in OpenLayers. If I add a map in my div object there are always the ZoomBar and the pan Buttons in the left upper side of the map as default. I will have this buttons outside the map. I try to

[OpenLayers-Users] ZoomToScale

2009-04-07 Thread Rahn Hanno (rahn)
Hello list, I have another question. I try to realise a textfield where I can type in the scale. I want to type a scale in a textbox or so and then the map should zoom to this scale. I try to make it with the function zoomToScale but I don't understand it. If I for example set

[OpenLayers-Users] GetLegendGraphic in div Object like layer switcher

2009-03-04 Thread Rahn Hanno (rahn)
-- Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik ZHAW Zürcher Hochschule für Angewandte Wissenschaften Umwelt und Natürliche Ressourcen Fachstelle Geoinformatik Grüental, Postfach CH-8820 Wädenswil Tel +41 (0)58 934 5592 Fax +41 (0)58 934 5580 hanno.r...@zhaw.ch

[OpenLayers-Users] ArcGIS Server 9.3 example code?

2009-03-04 Thread Rahn Hanno (rahn)
-- Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik ZHAW Zürcher Hochschule für Angewandte Wissenschaften Umwelt und Natürliche Ressourcen Fachstelle Geoinformatik Grüental, Postfach CH-8820 Wädenswil Tel +41 (0)58 934 5592 Fax +41 (0)58 934 5580 hanno.r...@zhaw.ch

Re: [OpenLayers-Users] Mouseover should show attributes from a database

2008-11-03 Thread Rahn Hanno (rahn)
. Greetings Hanno Rahn -- Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik ZHAW Zürcher Hochschule für Angewandte Wissenschaften Umwelt und Natürliche Ressourcen Fachstelle Geoinformatik Grüental, Postfach CH-8820 Wädenswil Tel +41 (0)58 934 5592 Fax +41

[OpenLayers-Users] dynamic sld/php file from UMN mapserver and Openlayers

2008-10-06 Thread Rahn Hanno (rahn)
. Perhaps somebody can help me to find the mistake? Thank you a lot for this. Greetings Hanno Rahn -- Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik ZHAW Zürcher Hochschule für Angewandte Wissenschaften Umwelt und Natürliche Ressourcen Fachstelle

[OpenLayers-Users] dynamic sld-files with dynamic class sizes

2008-09-29 Thread Rahn Hanno (rahn)
Hello List, I try to realise something like a dynamic sld file. I want to get the map in different colors for different indicators. The data for the indicators is in an database. The colorization should be in quantities. For example regions with a value between 1-10 should be red, with a

[OpenLayers-Users] SLD for Openlayers. Need some help.

2008-09-18 Thread Rahn Hanno (rahn)
Hello list, My english ist not very well but I will try it in English. :-) Perhaps somebody can help me. I try to use SLD Documents with OpenLayers. I have a WMS Polygon Layer in my page like this: div style=width:300; height:300; border:4px ridge silver; position:absolute; top:64;