InfoTool is Map Tool used to grab identity information about what is on the screen.
InfoTool makes use its ModalTool superclass to access RenderManager; getInfo is a first class request supported by the API. You can however trace through this code as an example for creating your own tools.
Workflow:
RenderManger.getInfo( Point ) for each renderer asks ...
Renderer.getInfo( Point ) which ...
back projects Point to a Extent used with
Resource (ie FeatureSource.getFeatures( filter ) to arrive at
Information (ie a FeatureCollection) wrapped in an LayerPointInfo providing
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.