This is the documentation of version 0.62.1. 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
    CustomGeoJSONEvents
    TrafficIncidentsModuleFeature
    BaseMapModule
    BaseMapEvents
    BaseMapEventScope
    BaseMapKnob
    BaseMapKnobId
    BaseMapKnobValueOf
    BaseMapLayerGroupName
    BaseMapLayerGroups
    BaseMapModuleConfig
    BASE_MAP_SOURCE_ID
    baseMapKnobCatalogue
    baseMapKnobIds
    baseMapLayerGroupNames
    CustomGeoJSONModule
    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
    GeometryLineConfig
    GeometryLineLabelConfig
    ReachableRangesEvents
    ReachableRangesKnob
    ReachableRangesKnobId
    ReachableRangesKnobValueOf
    ReachableRangesModuleConfig
    ReachableRangesModuleSerializableConfig
    ReachableRangeTitleFn
    geometriesKnobCatalogue
    geometriesKnobIds
    geometryFillStyles
    reachableRangesKnobCatalogue
    reachableRangesKnobIds
    fillStyledGeometryConfig
    TomTomMap
    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
    StylingModule
    LayerQuery
    MapColorName
    MapColors
    StylingColorKnobId
    StylingEvents
    StylingKnob
    StylingKnobAppliesTo
    StylingKnobId
    StylingKnobKind
    StylingKnobRange
    StylingKnobValue
    StylingKnobValueOf
    StylingPreset
    StylingPresetId
    StylingSettings
    mapColorNames
    stylingColorKnobIds
    stylingKnobAppliesTo
    stylingKnobCatalogue
    stylingKnobIds
    stylingKnobKinds
    stylingPresetCatalogue
    stylingPresetIds
    PlacesModule
    DefaultPlaceIconConfig
    DisplayPlaceProps
    EVAvailabilityConfig
    ExtraFeatureProp
    FeaturePropValue
    PlaceClusterBadgeConfig
    PlaceConnectionDisplay
    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
    POIsKnob
    POIsKnobId
    POIsKnobValueOf
    POIsModuleConfig
    POIsModuleFeature
    POI_SOURCE_ID
    poiCategoryGroups
    poisKnobCatalogue
    poisKnobIds
    RoutingModule
    BespokeSectionType
    ChargingSpeedIconMapping
    ChargingStopIconConfig
    ChargingStopIconMapping
    ChargingStopLabelConfig
    ChargingStopsConfig
    CountryCrossingAlignment
    CountryCrossingConfig
    CountryCrossingFeature
    DisplayCountryCrossing
    DisplayCountryCrossingProps
    DisplayCountryCrossings
    DisplayRouteProps
    DisplayRouteRelatedProps
    DisplayRouteSummaries
    DisplayRouteSummary
    DisplayRouteSummaryProps
    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
    WaypointDisplayProps
    WaypointIndexType
    WaypointsConfig
    bespokeSectionTypes
    defaultRoutingLayers
    DESELECTED_ROUTE_FILTER
    drawnSectionTypes
    FINISH_INDEX
    generatedSectionTypes
    MIDDLE_INDEX
    ROUTE_HIGHLIGHT_OUTLINE_WIDTH_FACTOR_RANGE
    ROUTE_WAYPOINT_SIZE_FACTOR_RANGE
    ROUTE_WIDTH_FACTOR_RANGE
    routingKnobCatalogue
    routingKnobIds
    SECTION_ICON_SIZE_FACTOR_RANGE
    SELECTED_ROUTE_FILTER
    START_INDEX
    sectionDrawsByDefault
    sectionSourceKey
    sectionSupportsKnob
    AbstractDataOwnedMapModule
    AbstractMapModule
    AbstractStyleOwnedMapModule
    AvailabilityLevel
    BeforeLayerConfig
    CustomImage
    FilterShowMode
    HasAdditionalLayersConfig
    KnobEntry
    KnobKind
    KnobRange
    KnobValueOf
    LabelConfig
    MapModuleCommonConfig
    MapStyleLayerID
    PartsBeforeLayerConfig
    SerializableCustomImage
    SourceWithLayerIDs
    SVGIconStyleOptions
    ToBeAddedLayerSpecTemplate
    ValuesFilter
    filterShowModes
    setKnob
    validateKnobValue
    TerrainModule
    TerrainKnob
    TerrainKnobId
    TerrainKnobValueOf
    TerrainModuleConfig
    HILLSHADE_SOURCE_ID
    TERRAIN_SOURCE_ID
    terrainKnobCatalogue
    terrainKnobIds
    TrafficIncidentDetailsModule
    IncidentFocusStyle
    RoadCategory
    RoadSubCategory
    ServiceRoadSubCategory
    StreetRoadSubCategory
    TrafficCommonFilter
    TrafficIncidentDetailsKnob
    TrafficIncidentDetailsKnobId
    TrafficIncidentDetailsKnobValueOf
    TrafficIncidentDetailsModuleConfig
    INCIDENT_FOCUS_WIDTH_FACTOR_RANGE
    roadCategories
    serviceRoadSubCategories
    streetRoadSubCategories
    trafficIncidentDetailsKnobCatalogue
    trafficIncidentDetailsKnobIds
    TrafficAreaAnalyticsModule
    AreaAnalyticsBeforeLayerConfig
    AreaAnalyticsColorStop
    AreaAnalyticsColorStopsConfig
    AreaAnalyticsDisplayMode
    AreaAnalyticsDisplayProperties
    AreaAnalyticsHeightConfig
    AreaAnalyticsMetricConfig
    AreaAnalyticsMetricFilter
    AreaAnalyticsPalette
    AreaAnalyticsRegionPolygonConfig
    AreaAnalyticsTileFeature
    AreaAnalyticsValueType
    TrafficAreaAnalyticsKnob
    TrafficAreaAnalyticsKnobId
    TrafficAreaAnalyticsKnobValueOf
    TrafficAreaAnalyticsModuleConfig
    AREA_ANALYTICS_DEFAULTS
    areaAnalyticsPalettes
    trafficAreaAnalyticsKnobCatalogue
    trafficAreaAnalyticsKnobIds
    TrafficFlowModule
    TrafficFlowFilter
    TrafficFlowFilters
    TrafficFlowKnob
    TrafficFlowKnobId
    TrafficFlowKnobValueOf
    TrafficFlowModuleConfig
    TrafficFlowModuleFeature
    TRAFFIC_FLOW_SOURCE_ID
    trafficFlowKnobCatalogue
    trafficFlowKnobIds
    TrafficIncidentsModule
    DelayFilter
    IncidentIconsConfig
    TrafficIncidentsFilter
    TrafficIncidentsFilters
    TrafficIncidentsKnob
    TrafficIncidentsKnobId
    TrafficIncidentsKnobValueOf
    TrafficIncidentsModuleConfig
    TRAFFIC_INCIDENTS_SOURCE_ID
    trafficIncidentsKnobCatalogue
    trafficIncidentsKnobIds
    UserEventsWithStates
    ByIdOrIndex
    CleanEventStateOptions
    CleanEventStatesOptions
    ClickEventType
    CSSCursor
    EventHandlerConfig
    EventHandlerCursorConfig
    EventHandlerHoverConfig
    EventState
    EventStateIds
    EventType
    HoverEventType
    MapEventsConfig
    PutEventStateOptions
    SupportsEvents
    UserEventHandler
    CalculateFittingBBoxOptions
    CalculateMapBoundsOptions
    CalculateMapCenterOptions
    calculateFittingBBox
    calculatePaddedBBox
    calculatePaddedCenter