Giter Site home page Giter Site logo

Comments (3)

usefulthink avatar usefulthink commented on August 21, 2024 1

it's better to keep these issues seperate. Can you create a new issue for this and ideally provide an example where we can see this behavior?

from react-wrapper.

usefulthink avatar usefulthink commented on August 21, 2024

This is something completely unrelated to the react-wrapper, or at least, there's nothing we can do about that here.

It sounds a lot like an issue with Safari- and/or iOS-support (even the latest iOS13 Version was released almost 4 years ago and I remember the Safari version back then was missing a lot of features). There's already an issue about this in the Google Maps Platform Issue Tracker, which is the best place to discuss this.

from react-wrapper.

pupuza avatar pupuza commented on August 21, 2024

@usefulthink

Thank you for your prompt response. However, I'm encountering an issue in another project where I'm using Next.js 14 and @googlemaps/react-wrapper version 1.1.35. Specifically, when I include the version parameter (&v=) in the apiKey, I encounter the following error:

"Oops! Something went wrong. This page didn't load Google Maps correctly. See the JavaScript console for technical details."

Upon investigation, I've identified that the &v= parameter is being encoded as %26v%3D, which appears to be causing the issue. Here's an example of the script generated on the website:

<script id="__googleMapsScriptId" src="https://maps.googleapis.com/maps/api/js?libraries=core&amp;key=API_KEY%26v%3Dquarterly&amp;callback=google.maps.__ib__"></script>

Interestingly, when I manually add the script without using the library, the &v= parameter is not incorrectly encoded, and the maps function normally. Could you please assist me in checking if there's a solution to resolve this encoding issue?

Your assistance in resolving this matter would be greatly appreciated.

Best regards,

from react-wrapper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.