comparison src/java/de/intevation/mxd/reader/MapReader.java @ 317:5a2b5bc066eb

Implement Label Styles and Labels with background
author Andre Heinecke <aheinecke@intevation.de>
date Thu, 20 Sep 2012 12:55:21 +0200
parents df4e0946ef02
children
comparison
equal deleted inserted replaced
316:5e3a40a84539 317:5a2b5bc066eb
204 logger.warn( 204 logger.warn(
205 "Could not read map projection." + 205 "Could not read map projection." +
206 " Setting map projection to unknown."); 206 " Setting map projection to unknown.");
207 mapElement.setAttribute("projection", "Unknown"); 207 mapElement.setAttribute("projection", "Unknown");
208 } 208 }
209
210 // read the reference scale
211 try {
212 mapElement.setAttribute("referencescale", String.valueOf(
213 map.getReferenceScale()));
214 } catch (Exception e) {
215 logger.warn("Could not read referencescale of map");
216 }
209 } 217 }
210 218
211 /** 219 /**
212 * Set the utilities. 220 * Set the utilities.
213 */ 221 */
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)