<div>Hi to everyone,</div> <div> </div> <div>I started to develop some sample application using Java with Mapscript, i finally display </div> <div>some layer, but if i try to scale map or make a zoom, i get an empty map, don't know what</div> <div>went wrong.</div> <div> </div> <div>This is the code:</div> <div> </div> <div>package edu.umn.gis.mapserver;</div> <div> </div> <div>public final class Generate {</div> <div> </div> <div>private mapObj map = null;</div> <div>private imageObj image = null;</div> <div> </div> <div>Generate() {</div> <div> map = new mapObj("test.map");</div> <div> image = map.draw("test1.png", map); // we're ok at this point</div> <div> map.scale(2);</div> <div> image = map.draw("test2.png", map); // empty map returned !</div> <div>}</div> <div> </div> <div>public static void main(String[] args) {</div> <div> new
Generate();</div> <div>}</div> <div> </div> <div>}</div> <div> </div> <div>Does someone knows what is wrong with this ?</div> <div>Thanks in advance !</div> <div> </div> <div> </div><p>
<hr size=1>8:00? 8:25? 8:40? <a href="
http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail&#news"> Find a flick</a> in no time<br> with the<a href="
http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail&#news">Yahoo! Search movie showtime shortcut.</a>