OpenLayers Geodesic Measurement & ScaleLine

Tests geodesic measurement of distances and areas against a geodesic ScaleLine.

Zoom in so the ScaleLine shows units in the range of 10-100 km. Measure the length of the ScaleLine. The result should be approximately the same as the distance printed on the ScaleLine.

Zoom out so the ScaleLine shows units in the range of 100-500 km. Drag the map to the South or North and see how the ScaleLine length changes.