Re: [OpenLayers-Users] geometry.getLength() returns what format

2008-04-09 Thread Pierre GIRAUD
> > Actually, I'm using it in 2.6 RC1, and it's working well. And since this > feature is provided by a single external js file > (Openlayers/Control/Measure.js), I think that will be easy to put this as an > openlayers addin. There's no need to change other openlayers files, except > the "ope

Re: [OpenLayers-Users] geometry.getLength() returns what format

2008-04-08 Thread Pedro Simonetti
Pierre GIRAUD wrote: > > The reason why you were advised not to use this code in a production > environnement is probably because it comes from a sandbox. > As you probably already know, sandboxes are there to let developers > play with OpenLayers code and new features. > > That said, the consi

Re: [OpenLayers-Users] geometry.getLength() returns what format

2008-04-08 Thread Pierre GIRAUD
The reason why you were advised not to use this code in a production environnement is probably because it comes from a sandbox. As you probably already know, sandboxes are there to let developers play with OpenLayers code and new features. That said, the considered code may still need work, or may

Re: [OpenLayers-Users] geometry.getLength() returns what format

2008-04-07 Thread Pedro Simonetti
I've mistyped the question. What I supposed to ask is: What's the problem in using this IN a production environment? Does anybody has another better solution to point me out? Pedro Simonetti wrote: > > Dear Developers, > > I'm considering using the following code in an production environment,

Re: [OpenLayers-Users] geometry.getLength() returns what format

2008-04-07 Thread Pedro Simonetti
Dear Developers, I'm considering using the following code in an production environment, but I read in this thread, that this shouldn't be used in production environments, because isn't stable enought. I've researched about measure tools, and I saw many differents attempts of implementations, but

Re: [OpenLayers-Users] geometry.getLength() returns what format

2007-12-10 Thread Andrew de klerk
Tim (or anyone else) understanding that your code is still in test mode etc, I am trying to implement your measure control into a panel toolbar, but am battling to translate your example to what i need. this is what I have so far: var mt = new OpenLayers.Control.Measure(OpenLayers.Handler.Path,

Re: [OpenLayers-Users] geometry.getLength() returns what format

2007-09-11 Thread Tim Schaub
Chris Hardin wrote: > What does the persist options indicate for a handler option?? That persist option on the handlers allow the drawn feature to stick around until another one is drawn or the handler is deactivated. Note that my sandbox work is not to be used in production environments, not t

Re: [OpenLayers-Users] geometry.getLength() returns what format

2007-09-06 Thread Chris Hardin
What does the persist options indicate for a handler option?? On 9/5/07, Christopher Schmidt <[EMAIL PROTECTED]> wrote: > On Wed, Sep 05, 2007 at 02:00:49PM -0500, Chris Hardin wrote: > > What does getLength() on the geometry object? Is this measurement in > > degrees? I need to convert to mileag

Re: [OpenLayers-Users] geometry.getLength() returns what format

2007-09-05 Thread Christopher Schmidt
On Wed, Sep 05, 2007 at 02:00:49PM -0500, Chris Hardin wrote: > What does getLength() on the geometry object? Is this measurement in > degrees? I need to convert to mileage or Kilometers. This measurement is in map units. If you want it in miles, you're going to want to look at: http://dev.openla

[OpenLayers-Users] geometry.getLength() returns what format

2007-09-05 Thread Chris Hardin
What does getLength() on the geometry object? Is this measurement in degrees? I need to convert to mileage or Kilometers. ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users