TomTom Maps for JavaScript
    Preparing search index...

    Type Alias POIsModuleFeature

    POIsModuleFeature: Feature<
        Point,
        {
            category: string;
            group: string;
            id: string;
            name: string;
            priority: number;
        },
    >

    A GeoJSON feature representing a POI from the vector tile map.

    Contains properties specific to Points of Interest including unique identifiers, names, categories, and styling information.

    These features are returned when interacting with POI layers through events (click, hover, etc.) on the POIsModule.

    poisModule.events.on('click', (feature: POIsModuleFeature) => {
    console.log('POI Name:', feature.properties.name);
    console.log('Category:', feature.properties.category);
    console.log('POI ID:', feature.properties.id);
    });

    https://docs.tomtom.com/map-display-api/documentation/tomtom-orbis-maps/vector/content#poi for more details on the available properties from the vector tile features