Home > @i2analyze/i2connect > data > createGeoPoint
data.createGeoPoint() function
Creates a data.IGeoPoint object from a data.IGeoPointData object.
Signature:
function createGeoPoint(data: IGeoPointData): IGeoPoint;
Introduced: API version 2.0
Parameters
Parameter | Type | Description |
---|---|---|
data | IGeoPointData | A set of data that specifies the geospatial point. |
Returns:
The new data.IGeoPoint object.
Exceptions
Error
if either the latitude or the longitude in data
was out of range.