On Fri, Feb 6, 2009 at 11:47 PM, Sameera Abeysinghe <[email protected]>wrote:
>
>  my requirement
>
> I select a point on the map and some pop up or some thing has to come up
> asking for what have to be displayed
>
> Ex. roads, buildings, homes, etc
>
>  user can select one or more
>

A couple of examples for you - the select tool will make a small box (the
size of 3x3 pixels) if you click once and use that to set the selection for
the current layer.
There is an example tool (in code examples) that will go through each layer
in the map (in visual order) trying to return the first selected thing (or
maybe it makes a list?)
The get Info tool does almost exactly what you want; it opens a view; and
lists all the things that were clicked on in a list; and as you click on
them you can see a summary of them (for a WMS layer it uses getInfo, for a
feature layer it shows the feature definition). It is not a pop up but it
shows you what to do ...
- http://udig.refractions.net/confluence/display/EN/Information+Tools
- http://udig.refractions.net/confluence/display/EN/Information+view

Now do you mean a "pop up"
- like a toolbar? Look in the eclipse docs for "infopop" and friends; they
have support for popups in the framework; and then do what the info tool
does and just choose to show your result differently
- like a dialog? Make a dialog similar to the InfoView ...

Cheers,
Jody

>  after selecting by the user that the map has to display the information
> associated with that point
>
>  I know how to create custom tool to select the point but what next?
>
> Is there some thing like pop ups available on uDig probably the selection
> will be with check boxes
>
>
>  is this possible
>
>  hope I have explain this correctly
>
>  Thank You
>
> Sameera
>
>
> --
> Sameera Abeysinghe
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
>
>
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to