Class MappedinCoordinate

A MappedinCoordinate represents a coordinate on a map, created using lat/lon.

Hierarchy

  • MappedinCoordinate

Properties

Accessors

Methods

Properties

The Map that the Node is located on.

Accessors

  • get lat(): number
  • Latitude

    Returns number

  • get lon(): number
  • Longitude

    Returns number

  • get nearestNode(): MappedinNode
  • Get Nearest Node to Coordinate, which can then be used for navigation

    Returns MappedinNode

  • get x(): number
  • X coordinate in Mappedin Units

    Returns number

  • get y(): number
  • Y coordinate in Mappedin Units

    Returns number

Methods

  • Returns {
        lat: number;
        lon: number;
        map: MappedinMap;
        x: number;
        y: number;
    }

    • lat: number
    • lon: number
    • map: MappedinMap
    • x: number
    • y: number