Non-visible component providing location information, including longitude, latitude, altitude (if supported by the device), and address. This can also perform "geocoding", converting a given address (not necessarily the current one) to a latitude (with the LatitudeFromAddress method) and a longitude (with the LongitudeFromAddress method).
In order to function, the component must have its Enabled property set to True, and the device must have location sensing enabled through wireless networks or GPS satellites (if outdoors).
Location information might not be immediately available when an app starts. You'll have to wait a short time for a location provider to be found and used, or wait for the OnLocationChanged event
Properties
Accuracy
Altitude
AvailableProviders
CurrentAddress
DistanceInterval
Determines the minimum distance interval, in meters, that the sensor will try to use for sending out location updates. For example, if this is set to 5, then the sensor will fire a LocationChanged event only after 5 meters have been traversed. However, the sensor does not guarantee that an update will be received at exactly the distance interval. It may take more than 5 meters to fire an event, for instance.
Results (
Thai) 3:
[Copy]Copied!
มองเห็นไม่ใช่ส่วนประกอบให้ข้อมูลสถานที่ รวมทั้งลองจิจูด , ละติจูด , ความสูง ( ถ้าได้รับการสนับสนุนโดยอุปกรณ์ ) , และที่อยู่ นี้ยังสามารถแสดง " อุทัยธานี " , การแปลง ( ไม่จําเป็นต้องระบุที่อยู่ปัจจุบัน ) ละติจูด ( ด้วยวิธี latitudefromaddress ) และเส้นแวง ( ด้วยวิธี longitudefromaddress )
เพื่อให้ฟังก์ชันองค์ประกอบที่ต้องมีการใช้งานคุณสมบัติการตั้งค่าจริงและอุปกรณ์ ต้องมีการเปิดใช้งานผ่านเครือข่ายแบบไร้สายหรือสถานที่ดาวเทียม GPS ( ถ้ากลางแจ้ง ) .
ข้อมูลสถานที่อาจจะไม่สามารถใช้งานได้ทันทีเมื่อโปรแกรมประยุกต์เริ่มต้น คุณจะต้องรอเป็นเวลาสั้นๆ สำหรับสถานที่ ผู้ให้บริการ จะพบ และใช้ , หรือรอ onlocationchanged เหตุการณ์
คุณสมบัติความความสูงavailableproviders
currentaddress distanceinterval กำหนดช่วงเวลา , ระยะทางขั้นต่ำในเมตร ที่เซ็นเซอร์จะใช้สำหรับการส่งการปรับปรุงสถานที่ ตัวอย่างเช่น ถ้านี้เป็นชุดที่ 5 แล้ว เซนเซอร์จะไล่เหตุการณ์ locationchanged หลังจาก 5 เมตรมี traversed . อย่างไรก็ตาม เซ็นเซอร์ไม่รับประกันว่า การปรับปรุงจะได้รับที่ถูกต้องระยะห่างช่วงมันอาจจะใช้เวลามากกว่า 5 เมตร เพื่อไล่เหตุการณ์ ตัวอย่างเช่น
Being translated, please wait..
