# Understanding "ledmap":0 vs ledmap.json

**URL:** <https://wled.discourse.group/t/understanding-ledmap-0-vs-ledmap-json/9191>\
**Category:** Uncategorized\
**Created:** [September 12, 2023, 2:47am UTC](https://wled.discourse.group/t/understanding-ledmap-0-vs-ledmap-json/9191 "2023-09-12T02:47:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dwmartin0726](https://avatars.discourse-cdn.com/v4/letter/d/dc4da7/32.png) [@dwmartin0726](https://wled.discourse.group/u/dwmartin0726)\
**Post date:** [September 12, 2023, 2:47am UTC](https://wled.discourse.group/t/understanding-ledmap-0-vs-ledmap-json/9191/1 "2023-09-12T02:47:24Z")

</div>

Looking through documentation and not finding what I want regarding “ledmap”:0.

I downloaded an API and found “ledmap”:0 at the end. I also found documentation how to create ledmap.json file to remap the leds.

Q1 : can there be more than one ledmap.json file, like ledmap1.json, ledmap2.json and then referenced in the API as “ledmap”:1 or perhaps ledmap":2 and so on.

Q2 : is there documentation regarding “ledmap”:x declaration in the json documents?

Than ks

---

<div class="post-metadata">

**Author:** ![divsys](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@divsys](https://wled.discourse.group/u/divsys)\
**Post date:** [September 12, 2023, 2:54am UTC](https://wled.discourse.group/t/understanding-ledmap-0-vs-ledmap-json/9191/2 "2023-09-12T02:54:52Z")

</div>

Check the KB: [Ledmap](https://kno.wled.ge/advanced/mapping/#how-do-we-do-it)

> Multiple maps are supported in the latest versions by using `ledmapx.json` where x is a number. Maps can be selected in a preset using `{"ledmap":x,...`.

---

<div class="post-metadata">

**Author:** ![dwmartin0726](https://avatars.discourse-cdn.com/v4/letter/d/dc4da7/32.png) [@dwmartin0726](https://wled.discourse.group/u/dwmartin0726)\
**Post date:** [September 12, 2023, 3:25am UTC](https://wled.discourse.group/t/understanding-ledmap-0-vs-ledmap-json/9191/3 "2023-09-12T03:25:08Z")

</div>

Thanks for the quick response.  
So with no ledmap.json file and the reference to “ledmap”:0 in the peset works because it is the default map implying the natural led order?

---

<div class="post-metadata">

**Author:** ![blazoncek](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/blazoncek/32/1886_2.png) [@blazoncek](https://wled.discourse.group/u/blazoncek)\
**Post date:** [September 12, 2023, 5:56am UTC](https://wled.discourse.group/t/understanding-ledmap-0-vs-ledmap-json/9191/4 "2023-09-12T05:56:12Z")

</div>

ledmap 0 is a default ledmap (ledmap.json) that is loaded at boot.  
If the file does not exist it means physical order of LEDs.
