A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.google.com/maps/documentation/javascript/reference/air-quality below:

Air Quality | Maps JavaScript API

Air Quality

Stay organized with collections Save and categorize content based on your preferences.

AirQualityMeterElement class

google.maps.airQuality.AirQualityMeterElement class

Notice: Available only in the v=alpha channel.

Displays air quality information for a given location.

Custom element:
<gmp-air-quality-meter location="lat,lng" requested-language="string"></gmp-air-quality-meter>

This class extends HTMLElement.

This class implements AirQualityMeterElementOptions.

Access by calling const {AirQualityMeterElement} = await google.maps.importLibrary("airQuality").
See Libraries in the Maps JavaScript API.

Methods addEventListener

Notice: Available only in the v=beta channel.

addEventListener(type, listener[, options])

Parameters: 

Return Value:  void

Sets up a function that will be called whenever the specified event is delivered to the target. See

addEventListener

.

removeEventListener

Notice: Available only in the v=beta channel.

removeEventListener(type, listener[, options])

Parameters: 

Return Value:  void

Removes an event listener previously registered with addEventListener from the target. See

removeEventListener

.

Events gmp-error

function()

Arguments:  None

Event fired when the AirQualityMeterElement has an error in loading.

gmp-load

function()

Arguments:  None

Event fired when the AirQualityMeterElement has finished loading.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-07-09 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-09 UTC."],[],[]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4