HERE Android SDK Developer's Guide

TransitStopObject

The class TransitStopObject is a member of com.here.android.mpa.mapping .

Class Summary

public final class TransitStopObject

extends com.here.android.mpa.mapping.MapProxyObject, com.here.android.mpa.common.ViewObject, java.lang.Object

Encapsulates information about a public transit stop on a map.

[For complete information, see the section Class Details]

See also:

TransitStopInfo

Method Summary

Table 1. Methods in TransitStopObject
Methods

public GeoCoordinate getCoordinate ()

Gets the GeoCoordinate representing the position of the transit stop icon on the map.

public java.util.List <Image> getIcons ()

Get the list of icons associated with the TransitStopObject .

public TransitStopInfo getTransitStopInfo ()

Gets the TransitStopInfo associated with the TransitStopObject .

Class Details

Encapsulates information about a public transit stop on a map.

A TransitStopObject represents a specialized MapProxyObject. User can retrieve an instance of this object by calling getSelectedObjects(PointF) or getSelectedObjects(ViewRect) with the location where a public transit stop is located.

See also:

TransitStopInfo

Method Details

public GeoCoordinate getCoordinate ()

Gets the GeoCoordinate representing the position of the transit stop icon on the map.

Returns:

The GeoCoordinate

public java.util.List <Image> getIcons ()

Get the list of icons associated with the TransitStopObject .

Returns:

List of icon Images.

public TransitStopInfo getTransitStopInfo ()

Gets the TransitStopInfo associated with the TransitStopObject . A TransitStopInfo instance contains information about the name of the stop, the types of transit that use the stop, and the IDs of particular transit lines that stop there.

Returns:

The TransitStopInfo