Package gov.nasa.worldwind.render

Examples of gov.nasa.worldwind.render.Offset


    static private PointPlacemarkAttributes _s_getAttributes_()
    {
       PointPlacemarkAttributes ppa = new PointPlacemarkAttributes();
      
       ppa.setScale(0.5);
       ppa.setImageOffset(new Offset(18.5d, 4d, AVKey.PIXELS, AVKey.PIXELS)); // see comment amadeus tloPushpin
      
       String strPathRelImage = "images/pushpins/plain-green.png";
       ppa.setImageAddress(strPathRelImage);

       return ppa;
View Full Code Here


      ppa.setScale(0.5);

      //MEMO Amadeus
      //!!!! Why those parameters??? I don't know, but if this line is commented
      //placemarks have a display artefact : an offset from the real lat lon position
      ppa.setImageOffset(new Offset(18.5d, 4d, AVKey.PIXELS, AVKey.PIXELS));
      //!!!!!

      String strPathRelImage = GfrWrpBasPrsDspPrjRndWwdEarthShpDimOnePushpin.getInstance().getKindColorPushpinValue(super._strId);
      ppa.setImageAddress(strPathRelImage);
View Full Code Here

TOP

Related Classes of gov.nasa.worldwind.render.Offset

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.