Package com.simplegeo.client.types

Examples of com.simplegeo.client.types.GeometryCollection


  @Test
  public void testGetHistorySync() {
    try {
      String jsonString = client.getHistory("casey.testing.layer", "simplegeo-boulder", null);
      GeometryCollection geoColl = GeometryCollection.fromJSONString(jsonString);
     
      Assert.assertNotNull(geoColl.getGeometries());
    } catch (IOException e) {
      Assert.fail(e.getMessage());     
    } catch (JSONException e) {
      Assert.fail(e.getMessage());     
    }
View Full Code Here

TOP

Related Classes of com.simplegeo.client.types.GeometryCollection

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.