Re: [OpenLayers-Users] Modifiable Feature - a minimum area

2009-04-20 Thread Eric Lemoine
On Mon, Apr 20, 2009 at 9:41 AM, Chris Jones wrote: > > Thanks for your input Eric. Following your lead I've had a quick look at the > trunk, and there is also a sketchstarted\modified\complete which might be > what I'm looking for. > > Failing that, would it be possible to either use the mouse

Re: [OpenLayers-Users] Problems with ScaleLine Control

2009-04-20 Thread Gorka López Rivacoba
Firstly I thought that, but it clearly appears in EPSG:4326, 0,001m and 0,01ft in the scale bar 2009/4/20 Ian Turton > On Mon, Apr 20, 2009 at 3:35 AM, Gorka López Rivacoba > wrote: > > Hello, > > > > I have two similar applications, one in EPSG:23030 (ED50 / UTM zone 30N) > and > > the other i

[OpenLayers-Users] Getting tile position

2009-04-20 Thread timrobertson100
Hi, I am using a TMS layer, and have a mouse move event registered (I am simulating a hover effect). Can someone please tell me how I can go about getting the cursor position relative to a tile? I can't find anywhere in the API to get the tile position itself. Many thanks, Tim -- View this

Re: [OpenLayers-Users] RE : Measure Control - get distance on mouse move

2009-04-20 Thread Josh Rosenthal
Oops. After posting, I saw Chris' post about 2.8-rc1, and decided to take a look at the upcoming release. Needless to say, Handler.Path has changed, and while the code I posted works in 2.7, it fails in 2.8 rc1 Not a great solution. I'm still trying to puzzle through the changes in 2.8 to se

Re: [OpenLayers-Users] RE : Measure Control - get distance on mouse move

2009-04-20 Thread Josh Rosenthal
Hi Ryan, I realize its a bit late, but I ran into the same need as you've described. If you've (or anyone else) has solved it, I'd be curious to see your solution if you feel like sharing. My solution is to play with the handlerOptions to overwrite the modifyFeature method of the path handler. F

