For a more accurate scale line, include proj4js (if you haven't
already) and configure the ScaleLine control with geodesic: true.
Units should always be the units for the SRS, and
OpenLayers.INCHES_PER_UNIT should not be modified.

Andreas.

On Wed, May 23, 2012 at 6:40 PM, GeoGEOrge <[email protected]> wrote:
> I found I needed two things to make my ScaleLine control show up without NaN
> in EPSG:2249:
> units: "ft",
> OpenLayers.INCHES_PER_UNIT.value=12;
>
> I had been using units: "feet" which did not seem to cause any problems, but
> seems to be incompatible with ScaleLine
>
> --
> View this message in context: 
> http://osgeo-org.1560.n6.nabble.com/Scaleline-in-State-Plane-Projection-tp4963568p4976441.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to