[gnome-maps/wip/mlundblad/refresh-shapelayers: 1/2] shapeLayer: Add function to refresh layer
- From: Marcus Lundblad <mlundblad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps/wip/mlundblad/refresh-shapelayers: 1/2] shapeLayer: Add function to refresh layer
- Date: Thu, 25 Jun 2020 21:03:20 +0000 (UTC)
commit 3f7be4c1810aa1a28f0a72a55befbab31abcba3f
Author: Marcus Lundblad <ml update uu se>
Date: Thu Jun 25 23:01:50 2020 +0200
shapeLayer: Add function to refresh layer
src/shapeLayer.js | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/shapeLayer.js b/src/shapeLayer.js
index 1b9b00ae..9b2714f5 100644
--- a/src/shapeLayer.js
+++ b/src/shapeLayer.js
@@ -94,6 +94,9 @@ var ShapeLayer = GObject.registerClass({
this._mapView.view.add_overlay_source(this._mapSource, 255);
}
+ refresh() {
+ this._mapView.view.add_overlay_source(this._mapSource, 255);
+ }
_parseContent() {
/* Unimplemented */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]