Am 18.06.2013 11:45, schrieb Tintu mary George:
> hi,
> I am trying to customizing the Feature info tool. when i select the anywere 
> in the map i need corresponding attribute value.for that we need 
> featuer.getattribute().
> but in featureInfoTool.java  i am not getting feature.It contains only 
> features that is collection type.
> So can you plese tell me how to get feature in featureInfoTool.java
Take a look at the gestureFinished() method. There you get your features 
as a Collection:
Collection features = (Collection) map.get(layer);
Now you can iterrate over this features with the iterator() or toArray() 
methods.

Matthias
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


-- 


http://www.openjump.de


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to