]> git.openstreetmap.org Git - rails.git/commitdiff
Improve zoom level selection when invoking Potlatch on an object
authorTom Hughes <tom@compton.nu>
Tue, 3 Dec 2013 14:53:24 +0000 (14:53 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 3 Dec 2013 15:06:34 +0000 (15:06 +0000)
When invoking Potlatch on a node/way/relation object we should
normally have valid location information in the map parameters, so
use any zoom which is there if possible, otherwise fall back to an
object type specific default value.

Fixes #605.


No differences found