Hi everyone,

I need to customize a MapLayerTable.

A good starting point seemed to be
http://docs.geotools.org/latest/userguide.old/unsupported/swing/jmappane.html

However the JMapPane used there is org.geotools.gui.swing.JMapPane
part of gt-mappane, which is apparently no longer available and code
such as

mapPane.setMapArea(map.getLayerBounds());
   JFrame frame = new JFrame("ImageLab2");

   frame.setLayout(new BorderLayout());
   frame.add(mapPane, BorderLayout.CENTER);
   JPanel buttons = new JPanel();
   JButton zoomInButton = new JButton("Zoom In");
   zoomInButton.addActionListener(new ActionListener() {
       public void actionPerformed(ActionEvent e) {
           mapPane.setState(JMapPane.ZoomIn);
       }
   });
   buttons.add(zoomInButton);

from the page referred above is not compatible with the currently
available .geotools.swing.JMapPane.

My question is, how does one  build a custom MapLayerTable (e.g.
modyfying  its standard width ) within a JMapFrame  with the current
geotools distribution?

Thanks for your attention,

t

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to