Skip to content

Commit

Permalink
refactored deprecated methods
Browse files Browse the repository at this point in the history
  • Loading branch information
doneill committed Nov 30, 2015
1 parent b2064f5 commit e06880a
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,13 +192,9 @@ public void onCreate(Bundle savedInstanceState) {
mResultsLayer.setSelectionColorWidth(6);
mMapView.addLayer(mResultsLayer);


mCoffeeMapIcon = new PictureMarkerSymbol(getApplicationContext(), this
.getResources().getDrawable(R.drawable.ic_local_cafe_black));
mPizzaMapIcon = new PictureMarkerSymbol(getApplicationContext(), this
.getResources().getDrawable(R.drawable.ic_local_pizza_black));
mBarMapIcon = new PictureMarkerSymbol(getApplicationContext(), this
.getResources().getDrawable(R.drawable.ic_local_drink_black));
mCoffeeMapIcon = new PictureMarkerSymbol(getApplicationContext(), getDrawable(R.drawable.ic_local_cafe_black));
mPizzaMapIcon = new PictureMarkerSymbol(getApplicationContext(), getDrawable(R.drawable.ic_local_pizza_black));
mBarMapIcon = new PictureMarkerSymbol(getApplicationContext(), getDrawable(R.drawable.ic_local_drink_black));

setupLocator();
setupLocationListener();
Expand Down

0 comments on commit e06880a

Please sign in to comment.