Enum Format
Formato
Una enumeración que representa el formato de la imagen del mapa.
Para llamar a una enum, debes llamar a su clase superior, nombre y propiedad. Por ejemplo,
Maps.Format.PNG
.
Consulta también
Propiedades
Propiedad | Tipo | Descripción |
PNG | Enum | Debe tener formato PNG de 8 bits. |
PNG8 | Enum | Debe tener formato PNG de 8 bits. |
PNG32 | Enum | Debe estar en formato PNG de 32 bits. |
GIF | Enum | formato GIF. |
JPG | Enum | formato JPEG. |
JPG_BASELINE | Enum | Formato JPEG no progresivo |
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2023-12-01 (UTC)
[null,null,["Última actualización: 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"]]