Hi List, I'm trying to do a little improvement to SIGLE PrintLayoutPlugin, i.e. I want to print also the Scale Bar and not only the LayerViewPanel. So i decided to implement a class that do this, but i'm stuck in a point and i can't get out of it. To make ScaleBar visible, I wrote the following instructions (as i saw them in ScaleBarRenderer):
ScaleBarRenderer.setEnabled(true, this); this.getRenderingManager().render(ScaleBarRenderer. CONTENT_ID); Where this is mapFrameonScreen, an object of the class MapFrameOnScreen that extends LayerViewPanel. When I Try to execute this, it returns me an exception, here it is the stack trace: com.vividsolutions.jts. util.AssertionFailedException: Should never reach here: SCALE_BAR at com.vividsolutions.jts.util.Assert.shouldNeverReachHere (Assert.java:122) Is there any way to avoid this? If you have any suggestion, you're the welcome. Thanks a lot Alessandro ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel