Maps API for JavaScript Developer's Guide

H.map.HitArea

Class Summary

This class represents an area that objects, such as a marker, occupy in the screen space. Such objects can be probed and returned by H.Map@getObjectsAt method.

[ For full details, see the Class Details ]

Class Description

This class represents an area that objects, such as a marker, occupy in the screen space. Such objects can be probed and returned by H.Map@getObjectsAt method.

Constructor Details

H.map.HitArea(shapeType, opt_values)

Parameters:
 
shapeType:
{H.map.HitArea.ShapeType}
 
The shape type of the HitArea
opt_values:
{Array<number>=} [optional]
 
The type-dependent values to define the shape of the hit area. The format for the different types are: