Tabnine Logo
GroundOverlay
Code IndexAdd Tabnine to your IDE (free)

How to use
GroundOverlay
in
de.micromata.opengis.kml.v_2_2_0

Best Java code snippets using de.micromata.opengis.kml.v_2_2_0.GroundOverlay (Showing top 20 results out of 315)

origin: de.micromata.jak/JavaAPIforKml

/**
 * Create an instance of {@link GroundOverlay}
 * 
 */
public static GroundOverlay createGroundOverlay() {
  return new GroundOverlay();
}
origin: de.micromata.jak/JavaAPIforKml

/**
 * add a value to the groundOverlayObjectExtension property collection
 * 
 * @param groundOverlayObjectExtension
 *     Objects of the following type are allowed in the list: {@code <}{@link LatLonQuad}{@code>}{@link JAXBElement}{@code <}{@link AbstractObject}{@code>}
 * @return
 *     <tt>true</tt> (as general contract of <tt>Collection.add</tt>). 
 */
public GroundOverlay addToGroundOverlayObjectExtension(final AbstractObject groundOverlayObjectExtension) {
  this.getGroundOverlayObjectExtension().add(groundOverlayObjectExtension);
  return this;
}
origin: de.micromata.jak/JavaAPIforKml

/**
 * add a value to the groundOverlaySimpleExtension property collection
 * 
 * @param groundOverlaySimpleExtension
 *     Objects of the following type are allowed in the list: {@link Object}
 * @return
 *     <tt>true</tt> (as general contract of <tt>Collection.add</tt>). 
 */
public GroundOverlay addToGroundOverlaySimpleExtension(final Object groundOverlaySimpleExtension) {
  this.getGroundOverlaySimpleExtension().add(groundOverlaySimpleExtension);
  return this;
}
origin: org.geoserver/kml

go.setName(layer.getTitle());
go.setDrawOrder(mapLayerOrder);
Icon icon = go.createAndSetIcon();
icon.setHref(getGroundOverlayHRef(layer));
icon.setViewRefreshMode(ViewRefreshMode.NEVER);
LatLonBox gobox = go.createAndSetLatLonBox();
gobox.setEast(box.getMinX());
gobox.setWest(box.getMaxX());
origin: org.geoserver/kml

void encodeGroundOverlay(Folder container, Layer layer, int drawOrder, Envelope box) {
  GroundOverlay go = container.createAndAddGroundOverlay();
  go.setDrawOrder(drawOrder);
  Icon icon = go.createAndSetIcon();
  String href = WMSRequests.getGetMapUrl(request, layer, 0, box, new String[] { "width",
      "256", "height", "256", "format", "image/png", "transparent", "true" });
  icon.setHref(href);
  LOGGER.fine(href);
  // make sure the ground overlay disappears as the lower tiles activate
  addRegion(go, box, 128, 512);
  LatLonBox llBox = go.createAndSetLatLonBox();
  setEnvelope(box, llBox);
}
origin: org.geoserver.community/gs-wps-download

Folder folder = document.createAndAddFolder();
GroundOverlay go = folder.createAndAddGroundOverlay();
go.setName("Map");
Icon icon = go.createAndSetIcon();
icon.setHref("image.png");
icon.setViewRefreshMode(ViewRefreshMode.NEVER);
icon.setViewBoundScale(0.75);
LatLonBox gobox = go.createAndSetLatLonBox();
gobox.setEast(bbox.getMinX());
gobox.setWest(bbox.getMaxX());
origin: de.micromata.jak/JavaAPIforKml

@Override
public GroundOverlay clone() {
  GroundOverlay copy;
  copy = ((GroundOverlay) super.clone());
  copy.latLonBox = ((latLonBox == null)?null:((LatLonBox) latLonBox.clone()));
  copy.groundOverlaySimpleExtension = new ArrayList<Object>((getGroundOverlaySimpleExtension().size()));
  for (Object iter: groundOverlaySimpleExtension) {
    copy.groundOverlaySimpleExtension.add(iter);
  }
  copy.groundOverlayObjectExtension = new ArrayList<AbstractObject>((getGroundOverlayObjectExtension().size()));
  for (AbstractObject iter: groundOverlayObjectExtension) {
    copy.groundOverlayObjectExtension.add(iter.clone());
  }
  return copy;
}
origin: de.micromata.jak/JavaAPIforKml

