Replies: 1 comment 3 replies
-
Oh, I forget to add, that Maps is also functional if I'm just dragging on the Maps (The greyed Blank container) then it will be show the maps properly. So I think it's just something error during starting rendering a page. nextjs.issue.react.google.maps.mp4 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using Next.js, already converted all page using Client Component, while also importing all dependent children component to force disable SSR. My page just contains the maps component, custom map control component, and several hooks for managing the state of maps.
But I'm still getting error that said
Internal error: ReferenceError: document is not defined
, and the maps is showing blank gray, and lastly I'm check the network tab, there is Google Maps API request error.Is there any special pattern while using this plugin on Next.js project? Thanks in advance for any help🙏🏻
Here's my page:
Here's the detail attachment:
![Screenshot 2024-06-24 at 22-36-25 Xurya Calculator](https://private-user-images.githubusercontent.com/50865129/342401050-249bdea3-a505-4870-bf55-ce07391d0ade.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMwODA3MDMsIm5iZiI6MTcyMzA4MDQwMywicGF0aCI6Ii81MDg2NTEyOS8zNDI0MDEwNTAtMjQ5YmRlYTMtYTUwNS00ODcwLWJmNTUtY2UwNzM5MWQwYWRlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODA4VDAxMjY0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWFiMmU2NTA0ODliYmFmMzQ4NTNmZjkwNjY4NWY3OTkwZWY5YTVjNTc0NWMzMjcwMGRjYTc2ZDVjYzBlNGYwM2YmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.VZooPRxd0ofZJzhHrLzyMP0ky10BDsUxLFxuz_EVl7A)
![image](https://private-user-images.githubusercontent.com/50865129/342402645-db217b5d-298b-4b31-82c8-51fc9b4a1a37.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMwODA3MDMsIm5iZiI6MTcyMzA4MDQwMywicGF0aCI6Ii81MDg2NTEyOS8zNDI0MDI2NDUtZGIyMTdiNWQtMjk4Yi00YjMxLTgyYzgtNTFmYzliNGExYTM3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODA4VDAxMjY0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTZlM2U3YmVhYjBiNGQyZTdmOTI2MGRmZmVlNGI0N2RlNjM2NzNmMjEyZDY4ZjE0OWIzNTZhNThhMGJhZmRmZjcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.cra2dddLesIo0g0B3Ox7nfJ_QJsHRykJ-uA65OQGbRg)
Beta Was this translation helpful? Give feedback.
All reactions