Documentation ¶
Index ¶
Constants ¶
View Source
const ( Alert string = "wx:Alert" Zone string = "wx:Zone" CollectionName string = "features" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Feature ¶
type Feature struct { ID string `json:"id" bson:"_id"` Geometry geojson.Geometry `json:"geometry"` Properties JSONObject `json:"properties"` }
func (*Feature) UnmarshalBSON ¶
func (*Feature) UnmarshalJSON ¶
type FeatureCollection ¶
type FeatureCollection struct {
Features Features `json:"features"`
}
type JSONObject ¶
func (JSONObject) FloatValue ¶
func (j JSONObject) FloatValue(key string) float64
func (JSONObject) IntValue ¶
func (j JSONObject) IntValue(key string) int64
func (JSONObject) StringValue ¶
func (j JSONObject) StringValue(key string) string
Click to show internal directories.
Click to hide internal directories.