Only secure origins are allowed (see: https://permanently-removed.invalid/Y0ZkNV).

Only secure origins are allowed (see: https://permanently-removed.invalid/Y0ZkNV).

QA

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

보안이 필요한 정보이기 때문에 ssl이 적용된 계정이 아니면 작동을 안 합니다.

실행하려는 코드 주소가 https로 시작되는지 확인해 보세요.

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.
여기 제일 처음에 이렇게 나오네요.

답변을 작성하시기 전에 로그인 해주세요.
전체 200
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT