Sean,
I've looked over the code for the StyledMapPane and found that there
were not many options in terms of the interactive tools. You may have
to write these features yourself. I get the impression that the
GeoTools project is focused on different concerns.
As for question #3, I keep thinking that there is a way to retrieve a
geospatial feature based on a map coordinate, but am unsure of the
methods to do so.
Sorry this isn't much help. I guess I just have similar questions for
the GeoTools team.
Wendy
Sean McGowan wrote:
Hi there,
I'm a Software Engineering student from Dublin, Ireland. For my final
year project, I'm building a spatial application using Geotools to
generalise GML maps. I've just started using Geotools and I have a few
short questions for anyone who can help me.
1. I noticed when using the StyledMapPane class to display my map,
there is pan and zoom functionality when you right-click on the map. How
do I access this functionality? I'd like to add zoom and pan buttons to
a toolbar in my application.
2. Also, I noticed the map's scrollbar acts as zoom in/out when I use
the mouse wheel. Is there any way to have the scrollbars for the map
behave normally? By normal I mean scroll up and down the map without
zooming in/out.
3. I want to implement a clickable map where features can be highlighted
for their attribute information. Could someone point me in the right
direction for going about this?
I'd really appreciate the help.
Thanks,
Sean McGowan
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users