> For the complete documentation index, see [llms.txt](https://help.maphubs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.maphubs.com/advanced/earth-engine-layers.md).

# Earth Engine Layers

{% hint style="danger" %}
Your MapHubs portal must first be configured to support Earth Engine, contact <support@maphubs.com> to confirm
{% endhint %}

{% hint style="warning" %}
You will need a Google Account with access to Google Earth Engine to create and view maps with Earth Engine layers in MapHubs, you can find information and request an account at <https://earthengine.google.com/>&#x20;

MapHubs is not affiliated with Google or Google Earth Engine. We use Google Earth Engine's  API to display information from your account in the web browser on your computer.
{% endhint %}

Start by [creating a new layer in MapHubs](/data/uploading-data.md#step-1-create-a-new-layer), then select the Earth Engine option

![Choose the Earth Engine option in MapHubs during layer creation](/files/-Lcm-8tyBlMYfDkuvvx8)

Find the image ID from Google Earth Engine, this can be an image from a catalog or from a saved asset in your account.&#x20;

{% hint style="warning" %}
Assets in your account map also need to be shared with team members inside Earth Engine, or stored within a shared project in Earth Engine
{% endhint %}

![Example Image ID from Earth Engine](/files/-Lcm-OrtCDiONtwzHDgf)

Paste the image ID into the form on MapHubs.&#x20;

Optionally set the min and max zoom levels on the map. Restricting the minZoom, may be useful to prevent attempts to render global-scale maps that may be too taxing for Google Earth Engine. These settings are usually not needed

![Entering the Image ID into MapHubs](/files/-Lcm00XuTl8hs9hQLCr6)

Enter the name, description and source information for the layer

![Enter the layer information ](/files/-Lcm0bndNUci2KYXuOkT)

{% hint style="warning" %}
The first time you view a map with a Google Earth Engine layer it will request that you allow access to your Google account, specifically your Google Earth Engine data.
{% endhint %}

![Allow Google Account access](/files/-LclzZGX0jXrCKa0pNlE)

![Confirm permission for MapHubs to access your Google Earth Engine Data](/files/-LclzgagNT1IAl2J_i-O)

The layer will then display in the preview map. You may need to pan/zoom the map to the location of the imagery if it is not global.

{% hint style="info" %}
In this screen the color and label settings will have no effect since the data is coming from Earth Engine. You can change the legend design under the Advanced section.
{% endhint %}

Click complete to save your layer.

![Choosing a preview map location and saving your layer](/files/-Lclzuk7uUeBQcSMY1fd)
