]> git.openstreetmap.org Git - rails.git/commit
Handle large bounding box changesets better
authorTom Hughes <tom@compton.nu>
Fri, 13 May 2011 16:27:12 +0000 (17:27 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 17 May 2011 23:36:02 +0000 (00:36 +0100)
commitbb2c0c76ae8b85621c71d2d26e019a1871b39d50
tree42b518d42765039309a89f164f82b8476ac00c21
parentc4d0b049eeda5720084ed9801fd9d302d4992279
Handle large bounding box changesets better

If the bounding box of a changeset is much larger than the map then
there seem to be problems with OL not rendering the feature correctly
so reduce the highlight to just be the extent of the map plus a small
margin in that case.
app/views/changeset/_map.html.erb