Hi Michael,
i downloaded the JMapframe() code and modified the constructor to:
public JMapFrame(MapContext context, GTRenderer renderer) {
super(context == null ? "" : context.getTitle());
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
showLayerTable = false;
showStatusBar = false;
toolSet = new HashSet<Tool>();
// the map pane is the one element that is always displayed
mapPane = *new FlyingSaucer();*
mapPane.setBackground(Color.WHITE);
mapPane.setMapContext(context);
mapPane.setRenderer(renderer);
}
and in your *FlyingSaucer() class i deleted the main method and created
a blank constructor! Everthing works, i have my shapfiles loaded and on
the top the sprite moves!
*Is this the right way to do so? And more important i don`t know how i
should modify your *FlyingSaucer() class* to get the opportunity to get
not only one object moving but maybe 20 ? Is it possible?
And also in your last Animation example(isn`t availible anymore) the
object had a animation route. In this example it obviously has one but i
don`t now how to set it!
It would really be nice to have
a method as for example
public vod startanimation(Input: startpoint and a moving route){
drawmovement();
}
and as i sad the posibility to draw several movments!
I really hope you can help a not expirecend user out.
Best regards,
Martin
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users