채택완료
Only secure origins are allowed (see: https://permanently-removed.invalid/Y0ZkNV).
Only secure origins are allowed (see: https://permanently-removed.invalid/Y0ZkNV).
지도 navigator.geolocation 하려고 하는데 에러인지 모르는 에러가 나오네요 html5 이면 지도 다되는거 아닌가요??
답변 1개 / 댓글 4개
채택된 답변
+20 포인트
3년 전
보안이 필요한 정보이기 때문에 ssl이 적용된 계정이 아니면 작동을 안 합니다.
실행하려는 코드 주소가 https로 시작되는지 확인해 보세요.
답변에 대한 댓글 4개
3년 전
https://developer.mozilla.org/ko/docs/Web/API/Geolocation/getCurrentPosition
Secure context: This feature is available only in secure contexts (en-US) (HTTPS), in some or all supporting browsers.
여기 제일 처음에 이렇게 나오네요.
Secure context: This feature is available only in secure contexts (en-US) (HTTPS), in some or all supporting browsers.
여기 제일 처음에 이렇게 나오네요.
답변을 작성하려면 로그인이 필요합니다.