Skip to content

Commit

Permalink
added some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
doneill committed Nov 4, 2015
1 parent 4f736b1 commit c1030bf
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,19 +82,23 @@ public void onCreate(Bundle savedInstanceState) {
mapView.setExtent(initextent, 0);
setContentView(mapView);

// Tiled Layer Basemap
ArcGISTiledMapServiceLayer basemap = new ArcGISTiledMapServiceLayer(getResources().getString(R.string.basemap));
mapView.addLayer(basemap);

// Operational Layer showing Kansas petroleum field production
operationalLayer = new ArcGISDynamicMapServiceLayer(getResources().getString(R.string.operational_layer));
mapView.addLayer(operationalLayer);

// feature service representing the field production layer to query and highlight selections
featureLayer = new ArcGISFeatureLayer(
getResources().getString(R.string.feature_layer),
MODE.SELECTION);
mapView.addLayer(featureLayer);

// Show feature selected with outline symbol
SimpleFillSymbol sfs = new SimpleFillSymbol(Color.TRANSPARENT);
sfs.setOutline(new SimpleLineSymbol(Color.YELLOW, 3));
sfs.setOutline(new SimpleLineSymbol(Color.YELLOW, 5));
featureLayer.setSelectionSymbol(sfs);

// set up local variables
Expand Down

0 comments on commit c1030bf

Please sign in to comment.