hpneo / gmaps

the easiest way to use Google Maps
https://hpneo.dev/gmaps/
7.04k stars 1.29k forks source link

Suggestion: Remove JS error when Maps API not present #547

Open ingageco opened 7 years ago

ingageco commented 7 years ago

The JS error is great for development if you're wondering why the script might not be working. In production, when you're not loading the Maps API on every page, this error stands in the way of a clean console.

Could this only be a console message?

hpneo commented 5 years ago

Not sure what you mean, sorry. And sorry for the late reply 🙏