Enum Format
Format
An enum representing the format of the map image.
To call an enum, you call its parent class, name, and property. For example,
Maps.Format.PNG
.
See also
Properties
Property | Type | Description |
PNG | Enum | 8-bit PNG format. |
PNG8 | Enum | 8-bit PNG format. |
PNG32 | Enum | 32-bit PNG format. |
GIF | Enum | GIF format. |
JPG | Enum | JPEG format. |
JPG_BASELINE | Enum | Non-progressive JPEG format. |
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 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["`Maps.Format` is an enum used to specify the format of a map image."],["Available formats include PNG (8-bit and 32-bit), GIF, and JPEG (including a non-progressive option)."],["The enum is called using the syntax `Maps.Format.\u003cformat_property\u003e`, such as `Maps.Format.PNG`."],["More details about image formats can be found in the Google Static Maps API documentation."]]],[]]