---
title: "LoadGeoJSONParameters | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Type Alias LoadGeoJSONParameters

LoadGeoJSONParameters: [GeoJSONWorkerOptions](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.GeoJSONWorkerOptions/) & {  
    data?: [GeoJSON](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.GeoJSON/);  
    dataDiff?: [GeoJSONSourceDiff](https://docs.maptiler.com/sdk-js/api-reference/types/GeoJSONSourceDiff/);  
    request?: [RequestParameters](https://docs.maptiler.com/sdk-js/api-reference/types/RequestParameters/);  
    type: "geojson";  
    updateCluster?: boolean;  
}

#### Type Declaration

-   ##### `Optional`data?: [GeoJSON](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.GeoJSON/)
    
    GeoJSON data to set as the source's data.
    
-   ##### `Optional`dataDiff?: [GeoJSONSourceDiff](https://docs.maptiler.com/sdk-js/api-reference/types/GeoJSONSourceDiff/)
    
    GeoJSONSourceDiff to apply to the existing GeoJSON source data.
    
-   ##### `Optional`request?: [RequestParameters](https://docs.maptiler.com/sdk-js/api-reference/types/RequestParameters/)
    
    Request parameters including a URL to fetch GeoJSON data.
    
-   ##### type: "geojson"
    
-   ##### `Optional`updateCluster?: boolean
    
    Update the supercluster using the latest worker cluster options.
