ng2-heremaps
Version:
Here Maps for Angular 6
9 lines (8 loc) • 340 B
TypeScript
import { GeoPoint, LatLng } from '../interface/lat-lng';
/**
* Converts supported type of geo point to LatLong object.
* If geoPoint parameter is null or undefined then function will return geo center
* {lat: 0, lng: 0}
* @param geoPoint Any supported type of geo point
*/
export declare function toLatLng(geoPoint: GeoPoint): LatLng;