Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 25th, 2012  |  syntax: None  |  size: 0.28 KB  |  hits: 9  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Need to Check if a particular location is within the boundaries of the map
  2. GeoPoint topLeftGpt     = (GeoPoint) mapView.getProjection().fromPixels(0, 0);
  3. GeoPoint bottomRightGpt = (GeoPoint) mapView.getProjection().fromPixels(
  4.             mapView.getWidth(), mapView.getHeight());