data class AnimationDuration
Describes the duration of an animation associated with a user-facing action. Creating an instance with the .createDefault method uses the default duration, defined internally in the SDK. |
|
interface Annotation : Serializable
The base interface that describes common methods used by each element that can be added to the map (e.g., marker or overlay). |
|
class ApiKeyType
Enum for TomTom services API keys |
|
interface BalloonViewAdapter<T : MarkerBalloon!, E : MapPoint!>
The adapter of balloon view. An implement interface to inflate a balloon adapter. |
|
abstract class BaseBalloonViewAdapter<T : MarkerBalloon!> : BalloonViewAdapter<T, Marker!>
Base adapter for markers balloons. Implementation of adapter design pattern. |
|
open class BaseGpsPositionIndicator : GpsIndicator
Base class defining the position indicator that can be added to the map. |
|
open class BaseMarkerBalloon : MarkerBalloon
Model of the |
|
class BuildConfig class BuildConfig |
|
interface CameraCallbacksExtension
Interface defining callbacks regarded to camera events. |
|
data class CameraFocusArea
A class that describes the starting position of the map with a bounding box, together with its bearing, pitch, and padding. To construct, use CameraFocusArea.Builder. |
|
data class CameraPosition
A class that that describes all camera position parameters, such as location, zoom level, pitch angle, and bearing. To construct, use a CameraPositionBuilder. |
|
interface Chevron : NativeObject
Base interface defining a chevron indicator that can be added to the map. When a new location is set, animation is used to move the chevron. |
|
open class ChevronBuilder
Builder for the |
|
open class ChevronPosition : Serializable
Describes a chevron position on the map. |
|
interface Circle : Overlay, MapPoint
The base interface defining a circle that can be added to the map. |
|
open class DashDescriptor
Class used to describe dash length and gap between dashes. |
|
open class
Default GPS indicator implementation. The GPS position icon is shown without any accuracy radius, when accuracy is less than 10 meters. On the other hand, when accuracy is more than 10000 meters, the indicator is dimmed (gray icon). Otherwise, the radius showing GPS accuracy is visible. |
|
open class DefaultOnTrafficFlowClickListener : OnTrafficFlowClickListener
Default implementation |
|
open class DefaultOnTrafficIncidentClickListener : OnTrafficIncidentsClickListener
Default implementation for traffic incident click listener. When traffic cluster clicked zoom in map. When traffic incident flow clicked show popup. When traffic incident poi clicked show popup. |
|
interface DisplaySettings
This interface defines operations on displayed map components (e.g. retrieving rendered features). |
|
interface DrivingSettings : Persistable
Advanced settings for driving options manipulation. To obtain this interface, call |
|
interface GpsIndicator : Serializable
The base interface defining a GPS indicator that can be added to the map. |
|
open class Icon
Class that represents image on the map. It can be used e.g. as a visual representation of a marker. |
|
open class LayerSetConfiguration
Class representing a custom layer set configuration. |
|
interface LocationSourceExtension
Interface to provide location data for TomtomMap object. A TomtomMap has a built-in location provider based on FusedLocation from Google Play Services. However, the user can provide custom location provider and override the default implementation. |
|
interface LogoSettings
Settings for manipulating logo colors. To obtain this interface, call |
|
abstract class MapBalloonViewAdapter<T : MarkerBalloon!> : BalloonViewAdapter<T, MapPoint!>
View adapter for map balloon - balloon displayed on map and related with point on the map. |
|
interface MapCallbacksExtension
Interface defining callbacks regarded map events. |
|
open class MapConstants
Map related constants. |
|
open class MapFragment : Fragment
Fragment is the simplest way to place a map in an application. It is a wrapper around a map view that handles map lifecycle. |
|
interface MapInfoExtension
Interface to provide information about general map settings (e.e.g user location, locale) |
|
open class MapLayers
Settings to manipulate map layers options. |
|
interface MapManipulationExtension
This interface defines map operations that allow the application of map manipulation operations, e.g., center a map on the given location, or zoom to a specific level. |
|
open class MapPadding
Encapsulates map padding from each side |
|
interface MapPoint
The representation of the point on the map. |
|
open class MapProperties
Initial configuration of the map. |
|
class
Defines the mode in which a map will be loaded. |
|
open class
Settings to manipulate map tiles options. |
|
open class MapView : FrameLayout, UiComponentsLayer, UIMapSettings
A view used to display a map. When you want to use this view directly, you need to pass forward all life cycle methods to this class (e.g. onPause, onResume). |
|
interface MapViewExtension
Interface that provides methods to manipulate map mode and layouts (e.g. set 2D/3D mode, turn on/off traffic layer). |
|
interface Marker : Annotation, MapPoint
Base interface defining marker that can be added to the map. |
|
class MarkerAnchor : Serializable
The anchor property of the marker. |
|
interface MarkerBalloon : Serializable
A marker balloon is a model of the view of a box above the marker. |
|
open class MarkerBuilder
Builder class used to construct marker object that can be added to the map. |
|
interface MarkerExtension
Basic settings for markers manipulation. |
|
interface MarkersCallbackExtension
Callback interface for methods that are called to register for markers events. |
|
interface MarkerSettings : MarkerExtension, MarkersCallbackExtension, Persistable, TomtomMapCallback.OnMapTapListener, TomtomMapCallback.OnMapChangedListener
Advanced settings for markers manipulation. To obtain this interface, call TomtomMap.getMarkerSettings |
|
open class NativeMapConfig |
|
interface OnMapReadyCallback
Callback interface executed when the map is ready to be used. The instance of this interface is set to |
|
interface OnMarkerSelectedListener
A listener which defines the behavior for a selected and unselected marker. |
|
interface OnTrafficFlowClickListener
A callback executed when traffic flow on the map is clicked. |
|
interface OnTrafficIncidentsClickListener
A callback executed when traffic incidents are clicked. |
|
interface Overlay : Annotation
A base interface defining map overlay (e.g., circle, polygon). |
|
interface OverlaysCallbackExtension
Callback interface for methods that are called to register for overlays events. |
|
interface OverlaySettings : TomtomMapCallback.OnMapTapListener, OverlaysCallbackExtension, Persistable
Settings for overlays manipulation. To obtain this interface, call |
|
interface Persistable
Interface used to restore map state. |
|
interface Polygon : Overlay
A base interface defining polygon that can be added to the map. |
|
interface Polyline : Overlay
A base interface defining polyline that can be added to the map. |
|
interface Route : Annotation
A base interface defining a route that can be added to the map. |
|
open class RouteBuilder
Builder class used to construct route object that can be added to the map. |
|
interface RouteCallbackExtension
Callback interface for methods that are called to register for annotations (e.g. markers) events. |
|
interface RouteExtension
Interface for route manipulation with the map. |
|
interface RouteSettings : RouteExtension, TomtomMapCallback.OnMapTapListener, RouteCallbackExtension, Persistable
Advanced settings for routes manipulation. To obtain this interface, call |
|
open class RouteStyle
Specifies properties of the route like: width, fillColor and outlineColor. |
|
open class SimpleMarkerBalloon : BaseMarkerBalloon
Class used for creating a simple marker balloon with one text property Subclass of |
|
open class SingleLayoutBalloonViewAdapter : BaseBalloonViewAdapter<BaseMarkerBalloon!>
Adapter which inflate one single layout for all balloons. |
|
interface StyleSettings : Style, UIMapSettings
Advanced settings for style manipulation. To obtain this interface, call |
|
open class TextBalloonViewAdapter : SingleLayoutBalloonViewAdapter
View the adapter and inflater for the "single line" marker balloon. |
|
interface TomtomMap : RouteExtension, MarkerExtension, MapManipulationExtension, MapInfoExtension, MapCallbacksExtension, MapViewExtension, MarkersCallbackExtension, OverlaysCallbackExtension, RouteCallbackExtension, LocationSourceExtension, OnRequestPermissionsResultCallback, CameraCallbacksExtension
Interface that is the main entry point for all methods related to the map. |
|
interface TomtomMapCallback
An interface that provides types to interact with the map. |
|
interface TrafficExtensions
Traffic extensions |
|
abstract class TrafficFlowBalloonViewAdapter : MapBalloonViewAdapter<TrafficFlowMapBalloon!>
Default abstract implementation for inflating traffic balloon model. Extends |
|
open class TrafficFlowMapBalloon : BaseMarkerBalloon
Model of balloon for traffic flows. Model keep information about traffic flows which are in the immediate vicinity of the clicked area. |
|
interface
The style to be used to render the tile. When style is absolute, the colors will reflect the absolute speed measured. Calls using relative style return the speed relative to free-flow, highlighting areas of congestion. Relative-delay displays relative speeds only where they are different from the free flow speeds. Reduced-sensitivity displays relative speeds but larger difference from free flow (depending on FRC) is required for segment to change the color. There are various types of traffic flow to use. - absolute: reflect the absolute speed - relative: speed relative to free-flow, highlighting areas of congestion - relative-delay: relative speed values different from the ones for the free flow - reduced-sensitivity: - only for raster. |
|
abstract class TrafficIncidentsBalloonViewAdapter : MapBalloonViewAdapter<TrafficIncidentsMapBalloon!>
Default abstract implementation for inflating traffic balloon model. Extends |
|
open class TrafficIncidentsMapBalloon : BaseMarkerBalloon
Representation of traffic incident balloon displayed on map when traffic incident shown. |
|
interface TrafficIncidentsType
The style to be used to render the tile. There are various types of traffic incidents to use. - S1: the basic traffic incidents style - S2: similar to S1 with rounded ends on tubes - S3: similar to S2 with wider shadows. |
|
open class TrafficSelectedState : Serializable
Keep information about selected traffic flow. |
|
interface TrafficSettings : TrafficExtensions, TomtomMapCallback.OnMapTapListener, Persistable, TomtomMapCallback.OnMapChangedListener
Settings for manipulating traffic settings related to traffic (e.g. flows). To obtain this interface, call |
|
interface UiComponentsLayer
Interface that represents UI components added on top of the map (e.g. compass view). |
|
interface UIMapSettings
Map display settings. |
|
interface UiSettings : UIMapSettings, Persistable
Settings for manipulating map settings related to UI (e.g. styling). To obtain this interface, call |
open class UnsupportedStyleConfigurationException : RuntimeException
This exception is raised when the map was initialized with map styles and a legacy method was used. |