/**
 * fluent setter
 * @see #setGroundOverlayObjectExtension(List<AbstractObject>)
 * 
 * @param groundOverlayObjectExtension
 *     required parameter
 */
public GroundOverlay withGroundOverlayObjectExtension(final List<AbstractObject> groundOverlayObjectExtension) {
  this.setGroundOverlayObjectExtension(groundOverlayObjectExtension);
  return this;
}
origin: micromata/javaapiforkml

/**
 * fluent setter
 * @see #setAltitudeMode(Object)
 * 
 * @param altitudeMode
 *     required parameter
 */
public GroundOverlay withAltitudeMode(final  AltitudeMode altitudeMode) {
  this.setAltitudeMode(altitudeMode);
  return this;
}
origin: de.micromata.jak/JavaAPIforKml

/**
 * fluent setter
 * @see #setAltitude(double)
 * 
 * @param altitude
 *     required parameter
 */
public GroundOverlay withAltitude(final double altitude) {
  this.setAltitude(altitude);
  return this;
}
origin: micromata/javaapiforkml

@Override
public GroundOverlay clone() {
  GroundOverlay copy;
  copy = ((GroundOverlay) super.clone());
  copy.latLonBox = ((latLonBox == null)?null:((LatLonBox) latLonBox.clone()));
  copy.groundOverlaySimpleExtension = new ArrayList<Object>((getGroundOverlaySimpleExtension().size()));
  for (Object iter: groundOverlaySimpleExtension) {
    copy.groundOverlaySimpleExtension.add(iter);
  }
  copy.groundOverlayObjectExtension = new ArrayList<AbstractObject>((getGroundOverlayObjectExtension().size()));
  for (AbstractObject iter: groundOverlayObjectExtension) {
    copy.groundOverlayObjectExtension.add(iter.clone());
  }
  return copy;
}
origin: micromata/javaapiforkml

/**
 * fluent setter
 * @see #setGroundOverlayObjectExtension(List<AbstractObject>)
 * 
 * @param groundOverlayObjectExtension
 *     required parameter
 */
public GroundOverlay withGroundOverlayObjectExtension(final List<AbstractObject> groundOverlayObjectExtension) {
  this.setGroundOverlayObjectExtension(groundOverlayObjectExtension);
  return this;
}
origin: de.micromata.jak/JavaAPIforKml

/**
 * fluent setter
 * @see #setAltitudeMode(Object)
 * 
 * @param altitudeMode
 *     required parameter
 */
public GroundOverlay withAltitudeMode(final  AltitudeMode altitudeMode) {
  this.setAltitudeMode(altitudeMode);
  return this;
}
origin: micromata/javaapiforkml

/**
 * fluent setter
 * @see #setAltitude(double)
 * 
 * @param altitude
 *     required parameter
 */
public GroundOverlay withAltitude(final double altitude) {
  this.setAltitude(altitude);
  return this;
}
origin: micromata/javaapiforkml

/**
 * Create an instance of {@link GroundOverlay}
 * 
 */
public static GroundOverlay createGroundOverlay() {
  return new GroundOverlay();
}
origin: micromata/javaapiforkml

/**
 * add a value to the groundOverlayObjectExtension property collection
 * 
 * @param groundOverlayObjectExtension
 *     Objects of the following type are allowed in the list: {@code <}{@link LatLonQuad}{@code>}{@link JAXBElement}{@code <}{@link AbstractObject}{@code>}
 * @return
 *     <tt>true</tt> (as general contract of <tt>Collection.add</tt>). 
 */
public GroundOverlay addToGroundOverlayObjectExtension(final AbstractObject groundOverlayObjectExtension) {
  this.getGroundOverlayObjectExtension().add(groundOverlayObjectExtension);
  return this;
}
origin: micromata/javaapiforkml

/**
 * add a value to the groundOverlaySimpleExtension property collection
 * 
 * @param groundOverlaySimpleExtension
 *     Objects of the following type are allowed in the list: {@link Object}
 * @return
 *     <tt>true</tt> (as general contract of <tt>Collection.add</tt>). 
 */
public GroundOverlay addToGroundOverlaySimpleExtension(final Object groundOverlaySimpleExtension) {
  this.getGroundOverlaySimpleExtension().add(groundOverlaySimpleExtension);
  return this;
}
origin: de.micromata.jak/JavaAPIforKml

