ঘোষণা :
15 এপ্রিল, 2025 এর আগে আর্থ ইঞ্জিন ব্যবহার করার জন্য নিবন্ধিত সমস্ত অবাণিজ্যিক প্রকল্পগুলিকে অবশ্যই আর্থ ইঞ্জিন অ্যাক্সেস বজায় রাখার জন্য
অ-বাণিজ্যিক যোগ্যতা যাচাই করতে হবে।
ui.Map.onIdle
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
একটি কলব্যাক নিবন্ধন করে যেটি যখন মানচিত্রটি নড়াচড়া করা বন্ধ করে তখন বহিস্কার করা হয়৷
একটি আইডি ফেরত দেয় যা কলব্যাক নিবন্ধনমুক্ত করতে unlisten() এ পাস করা যেতে পারে।
ব্যবহার | রিটার্নস | Map. onIdle (callback) | স্ট্রিং |
যুক্তি | টাইপ | বিস্তারিত | এই: ui.map | ui.মানচিত্র | ui.Map উদাহরণ। |
callback | ফাংশন | মানচিত্র নিষ্ক্রিয় হয়ে গেলে ফায়ার করার কলব্যাক৷ কলব্যাকটি দুটি পরামিতি অতিক্রম করেছে: মানচিত্র কেন্দ্রের স্থানাঙ্ক (লন, ল্যাট এবং জুম সহ) এবং মানচিত্র উইজেটটি ধারণ করে এমন একটি বস্তু। |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট 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\u003eRegisters a function to be executed when the map stops moving.\u003c/p\u003e\n"],["\u003cp\u003eProvides an ID to remove the registered function later using \u003ccode\u003eunlisten()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe registered function receives the map's center coordinates and the map object itself.\u003c/p\u003e\n"],["\u003cp\u003eThis functionality is accessed through the \u003ccode\u003eonIdle()\u003c/code\u003e method of the \u003ccode\u003eui.Map\u003c/code\u003e instance.\u003c/p\u003e\n"]]],[],null,["# ui.Map.onIdle\n\n\u003cbr /\u003e\n\nRegisters a callback that's fired when the map stops moving.\n\n\u003cbr /\u003e\n\nReturns an ID which can be passed to unlisten() to unregister the callback.\n\n| Usage | Returns |\n|------------------------|---------|\n| Map.onIdle`(callback)` | String |\n\n| Argument | Type | Details |\n|----------------|----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| this: `ui.map` | ui.Map | The ui.Map instance. |\n| `callback` | Function | The callback to fire when the map becomes idle. The callback is passed two parameters: an object containing the coordinates of the map center (with keys lon, lat, and zoom) and the map widget itself. |"]]