Re: [OpenLayers-Users] vector popups misaligned after resize & switching of google layers (with fix for Ticket #1797 applied)

2009-04-20 Thread RFeagin
My vector points are staying aligned with the baselayer. I'm only having a problem with the popup on the first hover after the resize and layer switch. Vivien Deparday wrote: > > Hi, > I encounter a similar behaviour. I've reported it at the end of the > Ticket #1797. > So far, I didn't have

[OpenLayers-Users] Measure Control - get distance on mouse move - part 2

2009-04-20 Thread pribram pribram
Hi, Is there anything new about measuring + getting distance on mousemove? http://n2.nabble.com/Measure-Control---get-distance-on-mouse-move-td2503580.html If there is a solution, please publish it. Thanks, Pribram ___ Users mailing list Users@openlayers

Re: [OpenLayers-Users] vector popups misaligned after resize & switching of google layers (with fix for Ticket #1797 applied)

2009-04-20 Thread Vivien Deparday
Hi, I encounter a similar behaviour. I've reported it at the end of the Ticket #1797. So far, I didn't have time to dig into the code to try to make a clean fix. I have made a very non-satisfactory makeshift fix which is to add : this.layer.map.moveTo(this.layer.map.getCenter()); at the line 36

Re: [OpenLayers-Users] OpenLayers.Layer.Vector.getDataExtent bug

2009-04-20 Thread Arnd Wippermann
Thanks, Changing from 2.7 Stable to OpenLayer 2.8 RC1 now it works. Arnd -Ursprüngliche Nachricht- Von: eric.lemo...@camptocamp.com [mailto:eric.lemo...@camptocamp.com] Gesendet: Sonntag, 19. April 2009 23:40 An: Arnd Wippermann Cc: users@openlayers.org Betreff: Re: [OpenLayers-Users

[OpenLayers-Users] vector popups misaligned after resize & switching of google layers (with fix for Ticket #1797 applied)

2009-04-20 Thread RFeagin
The google resizing and switching layers(Ticket #1797) has been a problem for me in one of my applications. I saw that 2.8 RC1 had a fix for it, so I grabbed the google.js from the 2.8 RC1 and tried using it with my 2.7 code. I didn't see anything in the changes that looked like it would cause a

Re: [OpenLayers-Users] Problems with ScaleLine Control

2009-04-20 Thread Ian Turton
On Mon, Apr 20, 2009 at 3:35 AM, Gorka López Rivacoba wrote: > Hello, > > I have two similar applications, one in EPSG:23030 (ED50 / UTM zone 30N) and > the other in EPSG:4326 (WGS 84) > > But when I put a ScaleLine control the displayed information of this control > in EPSG:4326 is not ok (the sc

Re: [OpenLayers-Users] OL display issues.

2009-04-20 Thread Julien-Samuel Lacroix
Hi, If your mapserver is working, then OL should have no trouble connecting to it with the layer object definition you psoecified in your first post. Try to use Firebug for Firefox [1] and grab the image URL (in the Net tab) that is sent to your mapserv and work from there. Julien [1] http://

[OpenLayers-Users] OpenLayers 2.8 Release Candidate 1

2009-04-20 Thread Christopher Schmidt
The OpenLayers Development Team is proud to announce the first release candidate of OpenLayers 2.8! As of 2.8-RC1, the OpenLayers 2.8 release closes 245 outstanding tickets, split nearly down the middle between bug fixes and new features. We invite you to help us test the 2.8 release candidate!

Re: [OpenLayers-Users] patch problem - saving rejects - isDrawn.patch

2009-04-20 Thread Christopher Schmidt
On Mon, Apr 20, 2009 at 04:31:45PM +0200, Elmar Kruithoff wrote: > Hi all > > > > I tried to patch Openlayers.Layer.Markers with following call (from > openlayers root directory, using PuTTY): This patch is included in OpenLayers trunk; I would recommend just using trunk if possible. > > >

[OpenLayers-Users] patch problem - saving rejects - isDrawn.patch

2009-04-20 Thread Elmar Kruithoff
Hi all I tried to patch Openlayers.Layer.Markers with following call (from openlayers root directory, using PuTTY): patch -p0 < isDrawn.patch And I get this error message: patching file tests/Layer/Markers.html Hunk #1 FAILED at 47. 1 out of 1 hunk FAILED -- saving rejects to file

Re: [OpenLayers-Users] OL display issues.

2009-04-20 Thread Julien-Samuel Lacroix
Hi, Try accessing the following URL with mapserver first like Andreas suggested. http://localhost/cgi-bin/mapserv?map=/home/mapdata/jerba.map&layers=satt&map_extent=629664.75+3694383.75+718556.25+3770763.75 Once you get it working, you can try with OpenLayers. You can probably get more help on

Re: [OpenLayers-Users] WMSCapabilities to retrieve the legend url

2009-04-20 Thread Linde Ackermans
Hi, I want to use this WMSCapabilities to retrieve the legend url of every layer to be able to build a legend ( our WMS server does not support GetLegendGraphic ... ) but I don't find how to use it. Is there a code example available ? Thanks. Linde Steve.Toutant wrote: > > Hi, > I got this err

Re: [OpenLayers-Users] Display problems when using openLayers with dhtmlxWindow

2009-04-20 Thread Christopher Schmidt
On Mon, Apr 20, 2009 at 06:02:07AM -0700, Derek Watling wrote: > > Are there any openLayers users that also use dhtmlxSuite ( > http://www.dhtmlx.com/ http://www.dhtmlx.com/ )? They are both great > products and while I have got them to work independently I am experiencing a > display issue when u

[OpenLayers-Users] Display problems when using openLayers with dhtmlxWindow

2009-04-20 Thread Derek Watling
Are there any openLayers users that also use dhtmlxSuite ( http://www.dhtmlx.com/ http://www.dhtmlx.com/ )? They are both great products and while I have got them to work independently I am experiencing a display issue when using openLayers and dhtmlxWindow on the same page. When I open a modal w

Re: [OpenLayers-Users] Map size without javascript

2009-04-20 Thread Ian Gibson
Thank you both for your help. This problem really frustrated me last week but, this morning I stumbled upon the following fix which wraps the map div in another div and seems to do the job... http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml";> minOp

Re: [OpenLayers-Users] Modifiable Feature - a minimum area

2009-04-20 Thread Chris Jones
Thanks for your input Eric. Following your lead I've had a quick look at the trunk, and there is also a sketchstarted\modified\complete which might be what I'm looking for. Failing that, would it be possible to either use the mouse handler or renderer to achieve the behaviour I'd like? Hi.

[OpenLayers-Users] Problems with ScaleLine Control

2009-04-20 Thread Gorka López Rivacoba
Hello, I have two similar applications, one in EPSG:23030 (ED50 / UTM zone 30N) and the other in EPSG:4326 (WGS 84) I defined a resolutions array for each application. These arrays are the following: - EPSG:23030 - resolutions = [5600,2800,1400,700,560,280,140,70,56,28,14,7,5.6,2