Type Alias: RNMarkerSvg
type RNMarkerSvg = {
height: number;
svgString: string;
width: number;
};
Marker SVG definition.
Properties
| Property | Type | Description |
|---|---|---|
height | number | Icon height in logical units. iOS: points (pt) Android: density-independent pixels (dp) Converted internally to physical pixels. |
svgString | string | Raw SVG content, rendered by lunasvg — https://github.com/sammycage/lunasvg The SVG is fitted into width x height and centered, it keeps its aspect ratio. <image> may reference data URIs and http(s) URLs. font-family finds the system fonts and the fonts bundled with the app by their file name, e.g. Roboto-Bold, or their family, e.g. Roboto. See SVG markers in the docs. |
width | number | Icon width in logical units. iOS: points (pt) Android: density-independent pixels (dp) Converted internally to physical pixels. |