Type module
Sources
Items from MapUtils can be imported/included and used via following ways.
/** * -------------------------------------------------------- * Import via: MapUtils.ts * Access items like: $maputils.myVariable * $maputils.myFunction() * -------------------------------------------------------- */ import * as $maputils from "@amcharts/amcharts4/MapUtils";
Variables
MapUtils does not have any variables.
Functions
getBackground( north: ) |
Returns Returns a set of screen coordinates that represents a "background" area between provided extremities. @since 4.3.0 |
---|---|
getCircle( longitude: ) |
Returns Returns a set of geographical coordinates for the circle with a center at specific lat/long coordinates and radius (in degrees). @since 4.3.0 |
multiGeoLineToMultiLine( multiGeoLine: ) |
Returns Converts geo line (collection of lat/long coordinates) to screen line (x/y). |
multiGeoPolygonToMultipolygon( multiGeoPolygon: ) |
Returns Converts a geo polygon (collection of lat/long coordinates) to screen polygon (x/y). |
multiGeoToPoint( geoPoints: ) |
Returns Converts multiple X/Y points into a lat/long geo-points. |
multiLineToGeo( multiLine: ) |
Returns Converts a multiline in X/Y coordinates to a geo-multiline in geo-points (lat/long). |
multiPointToGeo( points: ) |
Returns Converts multiple X/Y points into a lat/long geo-points. |
multiPolygonToGeo( multiPolygon: ) |
Returns Converts a multi-part polygon in X/Y coordinates to a geo-multipolygon in geo-points (lat/long). |
pointToGeo( point: ) |
Returns Converts X/Y point into a lat/long geo-point. |