Converter
Index
Constructors
constructor
Parameters
mapElement: HTMLElement
defViewBox: ViewBox
viewBox: ViewBox
optionalgeoViewBox: GeoViewBox
Returns Converter
Properties
publicmapLonDelta
Methods
convertGeoToSVG
convertPixelToSVG
Converts pixel coordinates (relative to map container) to SVG coordinates
Parameters
screenPoint: ScreenPoint
Returns SVGPoint
convertSVGToGeo
convertSVGToPixel
Converts SVG coordinates to pixel coordinates relative to the map container
Parameters
svgPoint: SVGPoint
Returns ScreenPoint
getScale
Returns number
setGeoViewBox
Parameters
geoViewBox: GeoViewBox
Returns void
setWorldShift
Parameters
on: boolean
Returns void
setYShift
Returns void
Converts geo-coordinates (latitude/lognitude) to SVG coordinates