Maps API for JavaScript Developer's Guide

H.util.Request

Class Summary

This is a generic class representing a handle for any kind of asynchronous request.

[ For full details, see the Class Details ]

Method Summary

Table 1. Methods
Methods

getState () : {H.util.Request.State}

This method retrieves the state of the request.

getTotal () : {number}

This method retrieves the number of processing steps to complete this request.

getProcessed () : {number}

This method retrieves the number of completed request processing steps.

getFailed () : {number}

This method retrieves the number of failed processing steps.

Class Description

This is a generic class representing a handle for any kind of asynchronous request.

Constructor Details

H.util.Request(opt_onprogress, opt_total)

Parameters:
 
opt_onprogress:
{function(H.util.Request)=} [optional]
 
A callback to invoke every time the progress state of the request changes
opt_total:
{number=} [optional]
 
The total number of processing steps to complete the request, the default is 1

Method Details

getState () : {H.util.Request.State}

This method retrieves the state of the request.

Returns:
 
{H.util.Request.State}
A value indicating the state of the request

getTotal () : {number}

This method retrieves the number of processing steps to complete this request.

Returns:
 
{number}
A value indicating the number of processing steps.

getProcessed () : {number}

This method retrieves the number of completed request processing steps.

Returns:
 
{number}
A value indicating how many processing steps have been completed

getFailed () : {number}

This method retrieves the number of failed processing steps.

Returns:
 
{number}
A value indicating the number of failed processing steps

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.