Skip to main content

WemapPinpoint

Create a Wemap Pinpoint

public class WemapPinpoint: JSON 

Inheritance

JSON

Initializers

init(_:)

public init(_ json: NSDictionary) 
  • Parameter json: { id, longitude, latitude, name, description, external_data }

Properties

data

public let data: NSDictionary

id

public let id: Int

longitude

public let longitude: Double

latitude

public let latitude: Double

name

public let name: String

pinpointDescription

public let pinpointDescription: String

external_data

public let external_data: NSDictionary?

image_url

public let image_url: String?

media_url

public let media_url: String?

media_type

public let media_type: String?

geo_entity_shape

public let geo_entity_shape: NSDictionary?

tags

public let tags: [String]?

Methods

toJSONObject()

public override func toJSONObject() -> Any