EntryPoint

constructor(entryPointType: Set<EntryPointType>, position: GeoPoint)

Constructs an EntryPoint object from the given parameters.

Parameters

entryPointType

The type(s) of the entry point. This set classifies the primary intended usage of the provided position. It must not be empty.

Valid values and intended semantics:

  • setOf(EntryPointType.Geocoding()) \- denotes the postal address location of the feature; used primarily for geocoding and reverse-geocoding, typically matching the feature's address street.

  • setOf(EntryPointType.Routing()) \- denotes a location on a navigable road or a real-world entrance; suitable for use as a start/destination in routing/navigation.

  • setOf(EntryPointType.Geocoding(), EntryPointType.Routing()) \- a single point represents both address and navigable access. When both are present, navigation should prefer Routing.

Integrator guidance:

  • Treat these values as semantic hints only; do not rely on additional geometry or metadata.


constructor(type: EntryType, position: GeoPoint)

Deprecated

This will be removed from future releases after 2027-03-10. Use EntryPoint(entryPointType, position) instead. Map EntryType.Main to setOf(EntryPointType.Geocoding()) and EntryType.Minor to setOf(EntryPointType.Routing()).

Replace with

import com.tomtom.sdk.location.EntryPointType
EntryPoint(entryPointType = setOf(EntryPointType.Geocoding()), position = position)

Create a new EntryPoint object.

Parameters

type

The type of the entry point.

position

The geographic position of the entry point.