Maps API for JavaScript Developer's Guide

H.map.provider.Tile

Class Summary

Generic Tile object which represents a part of the world fiting into the Tile area represented by the Tiel coordinates (x - row, y - column) and the zoom level (z). Number of tiles at particular zoom level (which means number of areas into world is being splitted) is defined as following: numberOfRows = numberOfColumns = 2^zoomlevel

[ For full details, see the Class Details ]

Property Summary

Table 1. Properties
Properties

key : {string}

Unique tile key generated by provider

data : {*}

Tile data (an image for example)

valid : {boolean}

This property holds a boolean flag indicating whether this tile is still valid (true) or whether it should be re-fetched (false)

x : {number}

Tile column

y : {number}

Tile row

z : {number}

Tile zoom level

Class Description

Generic Tile object which represents a part of the world fiting into the Tile area represented by the Tiel coordinates (x - row, y - column) and the zoom level (z). Number of tiles at particular zoom level (which means number of areas into world is being splitted) is defined as following: numberOfRows = numberOfColumns = 2^zoomlevel

Constructor Details

H.map.provider.Tile(x, y, z, data)

Parameters:
 
x:
{number}
 
x tile coordinate (row)
y:
{number}
 
y tile coordinate (column)
z:
{number}
 
tile zoom level
data:
{*}
 
generic data object which cooresponds to the given coordinates

Property Details

key: {string}

Unique tile key generated by provider

data: {*}

Tile data (an image for example)

valid: {boolean}

This property holds a boolean flag indicating whether this tile is still valid (true) or whether it should be re-fetched (false)

x: {number}

Tile column

y: {number}

Tile row

z: {number}

Tile zoom level

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.