MapCapabilities
Stay organized with collections
Save and categorize content based on your preferences.
An immutable class that allows customers to track the availability of each capability.
Inherited Method Summary
From class java.lang.Object
Public Methods
public boolean
isAdvancedMarkersAvailable
()
Returns true
if advanced markers are available.
public boolean
isDataDrivenStylingAvailable
()
Returns true
if data-driven styling is available.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google 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."],[[["\u003cp\u003e\u003ccode\u003eMapCapabilities\u003c/code\u003e is an immutable class used to check the availability of map features.\u003c/p\u003e\n"],["\u003cp\u003eIt provides methods to determine if advanced markers and data-driven styling are supported.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use this class to tailor the map experience based on available capabilities.\u003c/p\u003e\n"]]],["`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"],null,["# MapCapabilities\n\npublic final class **MapCapabilities** extends [Object](//developer.android.com/reference/java/lang/Object.html) \nAn immutable class that allows customers to track the availability of each capability. \n\n### Public Method Summary\n\n|---------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| boolean | [isAdvancedMarkersAvailable](/android/reference/com/google/android/gms/maps/model/MapCapabilities#isAdvancedMarkersAvailable())() Returns `true` if advanced markers are available. |\n| boolean | [isDataDrivenStylingAvailable](/android/reference/com/google/android/gms/maps/model/MapCapabilities#isDataDrivenStylingAvailable())() Returns `true` if data-driven styling is available. |\n\n### Inherited Method Summary\n\nFrom class java.lang.Object \n\n|----------------------------------------------------------------------------|--------------------------------------------------------------------------------|\n| [Object](//developer.android.com/reference/java/lang/Object.html) | clone() |\n| boolean | equals([Object](//developer.android.com/reference/java/lang/Object.html) arg0) |\n| void | finalize() |\n| final [Class](//developer.android.com/reference/java/lang/Class.html)\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| [String](//developer.android.com/reference/java/lang/String.html) | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nPublic Methods\n--------------\n\n#### public boolean **isAdvancedMarkersAvailable** ()\n\nReturns `true` if advanced markers are available. \n\n#### public boolean **isDataDrivenStylingAvailable** ()\n\nReturns `true` if data-driven styling is available."]]