Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Marker not showing #1196

Open
Kareem727 opened this issue Sep 5, 2023 · 4 comments
Open

Marker not showing #1196

Kareem727 opened this issue Sep 5, 2023 · 4 comments

Comments

@Kareem727
Copy link

The issue that I encountered, was where the marker of the map fails to appear when the reactStrictMode is enabled (set to true) in the configuration file "reactStrictMode: true", specifically in next.config.js. So, is this the optimal solution to disable react Strict Mode to make the marker visible?

@lelandcope
Copy link

I'm also having this same issue.

@ivanhueso
Copy link

Same issue here. happen with the upgrade to new Next.js i have to temprary change next.config.js to

module.exports = {
  reactStrictMode: false,

}

Reference: https://nextjs.org/docs/pages/api-reference/next-config-js/reactStrictMode

@lelandcope
Copy link

I had to do the same to make it work but seems like a bad solution. The sad part is I haven't found another library that can do custom markers the way this library does.

@RoyLuoNanjing
Copy link

Same issue but solved using the above method

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants