Re: [Geotools-gt2-users] Displaying icon on map in JMapPane, example

2008-08-04 Thread Michael Bedward
Excellent - thanks Johann. I had searched the code with grep jstreamnavmap and hadn't thought to grep for a subclass (duh !) cheers Michael 2008/8/4 johann wrote: > > You can find a demo on svn : > http://svn.geotools.org/trunk/demo/example/src/main/java/org/geotools/demo/widgets/StreamWidgetsDe

Re: [Geotools-gt2-users] Displaying icon on map in JMapPane, example

2008-08-04 Thread johann sorel
Michael Bedward a écrit : > Hi Johann, > > Are there any demos, test cases or code fragments that I can look at > to get a bit more understanding of how JStreamNavMap should be used ? > > cheers > Michael > You can find a demo on svn : http://svn.geotools.org/trunk/demo/example/src/main/java/org

Re: [Geotools-gt2-users] Displaying icon on map in JMapPane, example

2008-08-04 Thread Michael Bedward
Hi Johann, Are there any demos, test cases or code fragments that I can look at to get a bit more understanding of how JStreamNavMap should be used ? cheers Michael 2008/7/30 johann sorel <[EMAIL PROTECTED]>: > Hello, > > If you can switch on the latest GeoTools (snapshot one) > I suggest you us

Re: [Geotools-gt2-users] Displaying icon on map in JMapPane, example

2008-07-29 Thread johann sorel
Hello, If you can switch on the latest GeoTools (snapshot one) I suggest you use the JStreamNavMap. http://docs.codehaus.org/display/GEOTOOLS/Map2D+structure You can add decoration layers in this widget. There is also plenty more possibilities. regards johann sorel (also knowned as eclesia)

Re: [Geotools-gt2-users] Displaying icon on map in JMapPane example

2008-07-29 Thread Michael Bedward
> > > Farrukh. > > > > > > > > > > --- On Sat, 7/26/08, Jody Garnett <[EMAIL PROTECTED]> wrote: > > From: Jody Garnett <[EMAIL PROTECTED]> > Subject: Re: [Geotools-gt2-users] Displaying icon on map in JMapPane example > To: [EMAIL PROTEC

Re: [Geotools-gt2-users] Displaying icon on map in JMapPane example

2008-07-28 Thread Jody Garnett
; > > > > > > > > > > --- On *Sat, 7/26/08, Jody Garnett /<[EMAIL PROTECTED]>/* wrote: > > From: Jody Garnett <[EMAIL PROTECTED]> > Subject: Re: [Geotools-gt2-users] Displaying icon on map in > JMapPane example > To: [EMAIL

Re: [Geotools-gt2-users] Displaying icon on map in JMapPane example

2008-07-28 Thread Mirza Farrukh
ll be really thankful, if you or someone can help me in this regard.     Regards,   Farrukh.         --- On Sat, 7/26/08, Jody Garnett <[EMAIL PROTECTED]> wrote: From: Jody Garnett <[EMAIL PROTECTED]> Subject: Re: [Geotools-gt2-users] Displaying icon on map in JMapPane example To: [EM

Re: [Geotools-gt2-users] Displaying icon on map in JMapPane example

2008-07-25 Thread Jody Garnett
Have a look inside JMapPane; it really just uses the graphics2d api to draw a map onto your component. You can draw an icon onto the component yourself - Icon has a draw method that takes an x and y coordinate. Jody - This S

[Geotools-gt2-users] Displaying icon on map in JMapPane example

2008-07-25 Thread Mirza Farrukh
Hi all,   I am a newbie to GeoTools & am testing the JMapPane example (taking it as a starting point) and trying to incoporate some code to display an icon at certain co-ordinates on top of the map. But failed to do so.     Can some one please guide me in this respect. Actually the situation is t