ঘোষণা :
15 এপ্রিল, 2025 এর আগে আর্থ ইঞ্জিন ব্যবহার করার জন্য নিবন্ধিত সমস্ত অবাণিজ্যিক প্রকল্পগুলিকে অবশ্যই আর্থ ইঞ্জিন অ্যাক্সেস বজায় রাখার জন্য
অ-বাণিজ্যিক যোগ্যতা যাচাই করতে হবে।
ui.Map.DrawingTools.setDrawModes
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
অঙ্কন টুলে উপলব্ধ অঙ্কন মোড আকার সেট করে। উপলব্ধ ড্র মোড আকারগুলি হল: বিন্দু, রেখা, বহুভুজ এবং আয়তক্ষেত্র।
ব্যবহার | রিটার্নস | DrawingTools. setDrawModes ( drawModes ) | |
যুক্তি | টাইপ | বিস্তারিত | এই: ui.map.drawingtools | ui.Map.Drawing Tools | ui.Map.DrawingTools উদাহরণ। |
drawModes | তালিকা<স্ট্রিং>, ঐচ্ছিক | সক্রিয় করার জন্য ড্র মোডের তালিকা। সব সমর্থিত বেশী ডিফল্ট. |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eSets available drawing shapes (point, line, polygon, rectangle) for the drawing tool.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDrawingTools.setDrawModes()\u003c/code\u003e method allows customization of available drawing modes on a map.\u003c/p\u003e\n"],["\u003cp\u003eBy default, all supported drawing shapes are enabled, but this can be modified using the \u003ccode\u003edrawModes\u003c/code\u003e argument.\u003c/p\u003e\n"]]],["The `DrawingTools.setDrawModes` function configures the drawing tool's available shapes. It accepts an optional list of `drawModes` to enable, which defaults to all supported shapes (point, line, polygon, and rectangle). This function modifies the `ui.Map.DrawingTools` instance, setting the shapes that can be used. It does not return any value.\n"],null,["# ui.Map.DrawingTools.setDrawModes\n\n\u003cbr /\u003e\n\nSets the available draw mode shapes on the drawing tool. The available draw mode shapes are: point, line, polygon, and rectangle.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|--------------------------------------------|---------|\n| DrawingTools.setDrawModes`(`*drawModes*`)` | |\n\n| Argument | Type | Details |\n|-----------------------------|--------------------------|-------------------------------------------------------------------|\n| this: `ui.map.drawingtools` | ui.Map.DrawingTools | The ui.Map.DrawingTools instance. |\n| `drawModes` | List\\\u003cString\\\u003e, optional | The list of draw modes to enable. Defaults to all supported ones. |"]]