Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Feature ¶
type Feature struct {
Properties map[string]any `json:"properties"`
Geometry any `json:"geometry"`
Type Type `json:"type"`
}
Feature description
type Position ¶
Position description
func (Position) MarshalJSON ¶
MarshalJSON marshals the position as an array
type Type ¶
type Type string
Type is a type of GeoJSON Object
const ( // TypeFeature as defined in https://datatracker.ietf.org/doc/html/rfc7946#section-1.4 TypeFeature Type = "Feature" // TypePoint as defined in https://datatracker.ietf.org/doc/html/rfc7946#section-1.4 TypePoint Type = "Point" )
Click to show internal directories.
Click to hide internal directories.