---
description: Provides APIs for creating objects.
---

# SOPObject

> Creates Module.getAddObject API.

```javascript
var sopObject = Module.getAddObject();
```

### Add3DPoint(name, key, lon, lat, alt, data, width, height, text)

> Creates a 3D POI on the map.
>
> The data variable is based on a Uint8Array of binary array data.

{% tabs %}
{% tab title="Information" %}
| Name   | Type   | Description                                             |
| ------ | ------ | ------------------------------------------------------- |
| name   | string | The name of the layer where the object will be created. |
| key    | string | The name of the POI object to be created.               |
| lon    | number | Longitude position where the POI will be created.       |
| lat    | number | Latitude position where the POI will be created.        |
| alt    | number | Altitude position where the POI will be created.        |
| data   | object | Image binary data.                                      |
| width  | number | Width of the image.                                     |
| height | number | Height of the image.                                    |
| text   | string | Text to display on the POI.                             |

* Sample
  * Refer to function getJudong
  * [Sandbox\_Building Width Analysis](https://sandbox.egiscloud.com/code/main.do?id=analysis_building_width)
{% endtab %}

{% tab title="Template" %}
```javascript
```
{% endtab %}
{% endtabs %}
