2009/10/4 dadar wrote:
>
> btw if I combine this quickmap source with my source code can it work??my
> source might be in jpanel or jframe.

Sorry, I don't think I understand what you're asking there

> and actually I need to access the data that I get when I click some area
> with info tool into an array without displaying it. can I do that??

If you study the MapDisplayLab example you will see how it identifies
the feature that was clicked on without using the info tool. Once you
have identified the feature you can retrieve whatever attributes it
contains. The key concepts to understand here are SimpleFeatureType
and SimpleFeature. I recommend that you first look at this example for
an introduction to these...

http://geotools.org/examples/csv2shp.html

> My point is when I click some area, I'm doing some calculation in another
> area. after that the result of the calculation is an area. so I'll change
> the color of the area into another color without click on that area. is it
> hard to do that??
>

It's not hard if you know how to do it :-)

I'm afraid that I can't write your code for you but if you study the
examples you will learn about the of the basic concepts required to do
what you describe.

Hope this helps.

Michael

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to