Enum Format
格式
列舉代表地圖圖片的格式。
如要呼叫列舉,您可以呼叫其父項類別、名稱和屬性。例如
Maps.Format.PNG
。
另請參閱
屬性
屬性 | 類型 | 說明 |
PNG | Enum | 8 位元 PNG 格式。 |
PNG8 | Enum | 8 位元 PNG 格式。 |
PNG32 | Enum | 32 位元 PNG 格式。 |
GIF | Enum | GIF 格式。 |
JPG | Enum | JPEG 格式。 |
JPG_BASELINE | Enum | 非漸進式 JPEG 格式。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2023-12-01 (世界標準時間)。
[null,null,["上次更新時間:2023-12-01 (世界標準時間)。"],[[["`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."]]],["The `Maps.Format` enum defines the image format for maps, accessed via its parent class, name, and property (e.g., `Maps.Format.PNG`). Available formats include `PNG`, `PNG8`, `PNG32` (all PNG variations), `GIF`, `JPG`, and `JPG_BASELINE` (non-progressive JPEG). Each property represents a different image encoding, with the `Type` specified as `Enum` and providing information on whether the image is 8 or 32 bit.\n"]]