Subversion Repositories SmartDukaan

Rev

Rev 27471 | Rev 27478 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 27471 Rev 27473
Line 1109... Line 1109...
1109
				// coordinates.put(fofoStore.getLatitude());
1109
				// coordinates.put(fofoStore.getLatitude());
1110
				geo.put("type", "Point");
1110
				geo.put("type", "Point");
1111
				geo.put("coordinates", crds);
1111
				geo.put("coordinates", crds);
1112
				geometry.put("geometry", geo);
1112
				geometry.put("geometry", geo);
1113
				JSONObject metadata = new JSONObject();
1113
				JSONObject metadata = new JSONObject();
1114
				// metadata.put("name", customRetailer.getBusinessName());
1114
				metadata.put("name", customRetailer.getBusinessName());
1115
				// metadata.put("city", customRetailer.getAddress().getCity());
1115
				metadata.put("city", customRetailer.getAddress().getCity());
1116
				metadata.put("name", "Test");
1116
				metadata.put("Code", customRetailer.getCode());
1117
				geometry.put("metadata", metadata);
1117
				geometry.put("metadata", metadata);
1118
				geometry.put("radius", 500);
1118
				geometry.put("radius", 500);
1119
 
1119
 
1120
				geofences.put(geometry);
1120
				geofences.put(geometry);
1121
				geofe.put("geofences", geofences);
1121
				geofe.put("geofences", geofences);