Exemple #1
0
        internal VELayerModelNode(DappleModel oModel, VELayerType eLayerType)
            : base(oModel)
        {
            m_eLayerType = eLayerType;

            MarkLoaded();
        }
Exemple #2
0
        internal VELayerModelNode(DappleModel oModel, VELayerType eLayerType)
            : base(oModel)
        {
            m_eLayerType = eLayerType;

            MarkLoaded();
        }
Exemple #3
0
 private static WorldWind.VirtualEarthMapType Convert(VELayerType eType)
 {
     switch (eType)
     {
         case VELayerType.Hybrid:
             return WorldWind.VirtualEarthMapType.hybrid;
         case VELayerType.Map:
             return WorldWind.VirtualEarthMapType.road;
         case VELayerType.Satelite:
             return WorldWind.VirtualEarthMapType.aerial;
         default:
             throw new ApplicationException("Missing enum case statement");
     }
 }
Exemple #4
0
        private static WorldWind.VirtualEarthMapType Convert(VELayerType eType)
        {
            switch (eType)
            {
            case VELayerType.Hybrid:
                return(WorldWind.VirtualEarthMapType.hybrid);

            case VELayerType.Map:
                return(WorldWind.VirtualEarthMapType.road);

            case VELayerType.Satelite:
                return(WorldWind.VirtualEarthMapType.aerial);

            default:
                throw new ApplicationException("Missing enum case statement");
            }
        }