Re: [OpenLayers-Users] Adding directional arrows on lines.... possible???

2008-10-27 Thread Jerome Freyre
Hello, I'm trying to do the same thing with my features but actually, I do not found anything... I thought about the creation of a gradient style but it seems impossible!? The best solution I found is the add of marker at the start and/or the end of the features. plen wrote: Hello, I

[OpenLayers-Users] Cannot deactivate OpenLayers.Control.PanZoomBar

2008-10-27 Thread Geoflo
Hallo, I'd like to freeze my OpenLayers.Map. I thought, that if I deactivate the navigation and the panzoombar-controls, I would get the wished result. Yet, after deactivating the panzoombar control, I can still use it. Thanks for your help. Florian -- View this message in context:

Re: [OpenLayers-Users] Cannot deactivate OpenLayers.Control.PanZoomBar

2008-10-27 Thread bartvde
PanZoomBar has no activate/deactivate. The only thing I can think off (but is kind of hacky) is to make sure the events are not registered on the panzoombar, something like (ctrl is your PanZoomBar control): ctrl.sliderEvents.destroy(); ctrl.sliderEvents = null;

[OpenLayers-Users] Vector feature attribute name

2008-10-27 Thread Alexandre Dube
Hi list, I have a little problem with attribute names for vector features. In my application, I have 2 data sources ( shapefiles and postGIS ) that share the exact same kind of data. The only difference is the attribute names, which are respectively in uppercase and lowercase ( ex. :

Re: [OpenLayers-Users] Vector feature attribute name

2008-10-27 Thread bartvde
I assume you are using Mapserver? So why not create alias-es on your WFS? gml_res_co_reg_alias RES_CO_REG Best regards, Bart Hi list, I have a little problem with attribute names for vector features. In my application, I have 2 data sources ( shapefiles and postGIS ) that share the

[OpenLayers-Users] mapserver layer with bad rendering

2008-10-27 Thread Didrik Pinte
Hi, I've setted up an OpenLayers client connected on a WMS MapServer. It works fine except with a raster layer. When calling mapserver directly, the raster layer is rendered fine : http://public.dpinte.fastmail.fm/downloads/mapserver.png When rendered using OpenLayers, they are some dirty

[OpenLayers-Users] Loading Panel Control

2008-10-27 Thread Jacolin Yves
Hi, Reading this page [1] it seems that a loading panel [3] exists in OL, but the API documentation doesn't display the LoadingPanel Control [2]. If I try to use it, I get an error: OpenLayers.Control.LoadingPanel is not a constructor Am I wrong? Thanks, Y. [1]

Re: [OpenLayers-Users] Loading Panel Control

2008-10-27 Thread bartvde
Hi Yves, LoadingPanel is an addin, so it is not by default included in OpenLayers. Please follow the Installation and Use section on the Wiki: http://trac.openlayers.org/wiki/Addins/LoadingPanel Best regards, Bart Hi, Reading this page [1] it seems that a loading panel [3] exists in OL,

[OpenLayers-Users] Polygon Cluster

2008-10-27 Thread Jacolin Yves
Hi, I am still working on the cluster strategy for my vector layer. I am testing cluster on my polygone layers, but I never see my polygon, always cluster point are displayed (see [2] for a link to a demo). Tim Schaub wrote in the OL blog [1]: This works for features with all geometry types

Re: [OpenLayers-Users] Several selectFeature control

2008-10-27 Thread Jacolin Yves
Thanks Christopher, But I would like to select the polygon **and** point features at the same time. I am working on cluster polygon, which was the purpose of what we wanted to get at the begining of the developments of our application, ie see point for some zoom level then display polygon

Re: [OpenLayers-Users] Loading Panel Control

2008-10-27 Thread Jacolin Yves
Le Monday 27 October 2008 15:54:02 [EMAIL PROTECTED], vous avez écrit : Hi Yves, LoadingPanel is an addin, so it is not by default included in OpenLayers. Please follow the Installation and Use section on the Wiki: http://trac.openlayers.org/wiki/Addins/LoadingPanel Best regards, Bart

[OpenLayers-Users] WFS Layers, Markers, Popups

2008-10-27 Thread Indika Tantrigoda
Hi, I have a wfs layer that displays points on my map, using markers. I would like to have a popup that displays data regarding the point which would get activated for a click event. I tried the following but, it seems to return all the data regarding the wfs layer, not the single point,

[OpenLayers-Users] OL Identify Control

2008-10-27 Thread Alexander Petkov
Would it be possible to include the Identify Control as seen on the example below with the OpenLayers tarball? http://dev.openlayers.org/sandbox/enjahova/openlayers/examples/more-controls.html I found the capability of user's control-enabled, custom identify function quite useful. Alex

Re: [OpenLayers-Users] Polygon Cluster

2008-10-27 Thread Jerome Freyre
It's normal because the cluster strategy replace your features with points. The main goal for a cluster strategy is to regroup features that are close and make the map the more readable. And with the cluster strategy you can change the radius of the clustered points like that : // Définit les

Re: [OpenLayers-Users] Polygon Cluster

2008-10-27 Thread Jacolin Yves
Le Monday 27 October 2008 16:42:39 Jerome Freyre, vous avez écrit : It's normal because the cluster strategy replace your features with points. The main goal for a cluster strategy is to regroup features that are close and make the map the more readable. And with the cluster strategy you can

Re: [OpenLayers-Users] Polygon Cluster

2008-10-27 Thread Jacolin Yves
Hello, Le Monday 27 October 2008 17:15:24 Jerome Freyre, vous avez écrit : It's Jerome ;) oupss, sorry Jerome! Unfortunaly not... All the feature added in a Layer that use the cluster strategy will be represented as a point. Ok I undestand now :) If at a certain level of zoom you want to

Re: [OpenLayers-Users] Polygon Cluster

2008-10-27 Thread Jacolin Yves
Le Monday 27 October 2008 17:28:04 Jerome Freyre, vous avez écrit : Maybe If I found a solution to uncluster some features a zoom level, I mail you ;) Thanks ! Y. -- Yves Jacolin --- http://softlibre.gloobe.org ___ Users mailing list

