মার্কার উচ্চতা কনফিগার করুন
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
প্ল্যাটফর্ম নির্বাচন করুন: Android iOS আপনি একটি 3D মানচিত্রে যোগ করা মার্কারগুলির উচ্চতা কাস্টমাইজ করতে পারেন।

নিম্নলিখিত কোড নমুনা প্রদর্শন করে কিভাবে Marker
স্ট্রাকট ব্যবহার করে একটি মার্কারের উচ্চতা এবং উচ্চতা মোড কনফিগার করে এটিকে বের করে আনতে এবং তার উচ্চতা সেট করে।
সুইফট
@State var extrudedMarker: Marker = .init(
position: .init(
latitude: 37.78980534,
longitude: -122.3969349,
altitude: 50.0),
altitudeMode: .relativeToGround,
collisionBehavior: .required,
extruded: true,
drawsWhenOccluded: true,
sizePreserved: true,
zIndex: 0,
label: "Extruded marker"
)
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-08-29 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-08-29 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# Configure marker altitude\n\nSelect platform: [Android](/maps/documentation/maps-3d/android-sdk/configure-marker-altitude \"View this page for the Android platform docs.\") [iOS](/maps/documentation/maps-3d/ios-sdk/configure-marker-altitude \"View this page for the iOS platform docs.\")\n\n\u003cbr /\u003e\n\n| This product or feature is Experimental (pre-GA). Pre-GA products and features might have limited support, and changes to pre-GA products and features might not be compatible with other pre-GA versions. Pre-GA Offerings are covered by the [Google\n| Maps Platform Service Specific Terms](https://cloud.google.com/maps-platform/terms/maps-service-terms). For more information, see the [launch stage descriptions](/maps/launch-stages).\n\n\nYou can customize the altitude of markers that you add to a 3D map.\n\n\nThe following code sample demonstrates how use the [`Marker` struct](/maps/documentation/maps-3d/ios-sdk/reference/Structs/Marker) configure the altitude and altitude mode of a marker to extrude it and set its altitude. \n\n### Swift\n\n```swift\n@State var extrudedMarker: Marker = .init(\n position: .init(\n latitude: 37.78980534,\n longitude: -122.3969349,\n altitude: 50.0),\n altitudeMode: .relativeToGround,\n collisionBehavior: .required,\n extruded: true,\n drawsWhenOccluded: true,\n sizePreserved: true,\n zIndex: 0,\n label: \"Extruded marker\"\n)\n\n \n```"]]