rob-murray / os-leaflet

A Leafletjs TileLayer using Ordnance Survey OpenSpace web map service
http://rob-murray.github.io/os-leaflet/
MIT License
24 stars 8 forks source link

Refactor; move CRS implementation out of client code #3

Closed rob-murray closed 9 years ago

rob-murray commented 10 years ago

Developers should not have to paste in the CRS implementation into their code; messy and error prone - move it out.

pseudo code example


var osMap = L.OS.Map.getOSMap(); //map with osgb36 projection

osMap.setView([x,y], 3);
rob-murray commented 9 years ago

Yeah good to me.