Package gov.nasa.worldwind.avlist

Examples of gov.nasa.worldwind.avlist.AVListImpl


        this.setMinActiveAltitude(1);
    }

    private static LevelSet makeLevels(URLBuilder urlBuilder)
    {
        AVList params = new AVListImpl();

        params.setValue(AVKey.TILE_WIDTH, 512);
        params.setValue(AVKey.TILE_HEIGHT, 512);
        params.setValue(AVKey.DATA_CACHE_NAME, "geoservices.brgm.fr/risques/REM_NAPPE_SEDIM");
        params.setValue(AVKey.SERVICE, "http://geoservices.brgm.fr/risques");
       
        params.setValue(AVKey.DATASET_NAME, "REM_NAPPE_SEDIM");
        params.setValue(AVKey.FORMAT_SUFFIX, ".gif");
        params.setValue(AVKey.TRANSPARENCY_COLORS, 0);
       
        params.setValue(AVKey.NUM_LEVELS, 20);
        params.setValue(AVKey.NUM_EMPTY_LEVELS, 0);
        params.setValue(AVKey.LEVEL_ZERO_TILE_DELTA, new LatLon(Angle.fromDegrees(.2d), Angle.fromDegrees(.2d)));
        params.setValue(AVKey.SECTOR, Sector.fromDegrees(41.32526397666552, 51.20139642647427, -5.625179091996616, 11.1443951255116));
        params.setValue(AVKey.TILE_URL_BUILDER, urlBuilder);
        //params.setValue(AVKey.EXPIRY_TIME, new GregorianCalendar(2007, 7, 6).getTimeInMillis());

        return new LevelSet(params);
    }
View Full Code Here


                 JOptionPane.ERROR_MESSAGE);
        
         throw new Exception(str); // rather exiting !!!!!!!
      }

      AVListImpl keys = lyrInfoChild.getParams();

      String strValueNameLayer = keys.getStringValue("gov.nasa.worldwind.avkey.LayerNames");
      String strValueTitleLayer = keys.getStringValue("gov.nasa.worldwind.avkey.DisplayName");
      String strValueAbstractLayer = keys.getStringValue("gov.nasa.worldwind.avkey.LayerAbstract");
      String strValueStylesLayer = keys.getStringValue("gov.nasa.worldwind.avkey.StyleNames");

     if (strValueAbstractLayer == null)
        strValueAbstractLayer = "";

     if (strValueStylesLayer == null)
View Full Code Here

            throw new IllegalArgumentException(str);
        }
       

        if (params == null)
            params = new AVListImpl();

        if (params.getStringValue(AVKey.LAYER_NAMES) == null)
        {
            // Use the first named layer since no other guidance given
            List<WMSLayerCapabilities> namedLayers = ((GfrWMSCapabilities) caps).getNamedLayers();
View Full Code Here

            GfrBasicLayerFactory._LOGGER_.severe(str);
            throw new IllegalArgumentException(str);
        }
         //*/
        if (params == null)
            params = new AVListImpl();

        if (params.getStringValue(AVKey.LAYER_NAMES) == null)
        {
            // Use the first named layer since no other guidance given
            List<WMSLayerCapabilities> namedLayers = ((GfrWMSCapabilities) caps).getNamedLayers();
View Full Code Here

   }

   private InfoChildWms(GfrWMSCapabilities caps)
   {
      this._caps_ = caps;
      this._params_ = new AVListImpl();
   }
View Full Code Here

            Logging.logger().severe(message);
            throw new IllegalArgumentException(message);
        }

        if (params == null)
            params = new AVListImpl();

        //try
        {
            GfrDataConfigurationUtils.s_getWMSLayerConfigParams(caps, formatOrderPreference, params);
        }
View Full Code Here

TOP

Related Classes of gov.nasa.worldwind.avlist.AVListImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.