-
간호사 업무 해소 환자 위치 찾기 프로젝트 (3. KakaoMap API 활용 )학원 프로젝트 2023. 5. 30. 10:36
1. 개요
Geo Location API로 얻은 환자의 위치 정보 데이터를 병원 측에서 눈으로 확인할 수 있게 지도에 나타내고 싶었다.
그 중 Kakao Map을 이용했다.
2. Kakao Map API
2 - 1 인증하기
카카오 맵을 이용하려면, 카카오 개발자에 로그인하고 애플리캐이션 추가 해야한다.
애플리캐이션을 추가하면
네이티브 앱 키, REST API 키 , JAVA SCRIPT 키 , Admin 키를 얻을 수 있고
이용하고자 하는 플랫폼 탭에 들어가서
사이트 도메인을 꼭 등록해야한다.
2 - 2 구현 모습
환자가 현재 지도 화면 밖에 위치하고 있다면 추적할 수 있는 트래커를 이용했고, 1000ms 마다 현재 위치 정보를 업데이트하도록 만들었다.
왼쪽의 환자 리스트에서 특정 환자를 클릭하면 그 환자에게만 포커싱 된다
'학원 프로젝트' 카테고리의 다른 글
FLASK 프레임워크 만들기 (0) 2023.05.30 간호사 업무 해소 환자 위치 찾기 프로젝트 (2. 공공데이터 활용 ) (0) 2023.05.30 간호사 업무 해소 환자 위치 찾기 프로젝트 (1. Geolacation API ) (0) 2023.05.26 이메일 인증 구현 / 병원 실시간 예약 기능 구현 프로젝트 (0) 2023.05.10 로그인 기능 구현하기 / 병원 실시간 예약 기능 구현 프로젝트 (0) 2023.05.10