Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Geometry ¶
type Geometry struct { Point *Point MultiPoint *MultiPoint Polygon *Polygon MultiPolygon *MultiPolygon GeometryCollection *GeometryCollection }
func (*Geometry) MarshalJSON ¶
func (*Geometry) UnmarshalJSON ¶
type GeometryCollection ¶
type GeometryCollection struct { }
type MultiPoint ¶
type MultiPoint struct {
Points []*Point
}
func (*MultiPoint) MarshalJSON ¶
func (mp *MultiPoint) MarshalJSON() ([]byte, error)
func (*MultiPoint) UnmarshalJSON ¶
func (mp *MultiPoint) UnmarshalJSON(data []byte) error
type MultiPolygon ¶
type MultiPolygon struct {
Polygons []*Polygon `json:"polygons"`
}
func (*MultiPolygon) MarshalJSON ¶
func (mpg *MultiPolygon) MarshalJSON() ([]byte, error)
func (*MultiPolygon) UnmarshalJSON ¶
func (mpg *MultiPolygon) UnmarshalJSON(data []byte) error
type Polygon ¶
type Polygon struct { OuterPath *MultiPoint InnerPaths []*MultiPoint }
func (*Polygon) MarshalJSON ¶
func (*Polygon) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.