MapLayr
    Preparing search index...

    Class MapPoint

    Represents a point on the map.

    A map point is the resulting cartesian point after projecting some coordinates using a map projection.

    In general, you won't need to use map points. Instead, you should use Coordinates in most circumstances when interfacing with MapLayr.

    Index

    Configuring the Properties

    x y

    Creating Map Points

    Configuring the Properties

    x: number

    The x position of the point.

    y: number

    The y position of the point.

    Creating Map Points

    • Creates a new map point.

      Parameters

      • x: number

        The x position.

      • y: number

        The y position.

      Returns MapPoint