Package org.geomajas.layer.wms.command.dto

Examples of org.geomajas.layer.wms.command.dto.SearchByPointResponse


    request.setLocation(new Coordinate(672238.022713162, 2554015.0948743597));
    request.setScale(1.022083167709322E-4);
    CommandResponse response = dispatcher.execute(SearchByPointRequest.COMMAND, request, null, "en");
    Assert.assertFalse(response.isError());
    Assert.assertTrue(response instanceof SearchByPointResponse);
    SearchByPointResponse sbp = (SearchByPointResponse) response;
    Map<String, List<Feature>> map = sbp.getFeatureMap();
    Assert.assertNotNull(map);
    List<Feature> features = map.get(layer);
    Assert.assertEquals(1, features.size());
    Feature feature = features.get(0);
    Assert.assertEquals("belt.2", feature.getId());
View Full Code Here


      }
    }
  }

  public SearchByPointResponse getEmptyCommandResponse() {
    return new SearchByPointResponse();
  }
View Full Code Here

TOP

Related Classes of org.geomajas.layer.wms.command.dto.SearchByPointResponse

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.