You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// {"features":[{"type":"Feature","geometry":{"type":"Point","coordinates":[102,0.5]},"properties":{"prop0":"value0"}}],"title":"Title as Foreign Member","type":"FeatureCollection"}
54
+
}
55
+
56
+
// MyFeatureCollection is a depricated/no longer supported way to extract
57
+
// foreign/extra members from a feature collection. Now an UnmarshalJSON
58
+
// method, like below, is required for it to work.
59
+
typeMyFeatureCollectionstruct {
60
+
geojson.FeatureCollection
61
+
Titlestring`json:"title"`
62
+
}
63
+
64
+
// UnmarshalJSON implemented as below is now required for the extra members
0 commit comments