HERE Android SDK Developer's Guide

MatchedGeoPosition

The class MatchedGeoPosition is a member of com.here.android.mpa.common .

Class Summary

public final class MatchedGeoPosition

extends com.here.android.mpa.common.GeoPosition, java.lang.Object

An extended GeoPosition class which provides additional position-related information.

[For complete information, see the section Class Details]

See also:

onPositionUpdated(LocationMethod, GeoPosition, boolean)

Method Summary

Table 1. Methods in MatchedGeoPosition
Methods

public int getMatchQuality ()

Returns a value indicating the quality of the given map-matched position object.

public GeoPosition getRawPosition ()

Obtains the raw position from which the given map-matched position was generated.

public RoadElement getRoadElement ()

Returns the RoadElement at this matched position.

public boolean isExtrapolated ()

Determines if this matched position is extrapolated.

public boolean isOnStreet ()

Determines if this map-matched position matches to a street.

Class Details

An extended GeoPosition class which provides additional position-related information. The class is designed to support walk or drive navigation.

See also:

onPositionUpdated(LocationMethod, GeoPosition, boolean)

Method Details

public int getMatchQuality ()

Returns a value indicating the quality of the given map-matched position object.

Returns:

An integer in the range of [0,7], where 0 indicates a poor match and 7 a good match.

public GeoPosition getRawPosition ()

Obtains the raw position from which the given map-matched position was generated.

Returns:

A GeoPosition representing the raw position.

public RoadElement getRoadElement ()

Returns the RoadElement at this matched position.

Returns:

An object representing the road element at this map-matched position.

public boolean isExtrapolated ()

Determines if this matched position is extrapolated.

Returns:

true if the position is extrapolated, otherwise false

public boolean isOnStreet ()

Determines if this map-matched position matches to a street.

Returns:

true if the position is mapped to a street, otherwise false.

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.