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();
mPanel = new JMapPane();
There is anything more to do?
I hope somebody could help me.
TSU. Amador Cuenca
From: Michael Bedward <michael.bedward@gm...> - 2010-05-28 12:08:08
I can't see the problem straight away so I suggest you cheat :-)
JMapFrame is really just a plain old JFrame with a few widgets added
in with the map pane. Perhaps just copy and paste the bits of it that
you want into your own class to get a head start.
Hope this helps.