@@ -0,0 +1,1631 @@
+package edu.yalestc.yalepublic;%0A%0Aimport android.app.ActionBar;%0Aimport android.app.Activity;%0Aimport android.os.Bundle;%0A%0Aimport com.google.android.gms.maps.CameraUpdateFactory;%0Aimport com.google.android.gms.maps.GoogleMap;%0Aimport com.google.android.gms.maps.MapFragment;%0Aimport com.google.android.gms.maps.model.LatLng;%0Aimport com.google.android.gms.maps.model.MarkerOptions;%0A%0A/**%0A * Created by Jason Liu on 10/18/14.%0A */%0Apublic class MapSearch extends Activity %7B%0A%0A    @Override%0A    protected void onCreate(Bundle savedInstanceState) %7B%0A        super.onCreate(savedInstanceState);%0A        ActionBar actionbar = getActionBar();%0A        actionbar.setDisplayHomeAsUpEnabled(true);     // Show home as a back arrow%0A        //actionbar.setDisplayShowHomeEnabled(true);     // Show application logo%0A        actionbar.setDisplayShowTitleEnabled(true);    // Show activity title/subtitle%0A        actionbar.setDisplayUseLogoEnabled(false);     // Use activity logo instead of activity icon%0A        actionbar.setTitle(getString(R.string.maps));  // Set title%0A%0A        setContentView(R.layout.map_simple);%0A%0A        // Get a handle to the Map Fragment%0A        GoogleMap map = ((MapFragment) getFragmentManager()%0A                .findFragmentById(R.id.map)).getMap();%0A%0A        LatLng yale = new LatLng(41.3111, -72.9267);   // The - signifies the Western Hemisphere%0A%0A        map.setMyLocationEnabled(true);%0A        map.moveCamera(CameraUpdateFactory.newLatLngZoom(yale, 13));%0A%0A        map.addMarker(new MarkerOptions()%0A                .title(%22Yale%22)%0A                .snippet(%22The best university ever.%22)%0A                .position(yale));%0A    %7D%0A%0A%7D%0A

Add MapSearch file