Skip to content

Commit

Permalink
LocationLayer: move lazy enable to application opensciencemap#171
Browse files Browse the repository at this point in the history
  • Loading branch information
devemux86 committed Dec 8, 2016
1 parent b6dc72b commit 3e4aad4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public void onCreate(Bundle savedInstanceState) {
locationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE);

locationLayer = new LocationLayer(mMap);
locationLayer.setEnabled(false);
mMap.layers().add(locationLayer);
}

Expand Down
1 change: 0 additions & 1 deletion vtm/src/org/oscim/layers/LocationLayer.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ public LocationLayer(Map map) {
super(map);

mRenderer = locationRenderer = new LocationRenderer(mMap, this);
setEnabled(false);
}

@Override
Expand Down

0 comments on commit 3e4aad4

Please sign in to comment.