تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","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-24 بهوقت ساعت هماهنگ جهانی."],[[["`Map.getBounds()` returns the current map view's boundaries in degrees as a list: `[west, south, east, north]`."],["The optional `asGeoJSON` argument allows retrieval of bounds in GeoJSON format."],["This function is used to programmatically access and utilize the current map view extent within your code."]]],["The `Map.getBounds()` method retrieves the current map view's boundaries. It returns a list in the format \\[west, south, east, north] by default. If the optional `asGeoJSON` argument is set to true, it returns the bounds as GeoJSON. The code shows examples of using `getBounds()` with both list and GeoJSON outputs, and also how to retrieve other information such as map center, zoom level, and pixel scale.\n"]]