Documentation ¶
Overview ¶
Package icon provides helper functions for standard Google Earth icons. See http://kml4earth.appspot.com/icons.html.
Index ¶
- func CharacterHref(c rune) string
- func DefaultHref() string
- func NoneHref() string
- func NumberHref(n int) string
- func PaddleHref(id string) string
- func PaddleIconStyle(id string) kml.Element
- func PaletteHref(pal, icon int) string
- func PushpinHref(color string) string
- func ShapeHref(shape string) string
- func TrackHref(i int) string
- func TrackNoneHref() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CharacterHref ¶
CharacterHref returns the href of the icon wirh the specificed character, or an empty string if no such icon exists. See http://kml4earth.appspot.com/icons.html#pal3 and http://kml4earth.appspot.com/icons.html#pal5.
func NumberHref ¶
NumberHref returns the href of the icon with number n. See http://kml4earth.appspot.com/icons.html#pal3.
func PaddleHref ¶
PaddleHref returns the href of the paddle icon with id. See http://kml4earth.appspot.com/icons.html#paddle.
func PaddleIconStyle ¶
func PaddleIconStyle(id string) kml.Element
PaddleIconStyle returns an IconStyle for the paddle icon with id and the hotspot set. See http://kml4earth.appspot.com/icons.html#paddle.
func PaletteHref ¶
PaletteHref returns the href of icon in pal.
func PushpinHref ¶
PushpinHref returns the href of pushpin of color. Valid colors are blue, green, ltblu, pink, purple, red, wht, and ylw. See http://kml4earth.appspot.com/icons.html#pushpin.
func ShapeHref ¶
ShapeHref returns the href of the icon with the specified shape. See http://kml4earth.appspot.com/icons.html#shapes.
func TrackHref ¶
TrackHref returns the href of the ith track icon. See http://kml4earth.appspot.com/icons.html#kml-icons.
func TrackNoneHref ¶
func TrackNoneHref() string
TrackNoneHref returns the href of the track icon when there is no heading. See http://kml4earth.appspot.com/icons.html#kml-icons.
Types ¶
This section is empty.