地理形狀
類型名稱:GeoShape
擴充 StructuredValue
名稱 |
類型 |
說明 |
box |
Text |
多邊形是指由點對點路徑包圍的區域,起始點和結束點都相同。多邊形以一系列由四個或更多空格分隔的點表示,第一個點和最後一個點會完全相同。 |
圓圈 |
Text |
圓形是指定半徑的指定半徑,以指定經緯度為中心。圓圈會以成對的方式表示,後接半徑 (以公尺為單位)。 |
elevation |
Number 或 Text |
地點的高度。 |
line |
Text |
線條是由點或兩點組成的路徑 (由兩個或更多點組成)。線條是由兩個以上的點點物件所組成,並以空格分隔。 |
polygon |
Text |
多邊形是指由點對點路徑包圍的區域,起始點和結束點都相同。多邊形以一系列由四個或更多空格分隔的點表示,第一個點和最後一個點會完全相同。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-09-03 (世界標準時間)。
[null,null,["上次更新時間:2024-09-03 (世界標準時間)。"],[[["`GeoShape` extends `StructuredValue` and provides ways to define geographical areas like circles, lines, and polygons."],["It uses properties like `box`, `circle`, `line`, and `polygon` with text values to represent shape data."],["`elevation` can be specified using either `Number` or `Text` type."],["`polygon` and `box` properties define an area enclosed by a series of points, with the first and last points being identical."],["`circle` represents a circular area with a specified radius centered at given coordinates."]]],["The `GeoShape` type defines geographical shapes. It includes properties for `box`, `circle`, `line`, and `polygon`, all represented as `Text`. A `box` and `polygon` are areas with the same start and end points and more than four points. A `line` represents a path with two or more points, while `circle` specifies a circular region with latitude, longitude, and radius. It also features `elevation`, which can be a `Number` or `Text`.\n"]]