Maps API for JavaScript Developer's Guide

H.util.Request

Class Summary

A generic class to represent a handle for any kind of asynchronous processed requests

[ For full details, see the Class Details ]

Method Summary

Table 1. Methods
Methods

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

Returns the state of this request

getTotal () : {number}

Returns the number of processing steps to complete this request

getProcessed () : {number}

Returns the number of steps which are already processed by this request

getFailed () : {number}

Returns the number of processingsteps which have been failed

Class Description

A generic class to represent a handle for any kind of asynchronous processed requests

Constructor Details

H.util.Request(opt_onprogress, opt_total)

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

Method Details

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

Returns the state of this request

Returns:
 
{H.util.Request.State}

getTotal () : {number}

Returns the number of processing steps to complete this request

Returns:
 
{number}

getProcessed () : {number}

Returns the number of steps which are already processed by this request

Returns:
 
{number}

getFailed () : {number}

Returns the number of processingsteps which have been failed

Returns:
 
{number}

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.