[OpenLayers-Users] measure control...

Bart van den Eijnden (OSGIS) bartvde at osgis.nl
Sat Apr 4 08:45:15 EDT 2009


Hi,

you can find it here:

http://dev.openlayers.org/docs/files/OpenLayers/Control/Measure-js.html

Best regards,
Bart

David Hollema wrote:
> 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




More information about the Users mailing list