]> 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>
Fri, 13 May 2011 16:27:12 +0000 (17:27 +0100)
commite120e59fc0dc6c4a2a09ea8a068b901a8c6ac256
tree84a3d0564b8bbd87c6ceec4c6ccb3ff96cb8e5ff
parentdb9420ba57478114090806f8b92c48f528eae31f
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