RE: [OpenMap Users] How do I dermine which country a lat/lon pt belongs to?

From: Chapman, Martin <MChapman@sanz.com>
Date: Thu Jan 29 2004 - 11:52:03 EST

Store the country id as the AppObject of the OMGraphic maybe? Then when
it's clicked, grab the app id and look it up in your database.

Martin

-----Original Message-----
From: Scott Bortman [mailto:sbortman@imagelinks.com]
Sent: Thursday, January 29, 2004 7:36 AM
To: openmap-users@bbn.com
Subject: [OpenMap Users] How do I dermine which country a lat/lon pt
belongs to?

Hello,

I'm stuck on a problem and maybe somebody has run accross it before.

I wrote a layer that extends AreaShapeLayer to do custom shading of
countries based upon a database query. This works really well. I saw
the example on the list archives about time zone shading and did
something similar.

Now I want want to be able specify a lat/lon (like if a user clicks the
map) and determine which country that polygon belongs to. Any idea how
to do the reverse lookup?

Thanks,
--scottie

--
[To unsubscribe to this list send an email to "majdart@bbn.com" with the
following text in the BODY of the message "unsubscribe openmap-users"]
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Thu Jan 29 11:52:45 2004

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:37 EDT