kml

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoundaryIs

type BoundaryIs struct {
	LinearRing LinearRing `xml:"LinearRing"`
}

type Collection

type Collection struct {
	Folders    []Collection `xml:"Folder"`
	Placemarks []Placemark  `xml:"Placemark"`
	Styles     []Style      `xml:"Style"`
	Name       string       `xml:"name"`
}

type Icon

type Icon struct {
	Href string `xml:"href"`
}

type IconStyle

type IconStyle struct {
	Icon  *Icon   `xml:"Icon"`
	Color string  `xml:"color"`
	Scale float64 `xml:"scale"`
}

type LineString

type LineString struct {
	Coordinates string `xml:"coordinates"`
}

type LineStyle

type LineStyle struct {
	Color string  `xml:"color"`
	Width float64 `xml:"width"`
}

Polyline Styling

type LinearRing

type LinearRing struct {
	Coordinates string `xml:"coordinates"`
}

type Placemark

type Placemark struct {
	Point    Point      `xml:"Point"`
	Polygon  Polygon    `xml:"Polygon"`
	Polyline LineString `xml:"LineString"`
	Name     string     `xml:"name"`
	StyleUrl string     `xml:"styleUrl"`
}

type Point

type Point struct {
	Coordinates string `xml:"coordinates"`
}

type PointFields

type PointFields struct {
	Latlng *property.LatLng
	Height *float64
}

type PolyStyle

type PolyStyle struct {
	Color  string `xml:"color"`
	Fill   bool   `xml:"fill"`
	Stroke bool   `xml:"outline"`
}

type Polygon

type Polygon struct {
	OuterBoundaryIs BoundaryIs   `xml:"outerBoundaryIs"`
	InnerBoundaryIs []BoundaryIs `xml:"innerBoundaryIs"`
}

type Style

type Style struct {
	Id        string    `xml:"id,attr"`
	IconStyle IconStyle `xml:"IconStyle"`
	LineStyle LineStyle `xml:"LineStyle"`
	PolyStyle PolyStyle `xml:"PolyStyle"`
}

Marker Styling

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL