Enum Format
Format
Wyliczenie reprezentujące format obrazu mapy.
Aby wywołać wyliczenie, wywołaj jej klasę nadrzędną, nazwę i właściwość. Na przykład:
Maps.Format.PNG
.
Zobacz też
Właściwości
Właściwość | Typ | Opis |
PNG | Enum | 8-bitowy format PNG. |
PNG8 | Enum | 8-bitowy format PNG. |
PNG32 | Enum | 32-bitowy format PNG. |
GIF | Enum | format GIF. |
JPG | Enum | Format JPEG. |
JPG_BASELINE | Enum | Format JPEG nieprogresywny. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2023-12-01 UTC.
[null,null,["Ostatnia aktualizacja: 2023-12-01 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."]]],["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"]]