Feature

GeoJSON 地圖項目物件 (請參閱 RFC 7946),其中包含名為「type」的欄位中的字串「Feature」、名為「geometry」的欄位中的幾何圖形,以及名為「properties」的欄位中的鍵/值屬性。

JSON 表示法
{
  "type": string,
  "geometry": value,
  "properties": value
}
欄位
type

string

這個字串一律會顯示,且等於「Feature」。

geometry

value (Value format)

地圖項目的幾何圖形。如果這項特徵有幾何圖形,就會包含 google.protobuf.Struct。否則會保留 google.protobuf.NullValue

properties

value (Value format)

功能的屬性。如果這項功能有屬性,就會包含 google.protobuf.Struct。否則會保留 google.protobuf.NullValue