rapid-sdk
    Preparing search index...

    Transform is a class for dealing with transform data x,y - translation, (from origin coordinate [0,0], to top-left screen coordinate) z - zoom (the scale factor is 2^z) r - rotation, optionally applied post-projection to change the map bearing away from north-up

    Index

    Constructors

    Properties

    r x y z

    Accessors

    Constructors

    Properties

    r: number = 0
    x: number = 0
    y: number = 0
    z: number = 1

    Accessors

    • get rotation(): number

      rotation factor

      Returns number

    • set rotation(val: number): void

      Parameters

      • val: number

      Returns void

    • get zoom(): number

      zoom factor

      Returns number

    • set zoom(val: number): void

      Parameters

      • val: number

      Returns void