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

নিম্নলিখিত কোড নমুনা প্রদর্শন করে কিভাবে Polyline
স্ট্রাকট ব্যবহার করে পলিলাইন যোগ করতে হয় এবং এটিকে 3D স্পেসে অবস্থান করতে হয়।
সুইফট
Polyline(coordinates: [
.init(latitude: 37.7749, longitude: -122.4194, altitude: 100),
.init(latitude: 37.7750, longitude: -122.4193, altitude: 100),
.init(latitude: 37.7751, longitude: -122.4192, altitude: 100)
]
.stroke(.init(strokeColor: .red, strokeWidth: 5.0, outerColor: .blue, outerWidth: 0.2))
.contour(.init(isGeodesic: false, extruded: true, drawOccludedSegments: true)))
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট 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,["# Add a polyline to a map\n\nSelect platform: [Android](/maps/documentation/maps-3d/android-sdk/add-polylines \"View this page for the Android platform docs.\") [iOS](/maps/documentation/maps-3d/ios-sdk/add-polylines \"View this page for the iOS platform docs.\") [JavaScript](/maps/documentation/javascript/3d/shapes-lines \"View this page for the JavaScript 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 add a polyline to a 3D map.\n\n\nThe following code sample demonstrates how to use the [`Polyline`](/maps/documentation/maps-3d/ios-sdk/reference/Structs/Polyline) struct to add a polyline and position it in 3D space. \n\n### Swift\n\n```swift\n Polyline(coordinates: [\n .init(latitude: 37.7749, longitude: -122.4194, altitude: 100),\n .init(latitude: 37.7750, longitude: -122.4193, altitude: 100),\n .init(latitude: 37.7751, longitude: -122.4192, altitude: 100)\n ]\n .stroke(.init(strokeColor: .red, strokeWidth: 5.0, outerColor: .blue, outerWidth: 0.2))\n .contour(.init(isGeodesic: false, extruded: true, drawOccludedSegments: true)))\n \n \n```"]]