This new control plots a line indicating the current scale, similar to that displayed by Google Maps.
Two sets of units are supported (typically representing metric & imperial), at two resolutions (such as meters and kilometres).
The attached patch records the following:
- a modification to the list-tests.html file to include the scaleLine test file
- a modification to the default css stylesheet, to provide default formatting for the new control's DIV
- a modification to the default css stylesheet to move the overview map down a little - to make space for the new control
- a modification to the controls.html demo html page that enlarges the plot, demonstrating the new control a little more clearly
- a modification to the controls.html demo html page to include both the scale and scaleLine controls
Also included are the file for the new control and it's test-file.