diff --git a/source/Ox.UI/js/Map/Ox.Map.js b/source/Ox.UI/js/Map/Ox.Map.js index 24ee7860..416c2f76 100644 --- a/source/Ox.UI/js/Map/Ox.Map.js +++ b/source/Ox.UI/js/Map/Ox.Map.js @@ -716,9 +716,9 @@ Ox.Map = function(options, self) { self.places.sort(function(a, b) { var sort = { a: a.selected ? Infinity : - bounds.contains(a.center) ? a.size : -Infinity, + bounds.contains(a.center) ? a.area : -Infinity, b: b.selected ? Infinity : - bounds.contains(b.center) ? b.size : -Infinity, + bounds.contains(b.center) ? b.area : -Infinity, }; return sort.b - sort.a; }).forEach(function(place, i) {