comparison flys-artifacts/src/main/java/de/intevation/flys/utils/ThemeUtil.java @ 3098:1d79c85bd8c2

Line labels are not visible until the option is set by the user (or configured in a theme). flys-artifacts/trunk@4697 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 19 Jun 2012 09:57:41 +0000
parents 22def36d37b7
children 74c974b10c75
comparison
equal deleted inserted replaced
3097:c041944a7f74 3098:1d79c85bd8c2
316 * Parses the attribute 'showlinelabel', defaults to true. 316 * Parses the attribute 'showlinelabel', defaults to true.
317 * @param theme The theme. 317 * @param theme The theme.
318 */ 318 */
319 public static boolean parseShowLineLabel(Document theme) { 319 public static boolean parseShowLineLabel(Document theme) {
320 String show = XMLUtils.xpathString(theme, XPATH_SHOW_LINE_LABEL, null); 320 String show = XMLUtils.xpathString(theme, XPATH_SHOW_LINE_LABEL, null);
321 return parseBoolean(show, true); 321 return parseBoolean(show, false);
322 } 322 }
323 323
324 /** 324 /**
325 * Parses text color. 325 * Parses text color.
326 * @param theme The theme. 326 * @param theme The theme.

http://dive4elements.wald.intevation.org