TomTom Maps for JavaScript
    Preparing search index...

    Type Alias View

    View: typeof views[number]

    Geopolitical view context for map display and data.

    Controls how disputed territories and borders are displayed on the map and in service responses. Different countries may have different perspectives on territorial boundaries and place names.

    • Unified: Default view with a neutral representation
    • Country-specific codes (e.g., AR, IN, PK, etc.): Displays boundaries and names according to that country's perspective
    // Use unified/neutral view
    const view: View = 'Unified';

    // Use India's geopolitical perspective
    const view: View = 'IN';

    // Use Argentina's perspective
    const view: View = 'AR';