Only secure origins are allowed (see: https://permanently-removed.invalid/Y0ZkNV). 채택완료
카플
3년 전
조회 2,335
Only secure origins are allowed (see: https://permanently-removed.invalid/Y0ZkNV).
지도 navigator.geolocation 하려고 하는데 에러인지 모르는 에러가 나오네요 html5 이면 지도 다되는거 아닌가요??
댓글을 작성하려면 로그인이 필요합니다.
답변 1개
채택된 답변
+20 포인트
3년 전
보안이 필요한 정보이기 때문에 ssl이 적용된 계정이 아니면 작동을 안 합니다.
실행하려는 코드 주소가 https로 시작되는지 확인해 보세요.
로그인 후 평가할 수 있습니다
답변에 대한 댓글 4개
�
카플
3년 전
지도 위도보여주려면 https 써야 하나요??
�
쟁반짜장
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.
여기 제일 처음에 이렇게 나오네요.
�
카플
3년 전
그렇군요 https 달려면 1년 얼마 내야 돼어??
�
쟁반짜장
3년 전
유료는 업체마다 다 다르므로 검색해 보셔야 할 것 같네요.
무료도 있는 걸로 알고 있습니다.
무료도 있는 걸로 알고 있습니다.
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인