[OpenMap Users] DTEDFrameCache

From: Mike Lackey <mr.blutarski_at_email.domain.hidden>
Date: Wed Jul 09 2008 - 15:26:27 EDT

> 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@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Wed Jul 9 15:29:45 2008

This archive was generated by hypermail 2.1.8 : Wed Jul 09 2008 - 15:29:46 EDT