summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Lundblad <ml@dfupdate.se>2023-01-28 22:56:43 +0100
committerMarcus Lundblad <ml@dfupdate.se>2023-04-25 22:17:30 +0200
commit5bbff3e1e3b18f37affb7f14ee2e8676bbb8eb24 (patch)
tree879bf0442a622c7ac31a763f015a85ee3c13f14f
parent073bf637b0915986eb2ca2cbf47d4bfeb7e500d1 (diff)
downloadgnome-maps-5bbff3e1e3b18f37affb7f14ee2e8676bbb8eb24.tar.gz
placeEntry: Add getter for the map view
-rw-r--r--src/placeEntry.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/placeEntry.js b/src/placeEntry.js
index 19e6024c..be164020 100644
--- a/src/placeEntry.js
+++ b/src/placeEntry.js
@@ -85,6 +85,10 @@ export class PlaceEntry extends Gtk.SearchEntry {
return this._popover;
}
+ get mapView() {
+ return this._mapView;
+ }
+
constructor({mapView, maxChars, matchRoute, ...params}) {
super(params);