Android Open Source - surveygcp Gcp






From Project

Back to project page surveygcp.

License

The source code is released under:

GNU General Public License

If you think the Android project surveygcp listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package org.droidplanner.gcp.gcp;
//from  w  ww .j ava  2s.c o m
import org.droidplanner.gcp.fragments.markers.GcpMarker;
import org.droidplanner.gcp.fragments.markers.MarkerManager.MarkerSource;

import android.content.Context;

import com.google.android.gms.maps.model.LatLng;
import com.google.android.gms.maps.model.Marker;
import com.google.android.gms.maps.model.MarkerOptions;

public class Gcp implements MarkerSource {
  public LatLng coord;
  public boolean isMarked;

  public Gcp(double lat, double lng) {
    this.coord = new LatLng(lat, lng);
    this.isMarked = false;
  }

  public void toogleState() {
    isMarked = !isMarked;
  }

  @Override
  public MarkerOptions build(Context context) {
    return GcpMarker.build(this);
  }

  @Override
  public void update(Marker markerFromGcp, Context context) {
    GcpMarker.update(markerFromGcp, this);
  }

  @Override
  public String toString() {
    return coord.toString() + " marked? "+ isMarked;
  }
}




Java Source Code List

android.UnusedStub.java
org.droidplanner.gcp.GCPApp.java
org.droidplanner.gcp.activitys.GCPActivity.java
org.droidplanner.gcp.activitys.SettingsActivity.java
org.droidplanner.gcp.dialogs.openfile.OpenFileDialog.java
org.droidplanner.gcp.dialogs.openfile.OpenGcpFileDialog.java
org.droidplanner.gcp.file.DirectoryPath.java
org.droidplanner.gcp.file.FileList.java
org.droidplanner.gcp.file.IO.GcpReader.java
org.droidplanner.gcp.fragments.GcpMapFragment.java
org.droidplanner.gcp.fragments.helpers.OfflineMapFragment.java
org.droidplanner.gcp.fragments.markers.GcpMarker.java
org.droidplanner.gcp.fragments.markers.MarkerManager.java
org.droidplanner.gcp.gcp.Gcp.java
org.droidplanner.gcp.helpers.LocalMapTileProvider.java
org.droidplanner.gcp.helpers.TTS.java