> For the complete documentation index, see [llms.txt](https://docs.jmapcloud.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.jmapcloud.io/en/jmap-cloud-portal/user-guide-for-jmap-cloud-portal/configuring-project-data/organizing-project-layers/duplicating-or-referencing-a-layer.md).

# Duplicating or Referencing a Layer

You can add a layer to the project by duplicating or referencing an existing layer:

* You can duplicate a layer from the same project.
* You can duplicate or reference a layer from another project.

{% hint style="warning" %}
You cannot duplicate or reference a layer that is itself referenced from another project.
{% endhint %}

When you click <img src="/files/xVYYH7h5QbILQhfSGWWK" alt="" data-size="line"> in the **Layers** panel, the **Duplicate and Reference Layers** interface opens.

The interface displays cards for each project (including the project currently open in Studio) that you have access to. The expanded card displays the available layers.

A search bar allows you to filter layers by name.

Select the layers you want and click **Reference** or **Duplicate**.

The available functions depend on the selected layers. If you select layers from the project currently open in Studio, only the **Duplicate** function is enabled. If you select layers from other projects, both functions are enabled.

## Duplicating a Layer

When you duplicate a layer, the new layer is created in the project you are currently editing.

The new layer is a copy of the original layer (styles, labels, tooltips, etc.).

The two layers - the original and the duplicate - are independent of each other. They use the same data source.

## Referencing a Layer

When you reference a layer, the new layer is created in the project you are currently editing.

All properties of the new layer (styles, labels, tooltips, etc.) are identical to those of the original layer. It is not a copy.

As a result of referencing, the new layer points to the original layer.

You cannot change the properties of the new layer. You can display it as-is in the project.

You can change:

* The layer name
* Its description
* Its initial visibility
* The initial zoom level
* Whether it is listed in Studio and in JMap NG

The referenced layer is identified as such in the project.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.jmapcloud.io/en/jmap-cloud-portal/user-guide-for-jmap-cloud-portal/configuring-project-data/organizing-project-layers/duplicating-or-referencing-a-layer.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
