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 Serializabletrait Producttrait Equalstrait StyleSelectortrait KmlObjectclass Objecttrait Matchableclass Any
Members list
In this article