Package google.type
LatLng
วัตถุที่แสดงคู่ละติจูด/ลองจิจูด ค่านี้แสดงเป็นเลขคู่ 1 คู่เพื่อแสดงองศาละติจูดและลองจิจูดองศา ออบเจ็กต์นี้ต้องเป็นไปตาม มาตรฐาน WGS84 เว้นแต่จะระบุไว้เป็นอย่างอื่น ค่าต้องอยู่ในช่วงมาตรฐาน
ช่อง |
latitude |
double
ละติจูด หน่วยเป็นองศา โดยต้องอยู่ในช่วง [-90.0, +90.0]
|
longitude |
double
ลองจิจูด หน่วยเป็นองศา โดยต้องอยู่ในช่วง [-180.0, +180.0]
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2023-12-01 UTC
[null,null,["อัปเดตล่าสุด 2023-12-01 UTC"],[[["LatLng is a message object used to represent a latitude/longitude pair using a pair of doubles conforming to the WGS84 standard."],["Latitude values must be within the range of -90.0 to +90.0 degrees, while longitude values must be within the range of -180.0 to +180.0 degrees."]]],["The core content describes the `LatLng` object, which represents a latitude/longitude pair using double values for degrees. It adheres to the WGS84 standard and requires normalized values. The `latitude` field, a double, must be within the range of -90.0 to +90.0 degrees. The `longitude` field, also a double, must be within the range of -180.0 to +180.0 degrees. These are the only fields and their value ranges.\n"]]