Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Feature ¶
type Feature struct { ID interface{} Properties map[string]interface{} Geometry interface{} Precision int }
Feature represents a GeoJSON Feature object.
func (*Feature) MarshalJSON ¶
func (*Feature) UnmarshalJSON ¶
type FeatureCollection ¶
type FeatureCollection struct {
Features []*Feature
}
FeatureCollection represents a GeoJSON FeatureCollection object.
func (*FeatureCollection) MarshalJSON ¶
func (fc *FeatureCollection) MarshalJSON() ([]byte, error)
func (*FeatureCollection) UnmarshalJSON ¶
func (fc *FeatureCollection) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.