Google API is not free. It would be at least a 4-digit cost per month. I think that my friend was hit with a $1,500/mo nut. Google changed terms (back when they started demanding that all users of the API give credit card numbers). His app is fairly popular, and he'd need to pay them for the SDK.
> all of these libraries are third-party dependencies...
I've been relying on Apple's toolkits since 1986. They've pulled a couple of stunts (OpenDoc, anyone?), but they have been a reliable partner, for the most part.
> If we're talking just about the javascript API
I don't do JS. I do native Swift. It would require embedding their API. My friend did that, and it was far more cost-effective. Lot less than Google (he sells his app for $0.99, and it's not popular enough to do much more than pay for itself). MapBox is quite nice. His app is native ObjC. He's had it out for quite a while. He originally started with Google's API, as that was the only one that offered the particular services he needed.
Most of the stuff I write is free, open-source. I could probably get Google to let us use it for free (we're a 501(c)(3)), but I've already seen them turn the screws once, and I'm in no mind to set myself up for something like them deciding that we could give them a tithe.
Also, I have had some ... issues ... with third-party libraries. I'm quite particular about the Quality of my work, and I find that not too many others share my passion.