spring boot 맵 검색기능 구현방법(vscode)
맵은 카카오 맵을 사용 하였습니다. 컨트롤러는 다음과 같이 구성하였습니다. @GetMapping("/map/hotplace") public String hotplace(Model model) { List hotplaces = hotplaceRepository.findAll(); model.addAttribute("hotplaces", hotplaces); return "map/hotplace"; } @RestController @RequestMapping("/api/hotplaces") public class HotplaceController { @Autowired private HotplaceRepository hotplaceRepository; @GetMapping public List getAllH..
카테고리 없음
2023. 11. 1. 14:29