/** Handles GET requests for a location's Map. */ @GET @Path("map") @Produces(MediaType.APPLICATION_JSON) public String getLocationGeometry(@QueryParam("locationId") Integer locationId) { return locationService.getLocationGeometry(locationId); }