با نشانگرهای پیشرفته میتوانید پسزمینه نشانگر پیشفرض، حاشیه، متن حروف، رفتار برخورد را سفارشی کنید و نماد نشانگر پیشفرض را با یک تصویر گرافیکی سفارشی جایگزین کنید.
شروع کردن
نشانگرهای پیشرفته به یک mapID معتبر نیاز دارند. شناسه نقشه یک شناسه منحصر به فرد است که یک نمونه از نقشه گوگل را نشان می دهد. میتوانید شناسههای نقشه ایجاد کنید و سبک مرتبط با شناسه نقشه را در هر زمان در کنسول Google Cloud بهروزرسانی کنید.
تاریخ آخرین بهروزرسانی 2025-08-29 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-08-29 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eAdvanced markers let you customize the marker's appearance, including background, border, text, and icon, using a custom graphic image or built-in styles.\u003c/p\u003e\n"],["\u003cp\u003eTo use advanced markers, you need a valid mapID, which is a unique identifier for your Google Map and can be created in the Google Cloud console.\u003c/p\u003e\n"],["\u003cp\u003eWhile a mapID is required for production, you can use the \u003ccode\u003eDEMO_MAP_ID\u003c/code\u003e for testing purposes in your app code.\u003c/p\u003e\n"],["\u003cp\u003eAdvanced markers are only supported in Google Maps SDK 8.0.0 for iOS 14+ and are not available for iOS 13 and below.\u003c/p\u003e\n"]]],["Advanced markers allow customization of default markers, including background, border, glyph text, collision behavior, and custom icons. They require a valid map ID, created in the Google Cloud console, to uniquely identify a Google Map instance. Testing can utilize the `DEMO_MAP_ID`, but it's not for production. The capabilities were introduced in Google Maps SDK 8.0.0, supporting iOS 14 and above. You can select documentation from Android, iOS and JavaScript platforms.\n"],null,["# Overview\n\nSelect platform: [Android](/maps/documentation/android-sdk/advanced-markers/overview \"View this page for the Android platform docs.\") [iOS](/maps/documentation/ios-sdk/advanced-markers/overview \"View this page for the iOS platform docs.\") [JavaScript](/maps/documentation/javascript/advanced-markers/overview \"View this page for the JavaScript platform docs.\")\n\n\u003cbr /\u003e\n\nWith advanced markers you can customize the default marker's background, border,\nglyph text, collision behavior and replace the default marker icon with a custom\ngraphic image.\n\n| **Important:** Advanced marker capabilities were released in Google Maps SDK 8.0.0 for iOS 14+. Versions iOS 13 and below are not supported in Google Maps SDK 8.0.0.\n\nGetting started\n---------------\n\nAdvanced markers require a valid [mapID](/maps/documentation/get-map-id). A map\nID is a unique identifier that represents a single instance of a Google Map. You\ncan create map IDs and update a style associated with a map ID at any time in\nthe [Google Cloud console](/maps/documentation/ios-sdk/cloud-setup).\n\n| **Important:** For testing, you can skip the step of creating and configuring a [map\n| ID](/maps/documentation/get-map-id), by using mapId: [`DEMO_MAP_ID`](/maps/documentation/ios-sdk/reference/objc/Classes/GMSMapID) in your app code. `DEMO_MAP_ID` is intended for testing purposes only. Don't use `DEMO_MAP_ID` in a production environment."]]