Re: [OpenLayers-Users] changing fonts in the layerswitcher

2009-09-10 Thread Lehtonen, Mika
Hi, I did some changes a while ago with the following style definition because I had too long layer names. I didn't have to mess up with the hardcode. Am I not understanding the question? .olControlLayerSwitcher { font-size: x-small !important; padding-right: 50

Re: [OpenLayers-Users] changing fonts in the layerswitcher

2009-09-10 Thread Andreas Hocevar
P Kishor wrote: > is there a way to change the fonts in the layerswitcher control short > of fiddling with the hard coded styles in LayerSwitcher.js > loadContents method? > Unfortulately not. But patches to move these style definitions to css are more than welcome. One hint though: the LayerSw

[OpenLayers-Users] changing fonts in the layerswitcher

2009-09-10 Thread P Kishor
is there a way to change the fonts in the layerswitcher control short of fiddling with the hard coded styles in LayerSwitcher.js loadContents method? loadContents: function() { //configure main div this.div.style.position = "absolute"; this.div.style.top = "25px";

Re: [OpenLayers-Users] Positioning the lat/long mouseposition display.

2009-09-10 Thread cgp
The displayClass of the lon/lat mouse position is "olControlMousePosition", so if you go to style.css (which should've been included in the .zip file) you can just change the "bottom" property to any value that fits your needs. Phil Scadden wrote: > > At moment, it displays in lower right of m

Re: [OpenLayers-Users] HELP!!! How implement Filter in WMS Layer

2009-09-10 Thread Andreas Hocevar
fsalas wrote: > > In this time , I have openlayer 2.8 and be studying the filter.html > example. > > my question is > > 1. ¿ How I can use the WMS Layer with filter? > If you want to do it the OGC way, you have to add a SLD_BODY param with an SLD that contains the filter and the symbology you wa

Re: [OpenLayers-Users] Control documentation incomplete, inconsistent and misleading

2009-09-10 Thread Andreas Hocevar
P Kishor wrote: > On Thu, Sep 10, 2009 at 1:21 PM, Andreas Hocevar wrote: >> So if you are still willing to contribute, a patch for that would be nice. >> If you do not want to follow the procedure on >> http://trac.openlayers.org/wiki/HowToContribute, then please let me know >> what you would lik

[OpenLayers-Users] How to change the style of the "cursor" when dragging/resizing/reshaping/rotating?

2009-09-10 Thread cgp
I don't know what it's called, but you know when you click on a polygon (for example) there is a point that appears in the middle of it for you to click and drag? And then for resize/rotate, there is that same point that appears on the polygon's bottom-right corner that you can use to drag around

Re: [OpenLayers-Users] Control documentation incomplete, inconsistent and misleading

2009-09-10 Thread P Kishor
On Thu, Sep 10, 2009 at 1:21 PM, Andreas Hocevar wrote: > So if you are still willing to contribute, a patch for that would be nice. > If you do not want to follow the procedure on > http://trac.openlayers.org/wiki/HowToContribute, then please let me know > what you would like to read in the docs

Re: [OpenLayers-Users] Control documentation incomplete, inconsistent and misleading

2009-09-10 Thread Andreas Hocevar
P Kishor wrote: > Per the docs for Control > > "Controls by default are added to the map they are contained within > however it is possible to add a control to an external div by passing > the div in the options parameter." > > which is followed by the example > > "var control = new OpenLayers.Cont

Re: [OpenLayers-Users] attaching a control to an external div

2009-09-10 Thread Andreas Hocevar
Hey- P Kishor wrote: > Per the docs for Control > > "Controls by default are added to the map they are contained within > however it is possible to add a control to an external div by passing > the div in the options parameter." > > which seems to be completely not like the source code at > http:/

Re: [OpenLayers-Users] Default tile image whilst loading layer

2009-09-10 Thread Andreas Hocevar
Darren Karstens wrote: > Hi, > The layers of my map load quite slowly and so I need a way of informing my > users that the map is still loading. I have had a look at the LoadingPanel > addon which looks ok but I was wondering if there is a way of having a > loading message on the blank tiles that h

Re: [OpenLayers-Users] Has anyone got WFS-T working with SDE files ?

2009-09-10 Thread cgp
One more thing, I tried using the Sample Requests page in GeoServer and I got different responses depending on whether or not I append "?strict=true" to the URL. POST: (with "?strict=true") http://www.opengis.net/wfs"; service="WFS" version="1.1.0" xsi:schemaLocation="http://www.opengis.net/wf

Re: [OpenLayers-Users] using openlayers as map interfacefordownloading pdf maps

2009-09-10 Thread Arnd Wippermann
Hi, Set extractStyles to false and add the following style to your layer after layer creation. It should also be possible to declare the style in the layer constructor. var styleMapLabel = new OpenLayers.StyleMap({'default':{ strokeColor: "#00FF00", strokeOpacity: 1, strokeWidth: 3,

Re: [OpenLayers-Users] OpenLayers.js with #1836 patch

2009-09-10 Thread Philip Bruvoll
I had a suspicion that IE didn't like floating point numbers in this case. Multiplying with 10 fixes the symbol defined by [0.5,0, 10,8, 0,8, 0.5,0] But when I use the definition [2,0, 4,5, 0,5, 2,0] which only contains integers, IE will render it incorrectly. Strangely, multiplying this definitio

Re: [OpenLayers-Users] transparent param not sent to WMS service

2009-09-10 Thread myOpenLayersUName
The suggested fixes to my code work and OpenLayers is indeed accepting string "true" and boolean true to the transparent parameter. Thank you all very much. -- View this message in context: http://n2.nabble.com/transparent-param-not-sent-to-WMS-service-tp3615475p3617464.html Sent from the Ope

Re: [OpenLayers-Users] Control documentation incomplete, inconsistent and misleading

2009-09-10 Thread P Kishor
On Thu, Sep 10, 2009 at 8:14 AM, Christopher Schmidt wrote: > On Wed, Sep 09, 2009 at 10:59:34PM -0500, P Kishor wrote: >> Per the docs for Control >> >> "Controls by default are added to the map they are contained within >> however it is possible to add a control to an external div by passing >>

Re: [OpenLayers-Users] get the values from controls

2009-09-10 Thread Christopher Schmidt
On Thu, Sep 10, 2009 at 08:26:27AM -0500, sunny74 wrote: > > Dear Friends, > > I want to have the lonlat from the mouseover event. > For this I have written the following code for trapping the event, > > map.events.register("mouseover", map, function(e) { > var lonlat1 = map.getLon

[OpenLayers-Users] get the values from controls

2009-09-10 Thread sunny74
Dear Friends, I want to have the lonlat from the mouseover event. For this I have written the following code for trapping the event, map.events.register("mouseover", map, function(e) { var lonlat1 = map.getLonLatFromViewPortPx(e.xy); //alert(lonlat1); var

Re: [OpenLayers-Users] 500 Unexpected Error

2009-09-10 Thread Christopher Schmidt
On Thu, Sep 10, 2009 at 10:12:00AM +0200, seis4...@web.de wrote: > When I query an object on my new server I get the following error messages: > In a pop up window: > "Unhandled request return Unexpected Error." > In Firebug: > "500 Unexpected Error" (after 3m 9s) This is not an OpenLayers problem

Re: [OpenLayers-Users] Control documentation incomplete, inconsistent and misleading

2009-09-10 Thread Christopher Schmidt
On Wed, Sep 09, 2009 at 10:59:34PM -0500, P Kishor wrote: > Per the docs for Control > > "Controls by default are added to the map they are contained within > however it is possible to add a control to an external div by passing > the div in the options parameter." > > which is followed by the ex

Re: [OpenLayers-Users] Positioning the lat/long mouseposition display.

2009-09-10 Thread Christopher Schmidt
On Thu, Sep 10, 2009 at 02:09:30PM +1200, Phil Scadden wrote: > At moment, it displays in lower right of map. However, if you use google > layers , the copyright notice tend to obscure it unless well zoomed in. > How do you move it to say top right? I can see how to add to an external > div, but

[OpenLayers-Users] HELP!!! How implement Filter in WMS Layer

2009-09-10 Thread fsalas
In this time , I have openlayer 2.8 and be studying the filter.html example. my question is 1. ¿ How I can use the WMS Layer with filter? Best Regards ___ Dirección de Comunicaciones Grupo Empresarial GEOCUBA Este mensaje esta libre de virus. Revisado por Kas

[OpenLayers-Users] HELP!!!! One problem apply to WMS layer a SLD Style

2009-09-10 Thread fsalas
In this time , I have openlayer 2.8 and be studying the SLD.html example but it's work with XLM file. my question is 1. ¿ How I can use the WMS Layer like this example? ¿ This is incorrect? Best Regards , Salas ___ Dirección de Comunicaciones Grupo Empresarial

Re: [OpenLayers-Users] Snapcontrol and others

2009-09-10 Thread Dipl. Inf. Carsten Eider
Hi list, i debugged a bit deeper into my problem using this code this.controls['snap'].setLayer(this.activeLayer); this.map.addControl(this.controls['snap']); //this.controls['snap'].setLayer(this.activeLayer); this.controls['snap'].activate(); co

Re: [OpenLayers-Users] Bug in LoadingPanel + testcase

2009-09-10 Thread manel.clos
Hi, Doing the modification to MouseWheel.js solves the problem. I'll appreciate if you can CC me when a final solution is found. Thanks in advance! -- Manel Clos -Mensaje original- De: Bart van den Eijnden (OSGIS) [mailto:bart...@osgis.nl] Enviado el: miércoles, 09 de septiembre de 20

[OpenLayers-Users] 500 Unexpected Error

2009-09-10 Thread seis4web
Hi list, I've set up a "new" server for my OpenLayers application using the FGS project (UMN MapServer 5.4, OpenLayers 2.8, PostgreSQL/PostGIS). On the "old" server my application is working fine and I can query the objects displayed on my map (WMS). The result of an GetFeatureInfo-Request is d

Re: [OpenLayers-Users] Support for Cursors?

2009-09-10 Thread bartvde
Hi, just add cursor: default to the css class of the panzoombar in your css. .olControlPanZoomBar { cursor: default; } Best regards, Bart > > Hello, > > Thanks for this tip. I changed the cursor for panning as mentionned below. > But can you also please tell me how to get the plain arrow cur

Re: [OpenLayers-Users] Support for Cursors?

2009-09-10 Thread regioGIS
Hello, Thanks for this tip. I changed the cursor for panning as mentionned below. But can you also please tell me how to get the plain arrow cursor back when pointing/clicking at the standard OL navigation panel ( f.i. the scale-slider )? Because, of course, it keeps the last cursor changed to, b

Re: [OpenLayers-Users] transparent param not sent to WMS service

2009-09-10 Thread regioGIS
Hello, I works for me when using the transparent as a property, so like this : var wmslayer = new OpenLayers.Layer.WMS("layername","http://...";, { layers: 'blabla', transparent: "true",...},

Re: [OpenLayers-Users] using openlayers as map interface fordownloading pdf maps

2009-09-10 Thread maning sambale
Hi, In doing this webmap I have sample here: http://forest2002.essc.org.ph/test_map/ What I want next is to: 1. show kml layer label in the map for each polygon (mapsheet name and number) 2. highlight color for the selected feature, either this one: http://openlayers.org/dev/examples/highlight-fe