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.
The MapCapabilities APIs do not apply to the Navigation SDK. It exists for compile time
compatibility with com.google.android.gms:play-services-maps only.
Inherited Method Summary
From class
java.lang.Object
boolean
|
equals(Object arg0)
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
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 2025-08-28 UTC.
[null,null,["Last updated 2025-08-28 UTC."],[[["\u003cp\u003e\u003ccode\u003eMapCapabilities\u003c/code\u003e is an immutable class used to track the availability of Google Maps features on a specific device.\u003c/p\u003e\n"],["\u003cp\u003eThis class is relevant only for the Maps SDK for Android and not the Navigation SDK.\u003c/p\u003e\n"],["\u003cp\u003eIt primarily provides methods to check the availability of advanced markers and data-driven styling.\u003c/p\u003e\n"],["\u003cp\u003eFor compatibility, it includes inherited methods from the \u003ccode\u003ejava.lang.Object\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,["public final class **MapCapabilities** extends Object \nAn immutable class that allows customers to track the availability of each capability.\n\nThe MapCapabilities APIs do not apply to the Navigation SDK. It exists for compile time\ncompatibility with com.google.android.gms:play-services-maps only. \n\nPublic Method Summary\n\n|---------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| boolean | [isAdvancedMarkersAvailable](/maps/documentation/navigation/android-sdk/reference/com/google/android/gms/maps/model/MapCapabilities#isAdvancedMarkersAvailable())() Returns `true` if advanced markers are available. |\n| boolean | [isDataDrivenStylingAvailable](/maps/documentation/navigation/android-sdk/reference/com/google/android/gms/maps/model/MapCapabilities#isDataDrivenStylingAvailable())() Returns `true` if data-driven styling is available. |\n\nInherited Method Summary \nFrom class java.lang.Object \n\n|------------------|---------------------------|\n| boolean | equals(Object arg0) |\n| final Class\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| String | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nPublic Methods \n\npublic boolean\n**isAdvancedMarkersAvailable**\n() \nReturns `true` if advanced markers are available. \n\npublic boolean\n**isDataDrivenStylingAvailable**\n() \nReturns `true` if data-driven styling is available."]]