i2 Notebook SDK
Search results for

    Show/hide table of contents

    Home > @i2analyze/notebook-sdk > app > IValueFactory > createGeoPoint

    app.IValueFactory.createGeoPoint() method

    Creates a data.IGeoPoint object from a pair of latitude and longitude values.

    Signature:

    createGeoPoint(latitude: number, longitude: number): data.IGeoPoint;
    

    Introduced: version 1.1

    Parameters

    Parameter Type Description
    latitude number The latitude of the geospatial position, in the range from -90 to +90 degrees.
    longitude number The longitude of the geospatial position, in the range from -180 to 180 degrees.

    Returns:

    data.IGeoPoint

    The new data.IGeoPoint object.

    Exceptions

    Error if either the latitude or the longitude was out of range.

    In this article
    Back to top © N. Harris Computer Corporation