All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.micromata.opengis.kml.v_2_2_0.StyleMap Maven / Gradle / Ivy

Go to download

This is JavaAPIforKMml, Micromata's library for use with applications that want to parse, generate and operate on KML. It is an implementation of the OGC KML 2.2 standard. It is written entirely in Java and makes heavy use of JAXB.

There is a newer version: 3.0.4
Show newest version

package de.micromata.opengis.kml.v_2_2_0;

import de.micromata.opengis.kml.v_2_2_0.annotations.Obvious;
import jakarta.xml.bind.annotation.*;

import java.util.ArrayList;
import java.util.List;


/**
 * {@code }
 * 

* A {@code } maps between two different Styles. Typically a {@code } element is * used to provide separate normal and highlighted styles for a placemark, so that * the highlighted version appears when the user mouses over the icon in Google Earth. *

* * Syntax: *
<StyleMap id="ID">
 *   <!-- extends StyleSelector -->
 *   <!-- elements specific to StyleMap -->
 *   <Pair id="ID">
 *     <key>normal</key>              <!-- kml:styleStateEnum:  normal or highlight -->
 *     <styleUrl>...</styleUrl> or <Style>...</Style>
 *   </Pair>
 * </StyleMap>
* * Extends: * * * Contained By: * * * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "StyleMapType", propOrder = { "pair", "styleMapSimpleExtension", "styleMapObjectExtension" }) @XmlRootElement(name = "StyleMap", namespace = "http://www.opengis.net/kml/2.2") public class StyleMap extends StyleSelector implements Cloneable { /** * {@code } (required) *

* Defines a key/value pair that maps a mode (normal or highlight) to the predefined * {@code }. {@code } contains two elements (both are required): {@code }, which identifies * the key {@code } or {@code