Enum Type
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
تایپ کنید یک عدد نشان دهنده نوع نقشه برای ارائه.
برای فراخوانی یک enum، کلاس والد، نام و ویژگی آن را فراخوانی می کنید. برای مثال Maps.Type.ROADMAP
.
همچنین ببینید
خواص
ویژگی | تایپ کنید | شرح |
---|
ROADMAP | Enum | یک نقشه راه استاندارد، همانطور که به طور معمول در وب سایت Google Maps نشان داده شده است. |
SATELLITE | Enum | یک نقشه ماهواره ای |
TERRAIN | Enum | نقشه تسکین فیزیکی، زمین و پوشش گیاهی را نشان می دهد. |
HYBRID | Enum | ترکیبی از نقشه های ماهواره و نقشه راه که لایه شفافی از خیابان های اصلی و نام مکان ها را در نقشه ماهواره ای نشان می دهد. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003e\u003ccode\u003eMaps.Type\u003c/code\u003e is an enum used to specify the type of map to be displayed, such as roadmap, satellite, terrain, or hybrid.\u003c/p\u003e\n"],["\u003cp\u003eYou can call a specific map type using the syntax \u003ccode\u003eMaps.Type.[property]\u003c/code\u003e, for example, \u003ccode\u003eMaps.Type.ROADMAP\u003c/code\u003e for a standard roadmap view.\u003c/p\u003e\n"],["\u003cp\u003eThis enum offers four map type properties: \u003ccode\u003eROADMAP\u003c/code\u003e, \u003ccode\u003eSATELLITE\u003c/code\u003e, \u003ccode\u003eTERRAIN\u003c/code\u003e, and \u003ccode\u003eHYBRID\u003c/code\u003e, each representing a different map style.\u003c/p\u003e\n"]]],[],null,["# Enum Type\n\nType\n\nAn enum representing the type of map to render.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nMaps.Type.ROADMAP`.\n\n#### See also\n\n- [Google Static Maps API](/maps/documentation/staticmaps#MapTypes) \n\n### Properties\n\n| Property | Type | Description |\n|-------------|--------|--------------------------------------------------------------------------------------------------------------------------------|\n| `ROADMAP` | `Enum` | A standard roadmap, as is normally shown on the Google Maps website. |\n| `SATELLITE` | `Enum` | A satellite map. |\n| `TERRAIN` | `Enum` | A physical relief map, showing terrain and vegetation. |\n| `HYBRID` | `Enum` | A hybrid of the satellite and roadmap maps, showing a transparent layer of major streets and place names on the satellite map. |"]]