Interactive interface for browsing global, full-resolution satellite imagery
fix placement of category label #158
Benjaminb6ce89567935
diff --git a/web/js/map/wv.map.runningdata.js b/web/js/map/wv.map.runningdata.jsindex da09cfa83..e64e3fe9e 100644--- a/web/js/map/wv.map.runningdata.js+++ b/web/js/map/wv.map.runningdata.js@@ -368,8 +368,9 @@ wv.map.runningdata = wv.map.runningdata || function(models) {$labelWidth = wv.util.getTextWidth(data.label, 'Lucida Sans');location = ((marginLeft + squareWidth) * data.index);- labelMargin = self.getLabelMarginLeft($labelWidth, $caseWidth, location);-+ if(location < 5) {+ location = 5;+ }$paletteLabel.attr('style', 'left:' + Math.round(location) + 'px;');$categoryPaletteCase.addClass('wv-running');$categoryPaletteCase.find('.wv-active').removeClass('wv-active');