-
Notifications
You must be signed in to change notification settings - Fork 65
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
suppressDeprecationWarnings #954
Comments
Can you elaborate a bit? What is suppressDeprecationWarnings, is there an undocumented feature I don't yet know about? Since the maps API will just use console.warn etc to print out the deprecation warnings, there probably isn't an easy way to remove them besides maybe overwriting the global console object (which I wouldn't recommend). Maybe you could open an issue in the Maps API issue tracker. |
My bad, I found in SO that you can use it at the google map script like this. <script src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&libraries=marker&v=beta&suppressDeprecationWarnings=true"></script>But I didnt look it up on documentation, because I use the vue 3 dependency so I couldnt use it like above. My problem is that I use google.maps.Marker and I get a warning about it. So I would like to disable it. Yes I don't want to mess with global console object at all. But thanks! |
Sounds like there are just those two options:
|
Is there a way to use suppressDeprecationWarnings?
The text was updated successfully, but these errors were encountered: