MapCapabilities

  • MapCapabilities is an immutable class used to track the availability of Google Maps features on a specific device.

  • This class is relevant only for the Maps SDK for Android and not the Navigation SDK.

  • It primarily provides methods to check the availability of advanced markers and data-driven styling.

  • For compatibility, it includes inherited methods from the java.lang.Object class.

public final class MapCapabilities extends Object

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.

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 boolean isAdvancedMarkersAvailable ()

Returns true if advanced markers are available.

public boolean isDataDrivenStylingAvailable ()

Returns true if data-driven styling is available.