Re: [OpenMap Users] Elevation Legend

From: Don Dietrick <dietrick_at_bbn.com>
Date: Tue, 12 Jan 2010 20:11:13 -0500

Hi Bill,

You could create one and display it on the map using XY OMGraphics. You could either extend the DTEDLayer and have those XY OMGraphics rendered with the DTED, or create a OMComponent that implements PaintListener that renders those XY OMGraphics after the MapBean paints everything else. You can have your PaintListener use the MapHandler to find the MapBean and add itself as a PaintListener to it. It could also be a LayerStatusListener and only make itself active when the DTEDLayer is active.

Hope this helps,

Don



On Jan 12, 2010, at 8:39 AM, Sutphin, William B CIV NUWC NWPT wrote:

> Hey
>
> What's a good way to add an elevation legend (with the color scale) to a map?
>
> thanks
>
> Bill Sutphin
> Naval Undersea Warfare Center, Division Newport
> Bldg 1351, Room 211C
> Newport, RI 02841
> (401) 832-5813
> DSN 432-5813
>

--
[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 Jan 12 2010 - 20:11:21 EST

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