HERE Android SDK Developer's Guide

InfoBubbleAdapter

The interface InfoBubbleAdapter is a member of com.here.android.mpa.mapping.Map.

Interface Summary

public static abstract interface Map.InfoBubbleAdapter

Interface for implementing custom info bubbles for MapMarker objects.

[For complete information, see the section Interface Details]

Method Summary

Table 1. Methods in InfoBubbleAdapter
Methods

public abstract View getInfoBubble (MapMarker marker)

Provide a custom info bubble for the marker.

public abstract View getInfoBubbleContents (MapMarker marker)

Provide custom contents for the info bubble.

Interface Details

Interface for implementing custom info bubbles for MapMarker objects.

Method Details

public abstract View getInfoBubble (MapMarker marker)

Provide a custom info bubble for the marker.

Parameters:

  • marker

    The MapMarker that this bubble is associated with.

Returns:

The view for this bubble (including frame) or null if the implementer wishes to use getInfoBubbleContents().

public abstract View getInfoBubbleContents (MapMarker marker)

Provide custom contents for the info bubble.

Parameters:

  • marker

    The MapMarker that this info bubble is associated with.

Returns:

The view for the contents of this bubble or null if the implementer wishes to use the default info bubble.