با مجموعهها، منظم بمانید ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
توسعه دهندگان منطقه اقتصادی اروپا (EEA).
Maps Static API به شما امکان می دهد یک تصویر Google Maps را بدون نیاز به جاوا اسکریپت یا هر بارگذاری صفحه پویا در صفحه وب خود جاسازی کنید. سرویس Maps Static API نقشه شما را بر اساس پارامترهای URL ارسال شده از طریق یک درخواست استاندارد HTTP ایجاد می کند و نقشه را به عنوان تصویری که می توانید در صفحه وب خود نمایش دهید برمی گرداند.
یک مثال سریع
مثال زیر حاوی URL یک تصویر Maps Static API از مرکز شهر نیویورک است که در زیر نمایش داده شده است:
توجه داشته باشید که برای نمایش این تصویر در صفحه نیازی به انجام کار «خاصی» ندارید. نیازی به جاوا اسکریپت نیست. تنها کاری که باید انجام می دادیم این بود که یک URL ایجاد کنیم و آن را در یک تگ <img> قرار دهیم. میتوانید یک Google Maps Static API را در هر جایی از صفحه وب خود قرار دهید، جایی که میتوانید یک تصویر قرار دهید.
احراز هویت، سهمیه بندی، قیمت گذاری، و سیاست ها
احراز هویت
برای استفاده از Maps Static API، ابتدا باید API را فعال کرده و اعتبار احراز هویت مناسب را دریافت کنید. برای اطلاعات بیشتر، شروع به کار با Google Maps Platform را ببینید.
سهمیه بندی و قیمت گذاری
برای جزئیات بیشتر در مورد سهمیهها و قیمتگذاری تعیینشده برای Maps Static API، صفحه استفاده و صورتحساب را مرور کنید.
راهنمای توسعه دهندگان Maps Static API برای توسعه دهندگان وب سایت و تلفن همراه که می خواهند تصاویر Maps Static API را در یک صفحه وب یا برنامه تلفن همراه قرار دهند در نظر گرفته شده است. مقدمه ای برای استفاده از API و مواد مرجع در پارامترهای موجود ارائه می دهد.
تاریخ آخرین بهروزرسانی 2025-08-09 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","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-08-09 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eThe 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 \u003ccode\u003e<img>\u003c/code\u003e tag.\u003c/p\u003e\n"],["\u003cp\u003eTo use the API, you'll need a project with a billing account and the Maps Static API enabled, along with proper authentication credentials.\u003c/p\u003e\n"],["\u003cp\u003eThe Maps Static API creates map images based on URL parameters sent through an HTTP request, returning the map as a displayable image.\u003c/p\u003e\n"],["\u003cp\u003eUsage 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.\u003c/p\u003e\n"],["\u003cp\u003eStreet View imagery used in the API may come from both Google and public user-generated content, without an option to select a specific source.\u003c/p\u003e\n"]]],["The Maps Static API lets users embed Google Maps images on webpages via HTTP requests, without JavaScript. It requires a project with a billing account and API enablement. The API creates maps based on URL parameters and returns them as images. Users need to obtain authentication credentials. Usage is subject to quotas, pricing, and Google Maps Platform Terms of Service. The Street View imagery can come from Google or user-generated content, and users cannot control the source.\n"],null,["**European Economic Area (EEA) developers** If your billing address is in the European Economic Area, effective on 8 July 2025, the [Google\n| Maps Platform EEA Terms of Service](https://cloud.google.com/terms/maps-platform/eea) will apply to your use of the Services. [Learn more](/maps/comms/eea/faq). In addition, certain content from the Maps Static API will no longer be returned. [Learn more](/maps/comms/eea/maps-static).\n**Before you begin:** Before you start using the Maps Static API, you need a project with a billing account and the Maps Static API enabled. We recommend creating multiple Project Owners and Billing Administrators, so that you'll always have someone with these roles available to your team. To learn more, see [Set up in Cloud console](/maps/documentation/maps-static/cloud-setup). \n\nThe Maps Static API lets you embed a Google Maps image on your\nweb page without requiring JavaScript or any dynamic page loading. The\nMaps Static API service creates your map based on URL parameters sent\nthrough a standard HTTP request and returns the map as an image you can\ndisplay on your web page.\n| **Note:** Street View imagery [comes\n| from two sources](https://www.google.com/streetview/): Google (non-public developer-controlled imagery), and the public (UGC, or public user-generated content). Note that there is no way to use only one source of Street View imagery over the other. Learn more about our [Street view imagery privacy policy](https://www.google.com/streetview/privacy/).\n\nA quick example\n\nThe following example contains the URL of a Maps Static API image of downtown\nNew York City, which is displayed below: \n\n```\nhttps://maps.googleapis.com/maps/api/staticmap?center=Brooklyn+Bridge,New+York,NY&zoom=13&size=600x300&maptype=roadmap\n&markers=color:blue%7Clabel:S%7C40.702147,-74.015794&markers=color:green%7Clabel:G%7C40.711614,-74.012318\n&markers=color:red%7Clabel:C%7C40.718217,-73.998284\n&key=YOUR_API_KEY&signature=YOUR_SIGNATURE\n```\n\nNotice that you don't need to do anything \"special\" to get this image to\nshow up on the page. No JavaScript is required. All we needed to do was\ncreate a URL, and place it within an `\u003cimg\u003e` tag. You can\nplace a Google Maps Static API anywhere on your webpage where you can place an\nimage.\n\nAuthentication, quotas, pricing, and policies\n\nAuthentication\n\nTo use the Maps Static API, you must first enable the API and obtain the proper\nauthentication credentials. For more information, see\n[Get Started with Google Maps Platform](/maps/get-started).\n\nQuotas and pricing\n\nReview the [usage and billing](/maps/documentation/maps-static/usage-and-billing)\npage for details on the quotas and pricing set for the Maps Static API.\n\nPolicies\n\nUse of the Maps Static API must be in accordance with the\n[Google Maps Platform Terms of Service](https://cloud.google.com/maps-platform/terms/).\n\nLearn more\n\nSee the [Maps Static API developers guide](/maps/documentation/maps-static/dev-guide) for more examples, parameter usage,\ntroubleshooting, and other details.\n\nThe [Maps Static API developers\nguide](/maps/documentation/maps-static/dev-guide) is intended for website and mobile developers who want to include Maps Static API\nimages within a webpage or mobile application. It provides an introduction to using the API and\nreference material on the available parameters."]]