/**
 * Creates a new instance of {@link GroundOverlay} and adds it to feature.
 * This method is a short version for:
 * <code>
 * GroundOverlay groundOverlay = new GroundOverlay();
 * this.getFeature().add(groundOverlay); </code>
 * 
 * 
 */
public GroundOverlay createAndAddGroundOverlay() {
  GroundOverlay newValue = new GroundOverlay();
  this.getFeature().add(newValue);
  return newValue;
}
origin: micromata/javaapiforkml

/**
 * Creates a new instance of {@link GroundOverlay} and adds it to feature.
 * This method is a short version for:
 * <code>
 * GroundOverlay groundOverlay = new GroundOverlay();
 * this.getFeature().add(groundOverlay); </code>
 * 
 * 
 */
public GroundOverlay createAndAddGroundOverlay() {
  GroundOverlay newValue = new GroundOverlay();
  this.getFeature().add(newValue);
  return newValue;
}
origin: de.micromata.jak/JavaAPIforKml

/**
 * Creates a new instance of {@link GroundOverlay} and adds it to feature.
 * This method is a short version for:
 * <code>
 * GroundOverlay groundOverlay = new GroundOverlay();
 * this.getFeature().add(groundOverlay); </code>
 * 
 * 
 */
public GroundOverlay createAndAddGroundOverlay() {
  GroundOverlay newValue = new GroundOverlay();
  this.getFeature().add(newValue);
  return newValue;
}
de.micromata.opengis.kml.v_2_2_0GroundOverlay

Javadoc

This element draws an image overlay draped onto the terrain. The child of specifies the image to be used as the overlay. This file can be either on a local file system or on a web server. If this element is omitted or contains no , a rectangle is drawn using the color and LatLonBox bounds defined by the ground overlay.

Syntax:
<GroundOverlay id="ID"> 
<!-- inherited from Feature element --> 
<name>...</name>                      <!-- string --> 
<visibility>1</visibility>            <!-- boolean --> 
<open>0</open>                        <!-- boolean --> 
<atom:author>...<atom:author>         <!-- xmlns:atom --> 
<atom:link>...</atom:link>            <!-- xmlns:atom --> 
<address>...</address>                <!-- string --> 
<xal:AddressDetails>...</xal:AddressDetails>  <!-- xmlns:xal -->
<phoneNumber>...</phoneNumber> <!-- string -->
<Snippet maxLines="2">...</Snippet> <!-- string --> <description>...</description> <!-- string --> <AbstractView>...</AbstractView> <!-- Camera or LookAt --> <TimePrimitive>...</TimePrimitive> <styleUrl>...</styleUrl> <!-- anyURI --> <StyleSelector>...</StyleSelector> <Region>...</Region> <Metadata>...</Metadata> <!-- deprecated in KML 2.2 --> <ExtendedData>...</ExtendedData> <!-- new in KML 2.2 --> <!-- inherited from Overlay element --> <color>ffffffff</color> <!-- kml:color --> <drawOrder>0</drawOrder> <!-- int --> <Icon>...</Icon> <!-- specific to GroundOverlay --> <altitude>0</altitude> <!-- double --> <altitudeMode>clampToGround</altitudeMode> <!-- kml:altitudeModeEnum: clampToGround or absolute --> <!-- or, substitute gx:altitudeMode: clampToSeaFloor or relativeToSeaFloor --> <LatLonBox> <north>...</north> <! kml:angle90 --> <south>...</south> <! kml:angle90 --> <east>...</east> <! kml:angle180 --> <west>...</west> <! kml:angle180 --> <rotation>0</rotation> <! kml:angle180 --> </LatLonBox> </GroundOverlay>
Extends:

Most used methods

  • createAndSetIcon
  • createAndSetLatLonBox
    Creates a new instance of LatLonBox and set it to latLonBox. This method is a short version for: Lat
  • setName
  • <init>
  • getGroundOverlayObjectExtension
  • getGroundOverlaySimpleExtension
  • setAltitude
  • setAltitudeMode
  • setDrawOrder
  • setGroundOverlayObjectExtension
  • setGroundOverlaySimpleExtension
  • setLatLonBox
  • setGroundOverlaySimpleExtension,
  • setLatLonBox

Popular in Java

  • Updating database using SQL prepared statement
  • requestLocationUpdates (LocationManager)
  • getSystemService (Context)
  • setRequestProperty (URLConnection)
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • JComboBox (javax.swing)
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now