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 格式。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-12-01。
[null,null,["最后更新时间 (UTC):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"]]