Maps API for JavaScript Developer's Guide

H.places.Around

Class Summary

The Around endpoint represents sets of places within a specific location context, usually the location of the user. This endpoint is intended for applications that employ features such as augmented reality, where places around the user's location are displayed on a device. It is intended to provide places that are likely to be visible to the user as well as important places that are further away. For more visit Places API documentation

[ For full details, see the Class Details ]

Method Summary

Table 1. Methods
Methods

request (params, headers, onResult, onError)

Executes request to endpoint.

Class Description

The Around endpoint represents sets of places within a specific location context, usually the location of the user. This endpoint is intended for applications that employ features such as augmented reality, where places around the user's location are displayed on a device. It is intended to provide places that are likely to be visible to the user as well as important places that are further away. For more visit Places API documentation

Constructor Details

H.places.Around(service)

Parameters:
 
service:
{H.service.PlacesService}
 

Method Details

request (params, headers, onResult, onError)

Executes request to endpoint.

Parameters:
 
params:
{H.service.ServiceParameters}
 
encapsulates URL parameters to be sent to endpoint.
headers:
{Object}
 
required by the endpoint
onResult:
{Function}
 
callback that gets triggered with the full response of the request.
onError:
{Function}
 
callback gets triggered in case of network errors or in case of invalid request