MapCapabilities Stay organized with collections Save and categorize content based on your preferences.
Page Summary
MapCapabilities is an immutable class used to track the availability of map capabilities.
The class provides methods to check if advanced markers and data-driven styling are available.
public final classMapCapabilities extendsObject
An immutable class that allows customers to track the availability of each capability.
Public Method Summary
| boolean | isAdvancedMarkersAvailable() Returns true if advanced markers are available. |
| boolean | isDataDrivenStylingAvailable() Returns true if data-driven styling is available. |
Inherited Method Summary
Public Methods
public booleanisAdvancedMarkersAvailable()
Returnstrue if advanced markers are available.
public booleanisDataDrivenStylingAvailable()
Returnstrue if data-driven styling is available.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[],["`MapCapabilities` is an immutable class designed to track the availability of map features. It offers two key methods: `isAdvancedMarkersAvailable()`, which returns `true` if advanced markers are supported, and `isDataDrivenStylingAvailable()`, which returns `true` if data-driven styling is available. The class also inherits standard methods from the `Object` class, such as `equals`, `hashCode`, and `toString`.\n"]]