แผนที่และสถานที่
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ

อนุญาตให้ผู้ใช้สำรวจโลกด้วยแผนที่ที่สมบูรณ์ซึ่ง Google จัดหาให้
ระบุตำแหน่งด้วยเครื่องหมายที่กำหนดเอง เพิ่มข้อมูลแผนที่ด้วยการซ้อนทับรูปภาพ
ฝังแผนที่อย่างน้อย 1 รายการเป็น Fragment แสดงรายละเอียดเกี่ยวกับจุดที่น่าสนใจใกล้เคียง
และอื่นๆ อีกมากมาย
Maps SDK
Maps SDK สำหรับ Android เป็นส่วนหนึ่งของแพลตฟอร์มบริการ Google Play
และช่วยให้คุณรวมแผนที่และข้อมูลการทำแผนที่ที่กำหนดเองไว้ใน
แอปได้ ทำตามคำแนะนำเริ่มต้นใช้งานเพื่อตั้งค่าบริการ Google Play
ในโปรเจ็กต์ แล้วเจาะลึกฟีเจอร์หลักของ Maps SDK
เพิ่มแผนที่ลงในแอป
Maps SDK สำหรับ Android ช่วยให้คุณฝังแผนที่ลงในกิจกรรมเป็น Fragment ได้
โดยใช้ข้อมูลโค้ด XML SDK นี้มีฟีเจอร์ที่น่าสนใจ เช่น แผนที่ 3 มิติ
แผนที่ในอาคาร แผนที่ดาวเทียม แผนที่ภูมิประเทศ และแผนที่ไฮบริด ไทล์แบบเวกเตอร์เพื่อการแคชและการวาดภาพที่มีประสิทธิภาพ
การเปลี่ยนภาพแบบเคลื่อนไหว และอื่นๆ อีกมากมาย ดูวิธี
เพิ่มออบเจ็กต์แผนที่
ปรับแต่งแผนที่
เพิ่มเครื่องหมายลงในแผนที่เพื่อระบุจุดที่น่าสนใจเป็นพิเศษสำหรับผู้ใช้
คุณกำหนดสีหรือไอคอนที่กำหนดเองสำหรับเครื่องหมายแผนที่เพื่อให้เข้ากับรูปลักษณ์ของแอปได้
หากต้องการปรับปรุงแอปให้ดียิ่งขึ้น ให้วาดเส้นและรูปหลายเหลี่ยมเพื่อ
ระบุเส้นทางหรือภูมิภาค หรือวางซ้อนรูปภาพทั้งหมด ดูข้อมูลเพิ่มเติมใน
คำแนะนำเกี่ยวกับวิธีวาดเครื่องหมาย
ควบคุมมุมมองของผู้ใช้
มอบมุมมองโลกที่แตกต่างให้แก่ผู้ใช้ด้วยความสามารถในการควบคุม
การหมุน การเอียง การซูม และการเลื่อนของพร็อพเพอร์ตี้ "กล้อง" ในมุมมองของแผนที่
ดูวิธีเปลี่ยนมุมมอง
เพิ่ม Street View ลงในแอป
เพิ่ม Street View ลงในกิจกรรมและให้ผู้ใช้สำรวจโลกผ่านมุมมองพาโนรามา 360 องศา ควบคุมการซูม
และทิศทาง (การเอียงและแบริ่ง) ของกล้อง Street View โดยอัตโนมัติ และเคลื่อนไหว
การเคลื่อนที่ของกล้องในช่วงระยะเวลาที่กำหนด
Places API
ช่วยให้ผู้ใช้ค้นหาธุรกิจ ร้านอาหาร และจุดที่น่าสนใจอื่นๆ ตามตำแหน่งปัจจุบัน ใช้ Places SDK สำหรับ Android
เพื่อให้ข้อมูลที่สะดวกและเกี่ยวข้อง เช่น ข้อมูลติดต่อและ
เวลาทำการ เมื่อผู้ใช้ต้องการ
ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา Java และ OpenJDK เป็นเครื่องหมายการค้าหรือเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-27 UTC
[null,null,["อัปเดตล่าสุด 2025-07-27 UTC"],[],[],null,["# Maps and places\n\nAllow your users to explore the world with rich maps provided by Google.\nIdentify locations with custom markers, augment the map data with image\noverlays, embed one or more maps as fragments, show details about nearby points\nof interest, and much more.\n\nMaps SDK\n--------\n\nThe [Maps SDK for Android](https://developers.google.com/maps/documentation/android-sdk/) is part of the Google Play services\nplatform and lets you include maps and customized mapping information in your\napp. Follow the [Get Started](https://developers.google.com/maps/documentation/android-sdk/start) guide to set up Google Play services\nin your project, then dive into the key features of the Maps SDK.\n\n#### Add a map to your app\n\nWith Maps SDK for Android, you can embed maps into an activity as a fragment\nusing an XML snippet. This SDK offers exciting features such as 3D maps;\nindoor, satellite, terrain, and hybrid maps; vector-based tiles for efficient\ncaching and drawing; animated transitions; and much more. Learn about how to\n[add a map object](https://developers.google.com/maps/documentation/android-sdk/map).\n\n#### Customize the map\n\nAdd markers onto the map to indicate special points of interest for your users.\nYou can define custom colors or icons for your map markers to match your app's\nlook and feel. To further enhance the app, draw polylines and polygons to\nindicate paths or regions, or provide complete image overlays. Learn more in the\nguide about how to [draw markers](https://developers.google.com/maps/documentation/android-sdk/marker).\n\n#### Control the user's view\n\nGive your users a different view of the world with the ability to control the\nrotation, tilt, zoom, and pan properties of the \"camera\" perspective of the map.\nLearn how to [change the view](https://developers.google.com/maps/documentation/android-sdk/views).\n\n#### Add Street View to your app\n\n[Add Street View](https://developers.google.com/maps/documentation/android-sdk/streetview) into an activity and let your users explore\nthe world through panoramic 360-degree views. Programmatically control the zoom\nand orientation (tilt and bearing) of the Street View camera, and animate the\ncamera movements over a given duration.\n\nPlaces API\n----------\n\nHelp your users find businesses, restaurants, and other points of interest based\non their current location. Use the [Places SDK for Android](https://developers.google.com/maps/documentation/places/android-sdk)\nto provide convenient, relevant information like contact information and\nbusiness hours when your users need it."]]