# SiMapPopoverComponent documentation

**Kind:** component

**Selector:** `si-map-popover`

```
import { SiMapPopoverComponent } from '@siemens/maps-ng';
```

```
component SiMapPopoverComponent
```

#### Attributes and Methods

##### render

[Source for render](<https://github.com/siemens/element/blob/main/projects/maps-ng/src/components/si-map/components/si-map-popover/si-map-popover.component.ts#L58-L74>)

```
render({ component, mapPoints, map }: RenderOptions): void
```

#### Parameters

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| [{ component, mapPoints, map }](<https://github.com/siemens/element/blob/main/projects/maps-ng/src/components/si-map/components/si-map-popover/si-map-popover.component.ts#L58-L58>) | `RenderOptions` |  |  |

**Returns:** [void](<https://www.typescriptlang.org/docs/handbook/2/functions.html#void>)

### Types Documentation

### [RenderOptions](<https://github.com/siemens/element/blob/main/projects/maps-ng/src/components/si-map/components/si-map-popover/si-map-popover.component.ts#L20-L24>)

**Kind:** interface

```
import type { RenderOptions } from '@siemens/maps-ng';
```

```
interface RenderOptions
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [component](<https://github.com/siemens/element/blob/main/projects/maps-ng/src/components/si-map/components/si-map-popover/si-map-popover.component.ts#L21-L21>) (optional) | `Type<any>` |  |
| [map](<https://github.com/siemens/element/blob/main/projects/maps-ng/src/components/si-map/components/si-map-popover/si-map-popover.component.ts#L23-L23>) (optional) | `Map` |  |
| [mapPoints](<https://github.com/siemens/element/blob/main/projects/maps-ng/src/components/si-map/components/si-map-popover/si-map-popover.component.ts#L22-L22>) | `MapPointMetaData \| MapPointMetaData[]` |  |

### [MapPointMetaData](<https://github.com/siemens/element/blob/main/projects/maps-ng/src/components/si-map/models/map-point.interface.ts#L17-L43>)

**Kind:** interface

```
import type { MapPointMetaData } from '@siemens/maps-ng';
```

```
interface MapPointMetaData
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [description](<https://github.com/siemens/element/blob/main/projects/maps-ng/src/components/si-map/models/map-point.interface.ts#L25-L25>) | `string` | Marker description, can be simple string or HTML as string |
| [extraProperties](<https://github.com/siemens/element/blob/main/projects/maps-ng/src/components/si-map/models/map-point.interface.ts#L33-L33>) (optional) | `any` | Extra properties to be passed along (click function consumes it) |
| [group](<https://github.com/siemens/element/blob/main/projects/maps-ng/src/components/si-map/models/map-point.interface.ts#L38-L38>) (optional) | `number` | If you want your point to be clustered by it's group, you need to set the group id here for this point Color with the same id will be assigned. Must be higher than 0 |
| [marker](<https://github.com/siemens/element/blob/main/projects/maps-ng/src/components/si-map/models/map-point.interface.ts#L29-L29>) (optional) | `MarkerOptions` | Marker style |
| [name](<https://github.com/siemens/element/blob/main/projects/maps-ng/src/components/si-map/models/map-point.interface.ts#L21-L21>) | `string` | Marker name |

#### Methods

##### click

[Source for click](<https://github.com/siemens/element/blob/main/projects/maps-ng/src/components/si-map/models/map-point.interface.ts#L42-L42>)

**Modifiers:** optional

Click functionality, do any extra staff when clicking on the point, just create needed logic for click functionality

```
click(extraProperties?: any): void
```

#### Parameters

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| [extraProperties](<https://github.com/siemens/element/blob/main/projects/maps-ng/src/components/si-map/models/map-point.interface.ts#L42-L42>) (optional) | `any` |  |  |

**Returns:** [void](<https://www.typescriptlang.org/docs/handbook/2/functions.html#void>)

### [MarkerOptions](<https://github.com/siemens/element/blob/main/projects/maps-ng/src/components/si-map/models/map-point.interface.ts#L57-L75>)

**Kind:** interface

```
import type { MarkerOptions } from '@siemens/maps-ng';
```

```
interface MarkerOptions
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [color](<https://github.com/siemens/element/blob/main/projects/maps-ng/src/components/si-map/models/map-point.interface.ts#L66-L66>) (optional) | `string` | Color of the marker, HEX or css compliant color value. Only use when a semantic status isn't working for the use-case. |
| [icon](<https://github.com/siemens/element/blob/main/projects/maps-ng/src/components/si-map/models/map-point.interface.ts#L74-L74>) (optional) | `IconMarkerOptions` | Icon options |
| [status](<https://github.com/siemens/element/blob/main/projects/maps-ng/src/components/si-map/models/map-point.interface.ts#L70-L70>) (optional) | `MarkerStatusType` | Semantic status for coloring. This is also theme-aware. |
| [type](<https://github.com/siemens/element/blob/main/projects/maps-ng/src/components/si-map/models/map-point.interface.ts#L61-L61>) | `"status" \| "icon" \| "dot"` | Visual representation of marker |

### [MarkerStatusType](<https://github.com/siemens/element/blob/main/projects/maps-ng/src/components/si-map/models/map-point.interface.ts#L47-L48>)

**Kind:** type alias

```
import type { MarkerStatusType } from '@siemens/maps-ng';
```

```
type MarkerStatusType = 'success' | 'info' | 'warning' | 'danger' | 'caution' | 'critical' | 'default' | 'unknown'
```

### [IconMarkerOptions](<https://github.com/siemens/element/blob/main/projects/maps-ng/src/components/si-map/models/map-point.interface.ts#L77-L86>)

**Kind:** interface

```
import type { IconMarkerOptions } from '@siemens/maps-ng';
```

```
interface IconMarkerOptions
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [scale](<https://github.com/siemens/element/blob/main/projects/maps-ng/src/components/si-map/models/map-point.interface.ts#L85-L85>) (optional) | `number` | Scale value for marker |
| [src](<https://github.com/siemens/element/blob/main/projects/maps-ng/src/components/si-map/models/map-point.interface.ts#L81-L81>) (optional) | `string` | Path to the icon image |
