Skip to content

Instantly share code, notes, and snippets.

@BrunoCaimar
Created June 4, 2012 14:10
Show Gist options
  • Save BrunoCaimar/2868637 to your computer and use it in GitHub Desktop.
Save BrunoCaimar/2868637 to your computer and use it in GitHub Desktop.
Esri.Android.GetExtent
Envelope env = new Envelope();
map.getExtent().queryEnvelope(env);
double xMax = env.getXMax();
double xMin = env.getXMin();
double yMax = env.getYMax();
double yMin = env.getYMin();
String msg = "xMax:" + xMax + " xMin:" + xMin + " yMax:"
+ yMax + " yMin:" + yMin;
Log.d("onSingleTap", msg);
Toast.makeText(PMMA.this, msg, Toast.LENGTH_SHORT);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment