From 2782571334c116a407c35e3a82753c317e0f76e0 Mon Sep 17 00:00:00 2001 From: Germap Date: Tue, 11 Jun 2024 21:17:59 -0500 Subject: [PATCH] Update plugins.en.md Fix #464 --- documentation/how-to/plugins.en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/how-to/plugins.en.md b/documentation/how-to/plugins.en.md index 4a92cb4af..e222b3167 100644 --- a/documentation/how-to/plugins.en.md +++ b/documentation/how-to/plugins.en.md @@ -71,7 +71,7 @@ The `iface.mainWindow()` function points at the QML ApplicationWindow instance, can parent their popups and items via `iface.mainWindow().contentItem` and have access to functionality such as displaying toast messages using `iface.mainWindow().displayToast(text)`. -The `iface.mapCanvas()` functions provides access the map canvas item and its properties, +The `iface.mapCanvas()` function provides access to the map canvas item and its properties, including the crucial `iface.mapCanvas().mapSettings` object where the extent, scale, etc. can be retrieved and modified. It can also be used to parent items as overlays to the map canvas.