Code example for LatLngBounds

Methods: contains

0
	 * @param location, given location to test 
	 * @return true if inside, otherwise false 
	 */ 
	public boolean isLocationInBound(LatLng latlng){		
		// Bounds the map to a given area 
		LatLngBounds strictBounds = new LatLngBounds(southEast, northWest);
		 
		return(strictBounds.contains(latlng));		
	} 
	 
	// NOT FINISHED 
	private void printNavigationPopup(LatLng point){
		final LatLng _point = point;		
		 
		// Where to display it, set context 
		AlertDialog.Builder builder = new AlertDialog.Builder(owningActivity);
		    // Get the layout inflater 
		    LayoutInflater inflater = owningActivity.getLayoutInflater();
 
		    // Inflate and set the layout for the dialog 
		    // Pass null as the parent view because its going in the dialog layout