[OpenLayers-Users] measure control...

David Hollema dhollema at UnitedPower.com
Fri Apr 3 14:38:47 EDT 2009


That worked, thanks.  Where can I get a comprehensive list of all
options for constructors, etc?  I don't see it in the class
documentation.

David A. Hollema
GIS Analyst
 
United Power, Inc.

-----Original Message-----
From: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org]
On Behalf Of Bart van den Eijnden (OSGIS)
Sent: Friday, April 03, 2009 10:47 AM
To: David Hollema
Cc: users at openlayers.org
Subject: Re: [OpenLayers-Users] measure control...

Hi,

try displaySystem: 'english' in the constructor options.

Best regards,
Bart

David Hollema wrote:
>
> My map is in units of feet.  My measure control returns units of 
> meters.  Is there a way to specify what units the measure control 
> returns?  I tried it in the constructor options below but it still 
> returns units of meters.
>
>  
>
> var measureControl = new 
> OpenLayers.Control.Measure(OpenLayers.Handler.Path, {title:'Measure 
> height', units:'ft'});
>
>                                                                 
> measureControl.events.on({"measure":handleMeasurements, 
> "measurepartial":handleMeasurements});
>
>  
>
>  
>
> David A. Hollema
>
> GIS Analyst
>
>  
>
> United Power, Inc.
>
>
------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>   


-- 
Bart van den Eijnden
OSGIS, Open Source GIS
bartvde at osgis.nl
http://www.osgis.nl

_______________________________________________
Users mailing list
Users at openlayers.org
http://openlayers.org/mailman/listinfo/users



More information about the Users mailing list