public final class PlaceListMapTemplate
extends Object implements Template


A template that displays a map along with a list of places.

The map can display markers corresponding to the places in the list. See PlaceListMapTemplate.Builder.setItemList(ItemList) for details.

Template Restrictions

In regards to template refreshes, as described in Screen.onGetTemplate(), this template is considered a refresh of a previous one if:


Nested classes

class PlaceListMapTemplate.Builder

A builder of PlaceListMapTemplate

Public methods

boolean equals(Object other)
ActionStrip getActionStrip()

Returns the ActionStrip for this template or null if not set.

Place getAnchor()

Returns the Place instance to display as an anchor in the map.

Action getHeaderAction()

Returns the Action that is set to be displayed in the header of the template, or null if not set.

ItemList getItemList()

Returns the ItemList instance with the list of items to display in the template, or null if not set.

OnContentRefreshDelegate getOnContentRefreshDelegate()

Returns the OnContentRefreshDelegate to be called when the user requests for content refresh for this template.

CarText getTitle()

Returns the title of the template or null if not set.

int hashCode()
boolean isCurrentLocationEnabled()
boolean isLoading()

Returns whether the template is loading.