Home > @magiclane/maps-sdk > LandmarkJson > (constructor)
LandmarkJson.(constructor)
Constructs a new instance of the LandmarkJson class
Signature:
constructor(input: {
coordinates?: Coordinates;
name?: string;
description?: string;
author?: string;
image?: GemImage;
extrainfo?: ExtraInfo;
address?: AddressInfo;
});Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
{ coordinates, name, description, author, image, extrainfo, address, } |
(not declared) | |
|
input |
{ coordinates?: Coordinates; name?: string; description?: string; author?: string; image?: GemImage; extrainfo?: ExtraInfo; address?: AddressInfo; } |
input properties:
- Optional coordinates?: Coordinates
- Optional name?: string
- Optional description?: string
- Optional author?: string
- Optional image?: GemImage
- Optional extrainfo?: ExtraInfo
- Optional address?: AddressInfo