Hi, can anyone tell me what APIs can be use for zooming feature in a vector map? Is it possible to have a Swing component that can contain vector map? Like autocad files.
Thanks in advance!
Stanly
Hi, can anyone tell me what APIs can be use for zooming feature in a vector map? Is it possible to have a Swing component that can contain vector map? Like autocad files.
Thanks in advance!
Stanly
Java2D supports zooming etc… you might want to look at java.awt.geom.AffineTransform and actually all the stuff in java.awt.geom.
All the AWT geometry stuff can be drawn onto swing components.
Kev
http://www.cs.umd.edu/hcil/jazz/
I use that piccolo lib which implements a 2D scenegraph and allows zooming. Very nice stuff!!
I will release a gaming prototype with it one of these days…