This is the documentation of version 0.64.0. Go to the latest version, 1.0.0-rc.5.
TomTom Maps for JavaScript
    Preparing search index...

    Module map

    This module contains functions that enable showing and interacting with the map in web page.

    ModuleEvents
    BaseMapColorName
    TrafficIncidentsModuleFeature
    baseMapColorNames
    resolveColorStops
    BaseMapModule
    BaseMapEvents
    BaseMapEventScope
    BaseMapKnob
    BaseMapKnobId
    BaseMapKnobValueOf
    BaseMapLayerGroupName
    BaseMapLayerGroups
    BaseMapModuleConfig
    BaseMapRoadsConfig
    BASE_MAP_SOURCE_ID
    baseMapKnobCatalogue
    baseMapKnobIds
    baseMapLayerGroupNames
    CustomGeoJSONModule
    CustomGeoJSONBeforeLayerConfig
    CustomGeoJSONEvents
    CustomGeoJSONImageData
    CustomGeoJSONImageSpec
    CustomGeoJSONKnob
    CustomGeoJSONKnobId
    CustomGeoJSONKnobValueOf
    CustomGeoJSONLayerSpec
    CustomGeoJSONModuleConfig
    CustomGeoJSONModuleSerializableConfig
    CustomGeoJSONShownFeatures
    CustomGeoJSONSourceSpec
    customGeoJSONKnobCatalogue
    customGeoJSONKnobIds
    CombinedEvents
    UserEvents
    ShownFeaturesType
    AbstractGeometriesModule
    GeometriesModule
    ReachableRangesModule
    DisplayGeometryProps
    ExtraGeometryDisplayProps
    FillStyledGeometryConfigOptions
    GeometriesEvents
    GeometriesKnob
    GeometriesKnobId
    GeometriesKnobValueOf
    GeometriesModuleConfig
    GeometriesModuleSerializableConfig
    GeometryBeforeLayerConfig
    GeometryFillConfig
    GeometryFillStyle
    GeometryHighlightConfig
    GeometryLabelConfig
    GeometryLayersConfig
    GeometryLineConfig
    GeometryLineLabelConfig
    ReachableRangeFillConfig
    ReachableRangeLineLabelConfig
    ReachableRangesEvents
    ReachableRangesKnob
    ReachableRangesKnobId
    ReachableRangesKnobValueOf
    ReachableRangesModuleConfig
    ReachableRangesModuleSerializableConfig
    ReachableRangeTitleFn
    geometriesKnobCatalogue
    geometriesKnobIds
    geometryFillStyles
    reachableRangesKnobCatalogue
    reachableRangesKnobIds
    fillStyledGeometryConfig
    TomTomMap
    TomTomMapError
    MapLibreOptions
    TomTomMapParams
    CustomStyle
    CustomStyleSource
    LightDark
    MapFont
    SetStyleOptions
    StandardStyle
    StandardStyleID
    StyleChangeContext
    StyleChangeHandler
    StyleInput
    StylePart
    DEFAULT_TEXT_SIZE
    MAP_BOLD_FONT
    MAP_ITALIC_FONT
    MAP_MEDIUM_FONT
    MAP_REGULAR_FONT
    mapFonts
    mapStyleLayerIDs
    standardStyleIDs
    styleParts
    LayerSelection
    StylingFoundationsModule
    LayerQuery
    MapColorName
    MapColors
    MapPreset
    MapPresetId
    MapPresetSettings
    StyleColorKnobId
    StyleKnobId
    StyleKnobValueOf
    StyleLayerGroupName
    StyleModuleLayerGroupName
    StylingFoundationsEvents
    StylingFoundationsKnob
    StylingFoundationsKnobAppliesTo
    StylingFoundationsKnobId
    StylingFoundationsKnobKind
    StylingFoundationsKnobRange
    StylingFoundationsKnobValue
    StylingFoundationsKnobValueOf
    StylingFoundationsModuleConfig
    mapColorNames
    mapPresetCatalogue
    mapPresetIds
    styleColorKnobIds
    styleModuleLayerGroupNames
    stylingFoundationsKnobAppliesTo
    stylingFoundationsKnobCatalogue
    stylingFoundationsKnobIds
    stylingFoundationsKnobKinds
    applyMapPreset
    getStyleColor
    PlacesModule
    DefaultPlaceIconConfig
    DisplayPlaceProps
    EVAvailabilityConfig
    ExtraFeatureProp
    FeaturePropValue
    IconMapping
    PlaceClusterBadgeConfig
    PlaceConnectionDisplay
    PlaceConnectionLabelConfig
    PlaceConnectionLayerName
    PlaceConnectionsConfig
    PlaceConnectionsLayersConfig
    PlaceDisplayProps
    PlaceEntryPointFeature
    PlaceEntryPointProps
    PlaceEntryPointsConfig
    PlaceEntryPointsLayersConfig
    PlaceEntryPointsShowFor
    PlaceIconConfig
    PlaceLabelConfig
    PlaceLayerName
    PlaceLayersConfig
    PlacesBeforeLayerConfig
    PlacesClusterConfig
    PlacesEvents
    PlacesKnob
    PlacesKnobId
    PlacesKnobValueOf
    PlacesMarkerType
    PlacesModuleConfig
    PlacesModuleSerializableConfig
    PlacesShownFeatures
    ShownPlaces
    placesKnobCatalogue
    placesKnobIds
    placesMarkerTypes
    buildPlaceTitle
    preparePlacesForDisplay
    toPlaces
    POIsModule
    FilterablePOICategory
    MapStylePOICategory
    POICategoryGroup
    POIIconConfig
    POILabelConfig
    POIsKnob
    POIsKnobId
    POIsKnobValueOf
    POIsModuleConfig
    POIsModuleFeature
    POI_SOURCE_ID
    poiCategoryGroups
    poisKnobCatalogue
    poisKnobIds
    RoutingModule
    BespokeSectionType
    ChargingSpeedIconMapping
    ChargingStopIconConfig
    ChargingStopIconMapping
    ChargingStopLabelConfig
    ChargingStopsConfig
    CountryCrossingAlignment
    CountryCrossingConfig
    CountryCrossingFeature
    CountryCrossingLabelConfig
    DisplayCountryCrossing
    DisplayCountryCrossingProps
    DisplayCountryCrossings
    DisplayRouteProps
    DisplayRouteRelatedProps
    DisplayRouteSummaries
    DisplayRouteSummary
    DisplayRouteSummaryProps
    DisplayWaypoint
    DrawnSectionType
    GeneratedSectionType
    PlanningWaypoint
    RouteHighlightConfig
    RouteLayersConfig
    RouteStateProps
    RouteWaypointSize
    RouteWidth
    RoutingBeforeLayerConfig
    RoutingEvents
    RoutingKnob
    RoutingKnobId
    RoutingKnobValueOf
    RoutingModuleConfig
    RoutingModuleSerializableConfig
    RoutingShownFeatures
    SectionDisplayConfig
    SectionDrawStyle
    SectionIconConfig
    SectionIconPlacement
    SectionKnobName
    SectionKnobOf
    SectionLineLayerName
    SectionLinePattern
    SectionsDisplayConfig
    SectionSignConfig
    SectionSignLayerName
    SectionSignPlacement
    SectionSignPriority
    SectionSignUnit
    SectionSourceKey
    SectionSymbolLayerName
    SectionTypeWithKnob
    WaypointDisplayProps
    WaypointHighlightConfig
    WaypointIconConfig
    WaypointIndexType
    WaypointLabelConfig
    WaypointsConfig
    WaypointStopNumbering
    bespokeSectionTypes
    defaultRoutingLayers
    DESELECTED_ROUTE_FILTER
    drawnSectionTypes
    FINISH_INDEX
    generatedSectionTypes
    MIDDLE_INDEX
    routingKnobCatalogue
    routingKnobIds
    SELECTED_ROUTE_FILTER
    START_INDEX
    buildWaypointTitle
    sectionDrawsByDefault
    sectionSourceKey
    sectionSupportsKnob
    AbstractDataOwnedMapModule
    AbstractMapModule
    AbstractStyleOwnedMapModule
    AvailabilityLevel
    BeforeLayerConfig
    CustomImage
    FeatureLabelConfig
    FilterShowMode
    HasAdditionalLayersConfig
    KnobEntry
    KnobKind
    KnobRange
    KnobTarget
    KnobValueOf
    LabelConfig
    MapModuleCommonConfig
    MapStyleLayerID
    PartsBeforeLayerConfig
    PinIconConfig
    SerializableCustomImage
    SerializableFeatureLabelConfig
    SerializablePinIconConfig
    SourceWithLayerIDs
    SVGIconStyleOptions
    ToBeAddedLayerSpecTemplate
    ValuesFilter
    filterShowModes
    getKnob
    knobEntryOf
    resetKnob
    setKnob
    validateKnobValue
    TerrainModule
    HillshadeMethod
    TerrainElevationConfig
    TerrainHillshadeConfig
    TerrainKnob
    TerrainKnobId
    TerrainKnobValueOf
    TerrainModuleConfig
    HILLSHADE_SOURCE_ID
    hillshadeMethods
    TERRAIN_SOURCE_ID
    terrainKnobCatalogue
    terrainKnobIds
    FiltersWithAlternatives
    RoadCategory
    RoadSubCategory
    ServiceRoadSubCategory
    StreetRoadSubCategory
    TrafficCommonFilter
    roadCategories
    serviceRoadSubCategories
    streetRoadSubCategories
    TrafficAreaAnalyticsModule
    AreaAnalyticsBeforeLayerConfig
    AreaAnalyticsColorStop
    AreaAnalyticsColorStopsConfig
    AreaAnalyticsDisplayMode
    AreaAnalyticsDisplayProperties
    AreaAnalyticsHeightConfig
    AreaAnalyticsMetricConfig
    AreaAnalyticsMetricFilter
    AreaAnalyticsPalette
    AreaAnalyticsRegionFillConfig
    AreaAnalyticsRegionLineConfig
    AreaAnalyticsRegionPolygonConfig
    AreaAnalyticsScaleMode
    AreaAnalyticsTileFeature
    TrafficAreaAnalyticsKnob
    TrafficAreaAnalyticsKnobId
    TrafficAreaAnalyticsKnobValueOf
    TrafficAreaAnalyticsLayersConfig
    TrafficAreaAnalyticsModuleConfig
    AREA_ANALYTICS_DEFAULTS
    areaAnalyticsPalettes
    trafficAreaAnalyticsKnobCatalogue
    trafficAreaAnalyticsKnobIds
    TrafficFlowModule
    TrafficFlowColors
    TrafficFlowFilter
    TrafficFlowFilters
    TrafficFlowKnob
    TrafficFlowKnobId
    TrafficFlowKnobValueOf
    TrafficFlowModuleConfig
    TrafficFlowModuleFeature
    TRAFFIC_FLOW_SOURCE_ID
    trafficFlowKnobCatalogue
    trafficFlowKnobIds
    TrafficIncidentDetailsModule
    IncidentHighlightConfig
    TrafficIncidentDetailsKnob
    TrafficIncidentDetailsKnobId
    TrafficIncidentDetailsKnobValueOf
    TrafficIncidentDetailsLayersConfig
    TrafficIncidentDetailsModuleConfig
    trafficIncidentDetailsKnobCatalogue
    trafficIncidentDetailsKnobIds
    TrafficIncidentsModule
    DelayFilter
    IncidentIconsConfig
    TrafficIncidentColors
    TrafficIncidentsFilter
    TrafficIncidentsFilters
    TrafficIncidentsKnob
    TrafficIncidentsKnobId
    TrafficIncidentsKnobValueOf
    TrafficIncidentsModuleConfig
    TRAFFIC_INCIDENTS_SOURCE_ID
    trafficIncidentsKnobCatalogue
    trafficIncidentsKnobIds
    UserEventsWithStates
    ByIdOrIndex
    ClearEventStateOptions
    ClearEventStatesOptions
    ClickEventType
    CSSCursor
    EventHandlerConfig
    EventHandlerCursorConfig
    EventHandlerHoverConfig
    EventState
    EventStateIds
    EventType
    HoverEventType
    MapEventsConfig
    SetEventStateOptions
    SupportsEvents
    UserEventHandler
    CalculateFittingBBoxOptions
    CalculateMapBoundsOptions
    CalculateMapCenterOptions
    calculateFittingBBox
    calculatePaddedBBox
    calculatePaddedCenter