[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2025-07-26 UTC"],[[["Returns a FeatureCollection where each drawn geometry is represented as a separate feature."],["The `toFeatureCollection()` method takes an optional `indexProperty` argument, allowing you to assign a unique index to each feature based on its layer."],["Access this functionality through the `ui.Map.DrawingTools` instance, specifically using the DrawingTools object."]]],["The `DrawingTools.toFeatureCollection` method converts drawn geometries into a FeatureCollection. It operates on a `ui.Map.DrawingTools` instance. The method accepts an `indexProperty` argument (a string). This property is added to each feature in the collection, and its value will reflect the index of the geometry layer where it was drawn. It returns a FeatureCollection object.\n"]]