Re: [OpenLayers-Users] mapserver layer with bad rendering

2008-10-27 Thread Arnd Wippermann
You have to change the parameter for the image format. I think, it has to be format: png24. Calling MapServer directly delivers the image in the default format, but in the OpenLayers Request you get the image in the format you have choosen. Arnd Wippermann -Ursprüngliche Nachricht- Von:

Re: [OpenLayers-Users] WFS Layers, Markers, Popups

2008-10-27 Thread Lehtonen, Mika
Hi Indika, maybe you can get something out of this code of mine. I can explain it better later on when I have better time. BTW: hiiri is a mouse in Finnish ;-) cheers, mika map.events.register('click', null, function (e) { OpenLayers.Util.getElement('nodelist').innerHTML =

Re: [OpenLayers-Users] WFS Layers, Markers, Popups

2008-10-27 Thread Arnd Wippermann
you can use a select control for the wfs layer. http://openlayers.org/dev/examples/select-feature-openpopup.html If you have load the wfs layer with extractAttributes: true, then your wfs data are saved in the attributes of the features. Arnd Wippermann _ Von: [EMAIL PROTECTED]

Re: [OpenLayers-Users] mapserver layer with bad rendering

2008-10-27 Thread Didrik Pinte
On Mon, 2008-10-27 at 17:47 +0100, Arnd Wippermann wrote: You have to change the parameter for the image format. I think, it has to be format: png24. Calling MapServer directly delivers the image in the default format, but in the OpenLayers Request you get the image in the format you have

Re: [OpenLayers-Users] Several selectFeature control

2008-10-27 Thread Eric Lemoine
Yves. You have to have one single vector layer for feature selection to work as you expect it to work. So try adding your polygons and points to the same layer. There's some plan to make multi-layer feature selection work, by implementing a renderer layer mother of every vector layer, but we're

[OpenLayers-Users] [SOLVED] Re: mapserver layer with bad rendering

2008-10-27 Thread Didrik Pinte
Hi Arnd, and list, The tip you suggest did not make it but ... it was very close. I used a layer defintion with : { map: '/var/data/wms.map', transparent: 'false', layers: 'ortho', format:

[OpenLayers-Users] Automatically Starting Line Drawing

2008-10-27 Thread dizzle
I have markers on a map, and when a marker is selected a popup opens with a button. When that button is clicked, a line DrawFeature is activated. I was wondering if it was possible to have the first point in the line automatically clicked where the original marker's location is. The point of

[OpenLayers-Users] Multiple labels on the same polygon

2008-10-27 Thread Lehtonen, Mika
Hi, I am trying to do some labels on polygons which are in an overlay layer on top of Google Map base layer. The polygon data is served through WMS (Geoserver). Labels are produced in GeoServer using its own style definition (TextSymbolizer). The problem is that larger polygons get more than

Re: [OpenLayers-Users] WFS Layers, Markers, Popups

2008-10-27 Thread Indika Tantrigoda
Thanks for the reply. It seems that when I click within the marker, I get different lon, lat values. Is it necessary to bind the markers to something ? Also with the extractAttributes:true, how can I access the attributes of the feature ? Regards, Indika 2008/10/27 Arnd Wippermann [EMAIL

Re: [OpenLayers-Users] Polygon Cluster

2008-10-27 Thread Tim Schaub
Hey- Jacolin Yves wrote: Le Monday 27 October 2008 17:28:04 Jerome Freyre, vous avez écrit : Maybe If I found a solution to uncluster some features a zoom level, I mail you ;) It would be a pretty trivial patch to add an option to the strategy that would cause the real feature to get added

Re: [OpenLayers-Users] OpenLayers.Request POST and IE 6/7 issues

2008-10-27 Thread Tim Schaub
Hey- Ian wrote: I am using the print map code from the wiki and opening the printed image in a new browser window (for testing I am just opening a Blackle page): new OpenLayers.Request.issue({method:'POST', url:printURL, params:{width:size.w, height:size.h, tiles:tiles_json}, callback:

Re: [OpenLayers-Users] OpenLayers.Request POST and IE 6/7 issues

2008-10-27 Thread Zac Spitzer
might also be IE's finicky old caching, try adding a random number to the request string z On Tue, Oct 28, 2008 at 3:24 PM, Tim Schaub [EMAIL PROTECTED] wrote: Hey- Ian wrote: I am using the print map code from the wiki and opening the printed image in a new browser window (for testing I am

Re: [OpenLayers-Users] Multiple labels on the same polygon

2008-10-27 Thread Tim Schaub
Hey- Lehtonen, Mika wrote: Hi, I am trying to do some labels on polygons which are in an overlay layer on top of Google Map base layer. The polygon data is served through WMS (Geoserver). Labels are produced in GeoServer using its own style definition (TextSymbolizer). The problem is

Re: [OpenLayers-Users] Automatically Starting Line Drawing

2008-10-27 Thread Tim Schaub
Hey- dizzle wrote: I have markers on a map, and when a marker is selected a popup opens with a button. When that button is clicked, a line DrawFeature is activated. I was wondering if it was possible to have the first point in the line automatically clicked where the original marker's