# Map

Adds custom map icons for configured objects, mostly for large capital ships to make their presence felt more.

## 1. Configuration

```cpp
class CfgVehicles {
    class myShip {
        ls_map_icon = "\path\to\icon_ca.paa"; // Icon to display on the map

        /*
        Optional, uses displayName if not set.
        Can be used to remove the name from the map at all, or to use a different name.
        E.g. "Acclamator (Landed)" vs "Landed Acclamator"
        */
        ls_map_name = "My Ship";

        /*
        Optional, size in meters of the object.
        Uses first visual lod bounding box size if not defined or set to -1.
        Mutli-part structures require setting this explicitly since they either don't have a visual lod or its empty.
        As a fallback, you can use the memory lod as a semi-accurate measure:

        (boundingBoxReal [_yourObject, "MEMORY"]) select 2
        */
        ls_map_size = 100;
    };
};
```


---

# Agent Instructions: 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:

```
GET https://legion-studios.gitbook.io/legion-studios/frameworks/map.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
