Maps API for JavaScript Developer's Guide

H.service.extension.customLocation.Table.Row

Class Summary

Implements: H.service.extension.dataView.IRow

This class represents an record within a CLE data layer as a table row. It implements the H.service.extension.dataView.IRow.<*> interface.

[ For full details, see the Class Details ]

Method Summary

Table 1. Methods
Methods

setCell (columnName, value)

To set the value of the cell at the specified column.

getColumnNames () : {Array<string>}

To get a ordered list of all column names.

getCell (columnName) : {(C | undefined)}

To get the cell value at the specified column

getTable () : {H.service.extension.dataView.ITable<C, M>}

To get the reference to the table this row belongs to

Class Description

This class represents an record within a CLE data layer as a table row. It implements the H.service.extension.dataView.IRow.<*> interface.

Constructor Details

H.service.extension.customLocation.Table.Row(table, rowIndex)

Parameters:
 
table:
{!H.service.extension.customLocation.Table}
 
The containing table of this row.
rowIndex:
{number}
 
The index of this row.

Method Details

setCell (columnName, value)

To set the value of the cell at the specified column.

GEOMETRY_ID cell of an existing row should not be modified to not cause data inconsistency.

Example

// Set value of the column with the specified name
row.setCell("COMPANY", "HERE Technologies");
row.setCell("WKT", new H.geo.Point(52.5309, 13.3849));
Parameters:
 
columnName:
{string}
 
The name of the cell's column
value:
{*}
 
The cell's value to set
Throws:
 
{H.lang.InvalidArgumentError}
 
if a column with the given name doesn't exist.

getColumnNames () : {Array<string>}

To get a ordered list of all column names.

Returns:
 
{Array<string>}
the list of the column names.

getCell (columnName) : {(C | undefined)}

To get the cell value at the specified column

Parameters:
 
columnName:
{string}
 
The name of the column
Returns:
 
{(C | undefined)}
The specified cell or undefined if a column with the the given name doesn't exist.

getTable () : {H.service.extension.dataView.ITable<C, M>}

To get the reference to the table this row belongs to

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.