Hey there! I’m doing some google maps stuff in Glitch at the moment and have a very minor question I thought was just about worth asking here. Because of the old-school way the Google Maps API is loaded via a script tag, there’s no require() or import() in the code and so Glitch marks every API call with a red warning dot.
I was wondering: is there some kind of nice way around this? Like maybe some Glitch feature I’m not aware of, or even a little JS syntax trick that gets rid of the dots? The best one I’ve found so far is accessing everything via window.google.maps instead of just google.maps. Anybody got anything different they’d suggest?