package io.rong.models;

public class LBSMessage extends Message {

	private String content;
	private double latitude;
	private double longitude;
	private String poi;
	private String extra;

	public LBSMessage(String content, double latitude, double longitude,
			String poi, String extra) {
		this.type = "RC:LBSMsg";
		this.content = content;
		this.latitude = latitude;
		this.longitude = longitude;
		this.poi = poi;
		this.extra = extra;

	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public double getLatitude() {
		return latitude;
	}

	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}

	public double getLongitude() {
		return longitude;
	}

	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}

	public String getPoi() {
		return poi;
	}

	public void setPoi(String poi) {
		this.poi = poi;
	}

	public String getExtra() {
		return extra;
	}

	public void setExtra(String extra) {
		this.extra = extra;
	}

	@Override
	public String toString() {
		return String
				.format("{\"content\":\"%s\",\"latitude\":\"%s\",\"longitude\":\"%s\",\"poi\":\"%s\",\"extra\":\"%s\"}",
						content, latitude, longitude, poi, extra);
	}
}

@@ -1144,22 +1144,18 @@
 itude%5C%22:
-%5C%22%25s%5C%22
+%25s
 ,%5C%22longi
@@ -1161,22 +1161,18 @@
 itude%5C%22:
-%5C%22%25s%5C%22
+%25s
 ,%5C%22poi%5C%22

Update LBSMessage.java