共用方式為


GeocodePointsItemOutput interface

屬性

calculationMethod

用來計算地理編碼點的方法。

geometry

有效的 GeoJSON Point 幾何類型。 如需詳細資訊,請參閱 RFC 7946

usageTypes

地理編碼點的最佳使用。 每個地理編碼點都會定義為 Route 點、Display 點或兩者。 如果您要建立通往位置的路由,請使用 Route 點。 如果您要在地圖上顯示位置,請使用 Display 點。 例如,如果位置是公園,Route 點可能會指定可以用汽車進入的公園入口,而 Display 點可能是指定公園中心點。

屬性詳細資料

calculationMethod

用來計算地理編碼點的方法。

calculationMethod?: "Interpolation" | "InterpolationOffset" | "Parcel" | "Rooftop"

屬性值

"Interpolation" | "InterpolationOffset" | "Parcel" | "Rooftop"

geometry

有效的 GeoJSON Point 幾何類型。 如需詳細資訊,請參閱 RFC 7946

geometry?: GeoJsonPointOutput

屬性值

usageTypes

地理編碼點的最佳使用。 每個地理編碼點都會定義為 Route 點、Display 點或兩者。 如果您要建立通往位置的路由,請使用 Route 點。 如果您要在地圖上顯示位置,請使用 Display 點。 例如,如果位置是公園,Route 點可能會指定可以用汽車進入的公園入口,而 Display 點可能是指定公園中心點。

usageTypes?: ("Display" | "Route")[]

屬性值

("Display" | "Route")[]