Home > @magiclane/maps-sdk > LandmarkJson

LandmarkJson class

Landmark JSON class for serialization Landmark class ideally for setting large amount of landmarks data. eg. for List of Landmarks.

Signature:

export declare class LandmarkJson 

Constructors

Constructor

Modifiers

Description

(constructor)({ coordinates, name, description, author, image, extrainfo, address, }, input)

Constructs a new instance of the LandmarkJson class

Properties

Property

Modifiers

Type

Description

address?

AddressInfo

(Optional)

author?

string

(Optional)

coordinates?

Coordinates

(Optional)

description?

string

(Optional)

extrainfo?

ExtraInfo

(Optional)

image?

GemImage

(Optional)

name?

string

(Optional)

Methods

Method

Modifiers

Description

toJson()