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
- LayerPointInfo.getObject() & LayerPointInfo.getMimeType()
author: Jody Garnett version: $Revision: 1.9 $ |