NB: This information may vary from place to place, but is to the best of my knowledge accurate across all Berne Convention signatories (which is most of the civilised world). However, I'm not a lawyer; all I'm doing is espousing my knowledge to date. If this information is critical to your business, hire a lawyer who specialises in this.
The simple rule is: unless you have a good reason not to, assume that someone else owns whatever it is you're trying to use, and that you require permission to use it.
- Programming languages cannot be copyrighted. At least, not in the EU, and I think it's a reasonable position to take anywhere else. So you're not going to need to licence for the abstract language itself, anyway.
- External services, such as Google Maps, will require a licence. This may (and probably will) require payment.
For more details, you need to look at the terms and conditions of each product individually. If you cannot find the terms and conditions for a product, the safe bet is that you're not allowed to use it.