เปิดใช้ Google Maps
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เลือกแพลตฟอร์ม:
Android
iOS
คุณมีตัวเลือก 2 รายการในการเปิดใช้ Google Maps
ไปที่ลิงก์ด้านล่างเพื่อดูข้อมูลเพิ่มเติม
-
URL ของ Maps (แนะนํา)
การใช้ URL ของ Maps ช่วยให้คุณสร้าง URL แบบข้ามแพลตฟอร์ม
ที่ใช้ได้ทั่วไปเพื่อเปิด Google Maps และทำการค้นหา ขอเส้นทางและ
การนำทาง รวมถึงแสดงมุมมองแผนที่และภาพพาโนรามาได้ URL สากลเหล่านี้
ช่วยให้จัดการคำขอแผนที่ได้กว้างขึ้น ไม่ว่าผู้ใช้จะอยู่บนแพลตฟอร์มใดก็ตาม
-
Intent ของ Google Maps สำหรับ Android
การใช้ Intent ในแอป Android จะช่วยให้คุณเริ่มกิจกรรมในแอปอื่นได้โดยอธิบายการดำเนินการง่ายๆ ที่ต้องการทำ (เช่น "แสดงแผนที่" หรือ "แสดงเส้นทางไปยังสนามบิน") ในออบเจ็กต์ Intent
แอป Google Maps สำหรับ Android รองรับ Intent ที่แตกต่างกันหลายรายการ ซึ่งช่วยให้คุณเปิดแอป Google Maps ในโหมดการแสดงผล การค้นหา การนำทาง หรือ Street View ได้
หากต้องการฝังแผนที่ในแอป โปรดดูคู่มือการเริ่มต้นใช้งาน Maps SDK สำหรับ Android
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-31 UTC
[null,null,["อัปเดตล่าสุด 2025-08-31 UTC"],[[["\u003cp\u003eLaunch Google Maps using universal, cross-platform URLs or platform-specific intents.\u003c/p\u003e\n"],["\u003cp\u003eMaps URLs are the recommended approach for building links that work across different platforms, enabling searches, directions, and map views.\u003c/p\u003e\n"],["\u003cp\u003eGoogle Maps Intents are available for Android, allowing your app to trigger specific actions within the Google Maps app.\u003c/p\u003e\n"],["\u003cp\u003eTo embed a map directly into your Android app, consult the Maps SDK for Android documentation.\u003c/p\u003e\n"]]],[],null,["Select platform: [Android](/maps/documentation/android-sdk/intents \"View this page for the Android platform docs.\") [iOS](/maps/documentation/ios-sdk/urlscheme \"View this page for the iOS platform docs.\")\n\n\u003cbr /\u003e\n\nYou have a couple of options available to launch Google Maps.\nFollow the links below to learn more.\n\n[Maps URLs](/maps/documentation/urls/guide) (recommended)\n\n: Using Maps URLs, you can build a universal, cross-platform\n URL to launch Google Maps and perform searches, get directions and\n navigation, and display map views and panoramic images. These universal\n URLs allow for broader handling of the maps requests no matter which\n platform the user is on.\n\n[Google Maps Intents for Android](https://developer.android.com/guide/components/google-maps-intents)\n\n: Using intents in your Android app, you can start an activity in another\n app by describing a simple action you'd like to perform (such as \"display\n a map\" or \"show directions to the airport\") in an `Intent` object.\n The Google Maps app for Android supports several different intents, allowing\n you to launch the Google Maps app in display, search, navigation,\n or Street View modes.\n\nIf you want to embed a map in your app, please refer to the\nMaps SDK for Android [guide to getting started](/maps/documentation/android-sdk/start)."]]