Maps API for JavaScript Developer's Guide

H.util.ICapturable

Interface Summary

An interface for capturable elements

[ For full details, see the Interface Details ]

Method Summary

Table 1. Methods
Methods

capture (canvas, pixelRatio, callback, opt_errback)

This method is used to capture the element view

Interface Description

An interface for capturable elements

Method Details

capture (canvas, pixelRatio, callback, opt_errback)

This method is used to capture the element view

Parameters:
 
canvas:
{HTMLCanvasElement}
 
HTML Canvas element to draw the view of the capturable element
pixelRatio:
{number}
 
The pixelRatio to use for over-sampling in cases of high-resolution displays, default is 1
callback:
{function(HTMLCanvasElement=)}
 
Callback function to call once result of the capturing is ready
opt_errback:
{function(string)=} [optional]
 
Callback function to call if error occurred during capturing

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.