block by emacgillavry 1a654b76d35deceb9bec

Scale bar for custom projections

Full Screen

This example shows how to use the popular Leaflet.js v.1.0.0 beta 2 interactive mapping library with OGC-compliant geographic web service (in this case TMS and WMS) that come in the Dutch reference system: Rijksdriehoekstelsel (RD), Amersfoort New (EPSG:28992).

The Statistics Netherlands have calculated spatial statistics to a 100 meter grid. This is used as a guide to determine the accuracy of the scale bar.

Cheers,

Edward @emacgillavry

index.html

main.css

main.js