โปรดทราบว่าคุณไม่จําเป็นต้องดําเนินการใดๆ "พิเศษ" เพื่อให้รูปภาพนี้ปรากฏในหน้า ไม่ต้องใช้ JavaScript สิ่งที่ต้องทำมีเพียงการสร้าง URL และวางภายในแท็ก <img> คุณวาง Google Maps Static API ไว้ที่ใดก็ได้ในหน้าเว็บที่วางรูปภาพได้
การตรวจสอบสิทธิ์ โควต้า ราคา และนโยบาย
การตรวจสอบสิทธิ์
หากต้องการใช้ Maps Static API คุณต้องเปิดใช้ API และรับข้อมูลเข้าสู่ระบบการตรวจสอบสิทธิ์ที่เหมาะสมก่อน โปรดดูข้อมูลเพิ่มเติมที่หัวข้อเริ่มต้นใช้งาน Google Maps Platform
คู่มือนักพัฒนาซอฟต์แวร์ Maps Static API มีไว้สำหรับนักพัฒนาเว็บไซต์และอุปกรณ์เคลื่อนที่ที่ต้องการรวมรูปภาพ Maps Static API ไว้ในหน้าเว็บหรือแอปพลิเคชันบนอุปกรณ์เคลื่อนที่ ซึ่งจะอธิบายเบื้องต้นเกี่ยวกับการใช้ API และเอกสารอ้างอิงเกี่ยวกับพารามิเตอร์ที่ใช้ได้
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2025-02-08 UTC"],[[["The Google Maps Static API allows you to embed Google Maps images on your webpage without JavaScript or dynamic loading by creating a URL with parameters and placing it within an `\u003cimg\u003e` tag."],["To use the API, you'll need a project with a billing account and the Maps Static API enabled, along with proper authentication credentials."],["The Maps Static API creates map images based on URL parameters sent through an HTTP request, returning the map as a displayable image."],["Usage of the API is subject to quotas, pricing, and the Google Maps Platform Terms of Service, details of which can be found in the provided documentation links."],["Street View imagery used in the API may come from both Google and public user-generated content, without an option to select a specific source."]]],[]]