[gnome-maps] mapView: Remove unused marker layer
- From: Marcus Lundblad <mlundblad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] mapView: Remove unused marker layer
- Date: Wed, 29 Jun 2022 17:38:17 +0000 (UTC)
commit 207b9e5070ab6da3a3a9463b21798fda717b2718
Author: Marcus Lundblad <ml dfupdate se>
Date: Wed Jun 29 19:37:04 2022 +0200
mapView: Remove unused marker layer
Remove the _annotationMarkerLayer that
is never used.
src/mapView.js | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/src/mapView.js b/src/mapView.js
index fc28dc50..5aa43155 100644
--- a/src/mapView.js
+++ b/src/mapView.js
@@ -231,9 +231,6 @@ export class MapView extends GtkChamplain.Embed {
this._instructionMarkerLayer = new Champlain.MarkerLayer({ selection_mode: mode });
this.view.add_layer(this._instructionMarkerLayer);
- this._annotationMarkerLayer = new Champlain.MarkerLayer({ selection_mode: mode });
- this.view.add_layer(this._annotationMarkerLayer);
-
ShapeLayer.SUPPORTED_TYPES.push(GeoJSONShapeLayer);
ShapeLayer.SUPPORTED_TYPES.push(KmlShapeLayer);
ShapeLayer.SUPPORTED_TYPES.push(GpxShapeLayer);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]