StyleMap

com.phasmidsoftware.xmldoc.kml.StyleMap
See theStyleMap companion object
case class StyleMap(Pairs: Seq[Pair])(styleSelectorData: StyleSelectorData) extends StyleSelector

Case class StyleMap represents a KML StyleMap element, which acts as a mapping of key-value pairs, where keys ('normal' or 'highlight') are mapped to specific styles using style URLs. See StyleMap

StyleMap is a subtype of StyleSelector, and it extends its functionality by providing a mechanism to dynamically switch between styles based on the user interaction.

Value parameters

Pairs

a sequence of key-value pairs, where each key is an instance of Key (e.g., "normal", "highlight") and each value is an instance of StyleURL pointing to the respective style.

styleSelectorData

an instance of StyleSelectorData that associates this StyleMap with additional KML metadata.

Attributes

Constructor

Creates an instance of StyleMap with the given sequence of Pairs and a StyleSelectorData instance.

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait KmlObject
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product

Concrete fields