[openstreetmap-website] Port to Leaflet (#121)
Tom Hughes
notifications at github.com
Sat Nov 3 16:14:03 GMT 2012
> @@ -1,265 +1,204 @@
> -var epsg4326 = new OpenLayers.Projection("EPSG:4326");
> +// Leaflet extensions
> +L.LatLngBounds.include({
I have to say I'm not a big fan of injecting code into existing Leaflet classes like this - is there any interest in taking any of these upstream @mourner?
Obviously things like toBBOX are probably a bit too specialised for that, but maybe they should just be separate functions?
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/121/files#r2023609
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20121103/bae5b969/attachment.html>
More information about the rails-dev
mailing list