Skip to main content

Converter

Index

Constructors

constructor

Properties

publicmapLonDelta

mapLonDelta: number

Methods

convertGeoToSVG

  • Converts geo-coordinates (latitude/lognitude) to SVG coordinates


    Parameters

    Returns SVGPoint

convertPixelToSVG

  • Converts pixel coordinates (relative to map container) to SVG coordinates


    Parameters

    Returns SVGPoint

convertSVGToGeo

  • Converts SVG coordinates to geo-coordinates (latitude/lognitude).


    Parameters

    Returns GeoPoint

convertSVGToPixel

  • Converts SVG coordinates to pixel coordinates relative to the map container


    Parameters

    Returns ScreenPoint

getScale

  • getScale(): number
  • Returns number

setGeoViewBox

setWorldShift

  • setWorldShift(on: boolean): void
  • Parameters

    • on: boolean

    Returns void

setYShift

  • setYShift(): void
  • Returns void