Home > @i2analyze/i2connect > data > createGeoPoint
data.createGeoPoint() function
Creates a data.IGeoPoint object from a data.IGeoJsonPoint object.
Signature:
function createGeoPoint(data: IGeoJsonPoint): IGeoPoint;
Introduced: API version 2.0
Parameters
Parameter | Type | Description |
---|---|---|
data | IGeoJsonPoint | A data.IGeoJsonPoint object that specifies the geospatial point. |
Returns:
The new data.IGeoPoint object.
Exceptions
Error
if the specified object contained out-of-range data or was otherwise not valid.