---
title: "svgBillboardDefaultToSvgBillboardSelected()"
canonical: "https://onesaitplatform.refined.site/space/DOCT/2220801536/svgBillboardDefaultToSvgBillboardSelected()"
format: markdown
---
> ℹ️ **Information**
> ℹ️ 
> ℹ️ Implementation version: beta 1.02

# Description

It generates a billboard to be used as a symbology of the selected element from a default billboard. This billboard must follow a specific scheme:

```xml
<svg
  xmlns="http://www.w3.org/2000/svg" height="50" width="50">
  <circle id="background" r="25" cy="25" cx="25" fill="#808080" />
  <circle id="stroke" stroke="#808080" stroke-width="1.5" fill="none" cx="25" cy="25" r="23.5" />
  <path
    fill="#FFFFFF"
    d="{icon path code}" />
</svg>
```


# Invocation

```javascript
svgBillboardDefaultToSvgBillboardSelected(
	billboardDefaultSvg
)
```

# Input parameters

## billboardDefaultSvg

<span style="color: #091e42">The image of the icon to be used. It must be mandatorily SVG format, following the above-specified XML scheme.</span>

# Use examples

<span style="color: #091e42">This function is designed to be used internally in createLayer()</span>