Documentation ¶
Index ¶
- type Writer
- func (k *Writer) EndPlacemark()
- func (k *Writer) Finalise()
- func (k *Writer) NewFolder(name string)
- func (k *Writer) NewLine(name string)
- func (k *Writer) NewPlacemark(name string)
- func (k *Writer) NewPlacemarkWithStyle(name, style string)
- func (k *Writer) NewPoint(pt *tk.Point)
- func (k *Writer) NewTrack(name string)
- func (k *Writer) WriteStyle(s string)
- func (k *Writer) XML() *xmlstream.Writer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Writer ¶
type Writer struct { Style string // contains filtered or unexported fields }
Writer is a streaming KML document writer.
func (*Writer) NewPlacemark ¶
NewPlacemark creates a new placemark.
func (*Writer) NewPlacemarkWithStyle ¶
NewPlacemarkWithStyle creates a new placemark with given style.
func (*Writer) WriteStyle ¶
WriteStyle writes raw string as kml Style.
Click to show internal directories.
Click to hide internal directories.