Hi guys, I've working with GeoTools, making test with JMapFrame, but now I
want to start my real project and I need a more "Configurable" content, so
I've to decide to use JFrame with a JMapPane instead JMapFrame. But I can't
display anything in the map, I don't know why, because I'm using the same
code which I used before with JMapFrame.
mContext = new DefaultMapContext();
mContext.setTitle("Simuncito");
mPanel = new JMapPane();
mPanel.setMapContext(mContext);
mPanel.setDoubleBuffered(true);
getContentPane().add(mPanel, java.awt.BorderLayout.CENTER);

There is anything more to do?

I hope somebody could help me.

-- 
TSU. Amador Cuenca
------------------------------------------------------------------------------

_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to