[OpenMap Users] DTEDFrameCache

From: Mike Lackey <mr.blutarski_at_gmail.com>
Date: Wed, 9 Jul 2008 14:26:27 -0500

> Can anyone provide any sample code to use DTEDFrameCache to provide
> single elevation values for a lat/lon pair.

Not exactly, but here's an alternative:

public class DTEDLayerEx extends DTEDLayer
{
    public DTEDLayerEx ()
    {
        super();
    }

    public float getElevation (float lat, float lon)
    {
        float retVal = 0f;
        if (cache != null)
        {
            retVal = cache.getElevation(lat, lon);
        }
        return retVal;
    }
}

--
[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 Wed Jul 09 2008 - 15:27:03 EDT

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