// Path: app/src/main/java/discovery/contentful/utils/IntentConsts.java
// public class IntentConsts {
//   private IntentConsts() {
//   }
// 
//   public static final String PACKAGE_NAME = CFApp.getInstance().getPackageName();
// 
//   public static final String EXTRA_SPACE = PACKAGE_NAME + ".EXTRA_SPACE";
//   public static final String EXTRA_CREDENTIALS = PACKAGE_NAME + ".EXTRA_CREDENTIALS";
//   public static final String EXTRA_CONTENT_TYPE = PACKAGE_NAME + ".EXTRA_CONTENT_TYPE";
//   public static final String EXTRA_ENTRY = PACKAGE_NAME + ".EXTRA_ENTRY";
//   public static final String EXTRA_ASSET = PACKAGE_NAME + ".EXTRA_ASSET";
//   public static final String EXTRA_TEXT = PACKAGE_NAME + ".EXTRA_TEXT";
//   public static final String EXTRA_LOCATION = PACKAGE_NAME + ".EXTRA_LOCATION";
//   public static final String EXTRA_TITLE = PACKAGE_NAME + ".EXTRA_TITLE";
//   public static final String EXTRA_LIST = PACKAGE_NAME + ".EXTRA_LIST";
//   public static final String EXTRA_URL = PACKAGE_NAME + ".EXTRA_URL";
//   public static final String EXTRA_ALLOW_LINKS = PACKAGE_NAME + ".EXTRA_ALLOW_LINKS";
//   public static final String EXTRA_CONTENT_TYPES_MAP = PACKAGE_NAME + ".EXTRA_CONTENT_TYPES_MAP";
// 
//   /**
//    * DBIntentService
//    */
//   public static class DB {
//     public static final String ACTION_SAVE_CREDENTIALS = PACKAGE_NAME + ".ACTION_SAVE_CREDENTIALS";
//   }
// }


import android.content.Intent;
import android.os.Bundle;
import discovery.contentful.R;
import discovery.contentful.utils.IntentConsts;
import com.google.android.gms.maps.CameraUpdateFactory;
import com.google.android.gms.maps.GoogleMap;
import com.google.android.gms.maps.OnMapReadyCallback;
import com.google.android.gms.maps.SupportMapFragment;
import com.google.android.gms.maps.model.LatLng;
import com.google.android.gms.maps.model.MarkerOptions;
package discovery.contentful.activities;


public class MapActivity extends CFFragmentActivity implements OnMapReadyCallback {
  @Override protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    setContentView(R.layout.activity_map);

    SupportMapFragment mapFragment = (SupportMapFragment) getSupportFragmentManager()
        .findFragmentById(R.id.fragment_map);

    mapFragment.getMapAsync(this);
  }

  @Override public void onMapReady(GoogleMap map) {
    Intent intent = getIntent();
// Path: app/src/main/java/discovery/contentful/utils/IntentConsts.java
// public class IntentConsts {
//   private IntentConsts() {
//   }
// 
//   public static final String PACKAGE_NAME = CFApp.getInstance().getPackageName();
// 
//   public static final String EXTRA_SPACE = PACKAGE_NAME + ".EXTRA_SPACE";
//   public static final String EXTRA_CREDENTIALS = PACKAGE_NAME + ".EXTRA_CREDENTIALS";
//   public static final String EXTRA_CONTENT_TYPE = PACKAGE_NAME + ".EXTRA_CONTENT_TYPE";
//   public static final String EXTRA_ENTRY = PACKAGE_NAME + ".EXTRA_ENTRY";
//   public static final String EXTRA_ASSET = PACKAGE_NAME + ".EXTRA_ASSET";
//   public static final String EXTRA_TEXT = PACKAGE_NAME + ".EXTRA_TEXT";
//   public static final String EXTRA_LOCATION = PACKAGE_NAME + ".EXTRA_LOCATION";
//   public static final String EXTRA_TITLE = PACKAGE_NAME + ".EXTRA_TITLE";
//   public static final String EXTRA_LIST = PACKAGE_NAME + ".EXTRA_LIST";
//   public static final String EXTRA_URL = PACKAGE_NAME + ".EXTRA_URL";
//   public static final String EXTRA_ALLOW_LINKS = PACKAGE_NAME + ".EXTRA_ALLOW_LINKS";
//   public static final String EXTRA_CONTENT_TYPES_MAP = PACKAGE_NAME + ".EXTRA_CONTENT_TYPES_MAP";
// 
//   /**
//    * DBIntentService
//    */
//   public static class DB {
//     public static final String ACTION_SAVE_CREDENTIALS = PACKAGE_NAME + ".ACTION_SAVE_CREDENTIALS";
//   }
// }


// Path: app/src/main/java/discovery/contentful/activities/MapActivity.java
import android.content.Intent;
import android.os.Bundle;
import discovery.contentful.R;
import discovery.contentful.utils.IntentConsts;
import com.google.android.gms.maps.CameraUpdateFactory;
import com.google.android.gms.maps.GoogleMap;
import com.google.android.gms.maps.OnMapReadyCallback;
import com.google.android.gms.maps.SupportMapFragment;
import com.google.android.gms.maps.model.LatLng;
import com.google.android.gms.maps.model.MarkerOptions;

package discovery.contentful.activities;


public class MapActivity extends CFFragmentActivity implements OnMapReadyCallback {
  @Override protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    setContentView(R.layout.activity_map);

    SupportMapFragment mapFragment = (SupportMapFragment) getSupportFragmentManager()
        .findFragmentById(R.id.fragment_map);

    mapFragment.getMapAsync(this);
  }

  @Override public void onMapReady(GoogleMap map) {
    Intent intent = getIntent();
    LatLng latLng = intent.getParcelableExtra(IntentConsts.EXTRA_LOCATION);