[OpenLayers-Users] measure control...

Bart van den Eijnden (OSGIS) bartvde at osgis.nl
Fri Apr 3 12:46:46 EDT 2009


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




More information about the Users mailing list