[OpenMap Users] Retrieving lat/lon on mouse click

From: Chris Hopkins <chopkins_at_cra.com>
Date: Tue, 20 Sep 2005 17:06:57 -0400

Hi all -

I'm just wondering if anyone has done this before I start looking into it.
Here's the scenario...I have an OpenMap app up and running and the user is
entering a lat/lon point into an interface component (like a customized
JPanel with some labels and text fields). I want to allow the operator to
click that point on the map and retrieve that value programmatically within
my customized JPanel. So, something like:

        LatLonPoint llp = mapBean.getNextMouseClickAsLLP();

and getNextMouseClickAsLLP() will block until the user clicks on the map
somewhere. Or perhaps some kind of callback mechanism is more appropriate.

Perhaps I'm thinking about this too much but has anyone done this?


[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Tue Sep 20 2005 - 17:53:17 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:07 EDT