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: [email protected] [mailto:[email protected]] On Behalf Of Bart van den Eijnden (OSGIS) Sent: Friday, April 03, 2009 10:47 AM To: David Hollema Cc: [email protected] 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 > [email protected] > http://openlayers.org/mailman/listinfo/users > -- Bart van den Eijnden OSGIS, Open Source GIS [email protected] http://www.osgis.nl _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
