Skip to content

SiMapPopoverComponent documentation

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

Attributes and Methods

Name Type Description
render()
({ component, mapPoints, map }: RenderOptions) => void

Types Documentation

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

import type { MapPointMetaData } from '@siemens/maps-ng';
Properties
  • Marker description, can be simple string or HTML as string

    description : string

  • Extra properties to be passed along (click function consumes it)

    extraProperties ? : any

  • 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

    group ? : number

  • Marker style

    marker ? : MarkerOptions

  • Marker name

    name : string

Methods
  • click ?(extraProperties?: any) => void

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

    Parameters

import type { MarkerOptions } from '@siemens/maps-ng';
Properties
  • Color of the marker, HEX or css compliant color value. Only use when a semantic status isn't working for the use-case.

    color ? : string

  • Icon options

    icon ? : IconMarkerOptions

  • Semantic status for coloring. This is also theme-aware.

    status ? : MarkerStatusType

  • Visual representation of marker

    type : "status" | "icon" | "dot"

MarkerStatusType

'success' | 'info' | 'warning' | 'danger' | 'caution' | 'critical' | 'default' | 'unknown'
type alias
import type { MarkerStatusType } from '@siemens/maps-ng';

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


Except where otherwise noted, content on this site is licensed under MIT License.