Package com.simplegeo.client.types

Examples of com.simplegeo.client.types.LayerCollection


  @Test
  public void testGetLayersSync() {
    try {     
      HashMap<String, String[]> queryParams = new HashMap<String, String[]>();
      String jsonString = client.getLayers(queryParams);
      LayerCollection layers = LayerCollection.fromJSONString(jsonString);
     
      Assert.assertNotNull(layers.getLayers());
    } 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.LayerCollection

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.