Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

namespace?

namespace
0
Posted

namespace?

0

The standard method for loading the API creates global objects such as GMarker, GMap2, etc. As of version 2.134d of the API, objects are additionally declared within the google.maps.* namespace. Developers who want the objects to only be inside the namespace can specify “file=googleapionly” instead of “file=api” when loading the API in the script tag.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.