diff --git a/examples/index.html b/examples/index.html index 522496c8..304796bf 100644 --- a/examples/index.html +++ b/examples/index.html @@ -50,6 +50,15 @@ zoom: 4, mapId: "DEMO_MAP_ID" }; + + // See https://developers.google.com/maps/documentation/javascript/reference/map#MapOptions.internalUsageAttributionIds + + const useInternalUsageAttributionId = true; + const internalUsageAttributionIds = ["gmp_googlemaps_jsapiloaderlibrary_v1_example"]; + + if (useInternalUsageAttributionId) { + mapOptions.internalUsageAttributionIds = internalUsageAttributionIds; + } const loader = new google.maps.plugins.loader.Loader({ apiKey: "",