locar-tiler
    Preparing search index...

    Class SphMercProjection

    Index

    Constructors

    Methods

    • Return the projection's ID.

      Returns string

      The value "epsg:3857".

    • Obtains a tile from a given Spherical Mercator position and zoom.

      Parameters

      • p: EastNorth

        the Spherical Mercator position.

      • z: number

        the zoom level.

      Returns Tile

    • Obtains a tile from a given lon/lat and zoom.

      Parameters

      • lonLat: LonLat

        the longitude/latitude.

      • z: number

        the zoom level.

      Returns Tile