[Next.js] TypeError: kakao.maps.LatLng is not a constructor
See original GitHub issueDescription
I am getting this issue after following the guide for Nextjs configuration
Versions
nextjs version: 12.2.0
react version: 18.2.0
Screenshot:

Any hint on how to solve it?
Issue Analytics
- State:
- Created a year ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
TypeError: kakao.maps.LatLng is not a constructor μ€λ₯μ λν ...
TypeError : kakao.maps.LatLng is not a constructor ν λ²λ λ¨μ§ μλ μμ μ€λ₯κ° λ°μνμμ΅λλ€. ν΄κ²° λ°©λ²μ΄ 무μμΌκΉμβ¦?γ
γ
.
Read more >[kakao μ§λ ] kakao.maps.LatLng is not a constructor - velog
window.kakao.maps.LatLng is not a constructor. v2 script load μλ£ ν μ§λλ₯Ό 그리λ λ©μλλ₯Ό νΈμΆνλ©΄ μ μλ¬κ° λμ¨λ€.
Read more >TypeError: google.maps.latLng is not a constructor [closed]
I'm am using Firefox to load my html file for GeoLocation. The problem is that I get these two messages in the console:...
Read more >kakao-maps-sdk/kakao-maps-sdk.umd.min.js.map at master
Contribute to raccoondev85/kakao-maps-sdk development by creating an account on ... class LatLng {\n\n private object: any;\n constructor(latitude: number,Β ...
Read more >Re: google.maps.LatLng is not a constructor ? - The Mail Archive
Tubby> Thanks...I know the rule, but I figured I was making a simple error that didn't require people to look through everything to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
There seems to be an error with the kakao map api dynamic loading function added in the latest version. I will fix the problem soon and distribute the modified version.
μ°μ @ziponia λμ μ§λ¬Έμ λν λ΅λ³μ λ리μλ©΄
μ»΄ν¬λνΈκ° λ§μ΄νΈ λ ν λμ μΌλ‘ κ°μ Έμ€κΈ° μν¨μΈκ±΄κ°μ? -> λ€ λ§μ΅λλ€. μΉ΄μΉ΄μ€ μ§λλ₯Ό μ§μ μ μΌλ‘ μ¬μ©ν λλ§ μ€ν¬λ¦½νΈλ₯Ό κ°μ Έμ€κΈ° μν¨μ λλ€.
unmount μ ν΄μ λ μ΄λ»κ² ν΄μΌ νλμ? ->
script
λ₯Ό μ κ±°νλ λ°©λ²μ λ§μνμλ κ±°λΌλ©΄useEffect
μURL
μ μ¬μ©ν΄μ μ κ±°ν μ μμ κ² κ°μ΅λλ€. λ€λ§ νΉλ³ν μ΄μ κ° μλ€λ©΄ μ΄λ―Έ κ°μ Έμ¨script
λ₯Ό μ κ±°ν νμλ μμ΄λ³΄μ λλ€.κ·Έλ¦¬κ³ μμμ μ κ° μμλ‘ μμ±ν μ½λλ₯Ό κ·Έλλ‘ μ€νν κ²½μ° μ»΄ν¬λνΈκ° μ΅μ΄λ‘ μ€νλ ν λ€μ μ€νλ λ μ§λκ° νμλμ§ μλ μ΄μκ° μμ΄μ μ½κ° μμ νμμ΅λλ€.