This document discusses all of the parameters you can specify in the query
Certain parameters are required while others are optional. As is standard in
URLs, all parameters are separated using the ampersand (
The following example URL has placeholders for all possible parameters:
https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY &callback=FUNCTION_NAME &v=VERSION &libraries="LIBRARIES" &language="LANGUAGE" ®ion="REGION" &solution_channel="SOLUTION_IDENTIFIER" &auth_referrer_policy="AUTH_REFERRER_POLICY"
The URL in the following example
<script async src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&callback=initMap"> </script>
language: The language to use. This affects the names of controls, copyright notices, driving directions, and control labels, as well as the responses to service requests. See the list of supported languages.
region: The region code to use. This alters the map's behavior based on a given country or territory.
solution_channel: Google Maps Platform provides many types of sample code to help you get up and running quickly. To track adoption of our more complex code samples and improve solution quality, Google includes the
solution_channelquery parameter in API calls in our sample code.
auth_referrer_policy: Maps JS customers can configure HTTP Referrer Restrictions in the Cloud Console to limit which URLs are allowed to use a particular API Key. By default, these restrictions can be configured to allow only certain paths to use an API Key. If any URL on the same domain or origin may use the API Key, you can set