Hi Debbie,
There isn't a method on the MapBean that lets you check colors at
pixel locations. You could extend the BufferedMapBean/
BufferedLayerMapBean to check the pixel color in it's buffered image.
The other thing you could do is create a BufferedImage the same size
as the MapBean, get the active layers from the LayerHandler, get the
java.awt.Graphics object from the BufferedImage and call paint
(java.awt.Graphics) on each layer. Then check the pixel you want.
Hope this helps,
Don
On Sep 9, 2005, at 11:12 AM, Pierce,Deborah Jean Violette wrote:
> Hi,
> Given a lat/lon point, is there a way to determine the background
> color on the map at that specific point?
> Regards,
> Debbie Pierce
> MITRE Corporation
>
> --
> [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"]
>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick_at_bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
--
[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 13 2005 - 12:24:50 EDT