Open Oigen43 opened 1 week ago
This could be either a problem within the maps API or an issue in your code, but it seems unlikely that this has something to do with the @googlemaps/js-api-loader
package.
To further diagnose the issue, can you provide a full stack trace of the error so we can see where in your code the error originated?
Issue Report
Summary
We are encountering an intermittent
TypeError
with the Map component in our application. The error appears to be related to the Google Maps API, specifically with the instantiation of an object in the Map library.Error Details
TypeError
undefined is not an object (evaluating 'new Ja.OC')
(maps-api-v3/api/js/58/8-beta/intl/nl_ALL/map)
Environment Details
@googlemaps/js-api-loader": "1.16.8
@googlemaps/js-api-loader
Steps to Reproduce
This error occurs sporadically across different parts of the application where the Map component is used. There are no specific steps to reliably reproduce it, but it seems to be triggered when loading or interacting with the Map component.
Custom Map Component (React)
Stack Trace