That sounds like a great addition, I have a feeling that I planned to go
back and do that when I added mouse wheel support, but never got around to
it.

Ian

On Wed, 10 May 2023, 00:37 Leif Gruenwoldt, <lei...@gmail.com> wrote:

> This is really cool Ian.
>
> My team use the geotools swing example in a couple of our projects,
> it's great to see tutorials like this. This is really helpful.
>
> As an aside, I've been meaning to submit a pull request for the swing
> example that improves the zoom tool to make it behave like Google Maps
> (and most any other modern GIS). It makes the mouse wheel zoom in
> relative to the cursor position in the window.
>
>
> Leif
>
>
>
> On Mon, May 8, 2023 at 10:20 AM Ian Turton <ijtur...@gmail.com> wrote:
> >
> > If you ever wondered how to add a tool to the GeoTools swing map then
> I've written a short introduction to it. There is also a link to a small
> project that provides a tool to draw lines on a map.
> >
> > See
> https://blog.ianturton.com/geotools/2023/05/08/drawing-on-a-geotools-map.html
> for all the gory details.
> >
> > cheers
> >
> > Ian
> >
> > --
> > Ian Turton
> > _______________________________________________
> > GeoTools-GT2-Users mailing list
> > GeoTools-GT2-Users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to