Commit 4a981a0d authored by Jonas Danielsson's avatar Jonas Danielsson

Fix up last commit

parent 3f256c58
......@@ -113,6 +113,8 @@ const MapView = new Lang.Class({
green: 0,
alpha: 100 });
let mode = Champlain.SelectionMode.SINGLE;
this._userLocationLayer = new Champlain.MarkerLayer({ selection_mode: mode });
this.view.add_layer(this._userLocationLayer);
......@@ -120,7 +122,7 @@ const MapView = new Lang.Class({
stroke_color: strokeColor });
this.view.add_layer(this._routeLayer);
let mode = Champlain.SelectionMode.SINGLE;
this._placeLayer = new Champlain.MarkerLayer({ selection_mode: mode });
this.view.add_layer(this._placeLayer);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment