// Path: src/com/simplegeo/client/http/exceptions/ValidLayerException.java
// public class ValidLayerException extends Exception {
// 
// 	/**
// 	 * 
// 	 */
// 	private static final long serialVersionUID = -3256654766900362800L;
// 
// 	public ValidLayerException(String string) {
// 		super(string);
// 	}
// 
// }
// 
// Path: src/com/simplegeo/client/utilities/SimpleGeoUtilities.java
// public class SimpleGeoUtilities {
// 
// 	static public String commaSeparatedString(List<String> strings) {
// 		
// 		String mainString = "";
// 		for(String string : strings)
// 			mainString += "," + string;
// 		
// 		mainString.replaceFirst(",", "");
// 		
// 		return mainString;
// 		
// 	}
// }


import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.simplegeo.client.http.exceptions.ValidLayerException;
import com.simplegeo.client.utilities.SimpleGeoUtilities;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
	 */
	public String getUri() throws UnsupportedEncodingException {
		return String.format("/records/%s/nearby", URLEncoder.encode(layer, "UTF-8"));
	}
	
	/**
	 * @see com.simplegeo.client.query.IQuery#getCursor()
	 */
	public String getCursor() {
		return cursor;
	}

	/**
	 * @see com.simplegeo.client.query.IQuery#setCursor()
	 */
	public void setCursor(String cursor) {
		this.cursor = cursor;
	}

	/**
	 * @return the layer
	 */
	public String getLayer() {
		return layer;
	}

	/**
	 * @param layer the layer to search in
	 */
	public void setLayer(String layer) {
// Path: src/com/simplegeo/client/http/exceptions/ValidLayerException.java
// public class ValidLayerException extends Exception {
// 
// 	/**
// 	 * 
// 	 */
// 	private static final long serialVersionUID = -3256654766900362800L;
// 
// 	public ValidLayerException(String string) {
// 		super(string);
// 	}
// 
// }
// 
// Path: src/com/simplegeo/client/utilities/SimpleGeoUtilities.java
// public class SimpleGeoUtilities {
// 
// 	static public String commaSeparatedString(List<String> strings) {
// 		
// 		String mainString = "";
// 		for(String string : strings)
// 			mainString += "," + string;
// 		
// 		mainString.replaceFirst(",", "");
// 		
// 		return mainString;
// 		
// 	}
// }


// Path: src/com/simplegeo/client/query/NearbyQuery.java
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.simplegeo.client.http.exceptions.ValidLayerException;
import com.simplegeo.client.utilities.SimpleGeoUtilities;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;

	 */
	public String getUri() throws UnsupportedEncodingException {
		return String.format("/records/%s/nearby", URLEncoder.encode(layer, "UTF-8"));
	}
	
	/**
	 * @see com.simplegeo.client.query.IQuery#getCursor()
	 */
	public String getCursor() {
		return cursor;
	}

	/**
	 * @see com.simplegeo.client.query.IQuery#setCursor()
	 */
	public void setCursor(String cursor) {
		this.cursor = cursor;
	}

	/**
	 * @return the layer
	 */
	public String getLayer() {
		return layer;
	}

	/**
	 * @param layer the layer to search in
	 */
	public void setLayer(String layer) {
		this.layer = layer;