TomTom Maps for JavaScript
    Preparing search index...

    Type Alias ExtraFeatureProp<P>

    ExtraFeatureProp: FeaturePropValue | ((place: Place<P>) => FeaturePropValue)

    An entry of PlacesModuleConfig.extraFeatureProps, either a fixed value written onto every place feature or a function computing one per place.

    Type Parameters

    • P extends CommonPlaceProps = CommonPlaceProps

      The place properties the callbacks receive. Name it on the config (PlacesModuleConfig<MyPlaceProps>) to have callbacks typed for the places you show.