From ccaab6b9c763b7cd2cf9913691ced0e8c9f119ed Mon Sep 17 00:00:00 2001 From: m020202 Date: Thu, 22 Aug 2024 21:35:41 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=A7=80=EB=B2=88=20=EC=A3=BC=EC=86=8C?= =?UTF-8?q?=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/example/locavel/service/NaverMapService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/example/locavel/service/NaverMapService.java b/src/main/java/com/example/locavel/service/NaverMapService.java index 4558423..1508fef 100644 --- a/src/main/java/com/example/locavel/service/NaverMapService.java +++ b/src/main/java/com/example/locavel/service/NaverMapService.java @@ -26,7 +26,7 @@ public String getRoadNameAddress(double latitude, double longitude) { RestTemplate restTemplate = new RestTemplate(); UriComponentsBuilder uriBuilder = UriComponentsBuilder.fromHttpUrl(apiUrl) .queryParam("coords", longitude + "," + latitude) // 좌표 순서 확인 - .queryParam("orders", "roadaddr") // 도로명 주소를 요청 + .queryParam("orders", "addr") // 지번 주소를 요청 .queryParam("output", "json"); HttpHeaders headers = new HttpHeaders();