Maps API for JavaScript Developer's Guide

H.Map.BackgroundRange

Type Definition Summary

This variable defines the number of lower and higher zoom levels, where cached content of the base map is rendered while content of the current zoom level is still loading. For example, if range is set to {lower: 3, higher: 2} and current level is 10, then the rendering engine tries to display cached tiles from the lower zoom levels 7, 8, 9 and the higher levels 11 and 12.

[ For full details, see the Type Definition Details ]

Property Summary

Table 1. Properties
Properties

lower

The number of lower zoom levels to take into account, default is 0

higher

The number of higher zoom levels to take into account, default is 0

Type Definition Description

This variable defines the number of lower and higher zoom levels, where cached content of the base map is rendered while content of the current zoom level is still loading. For example, if range is set to {lower: 3, higher: 2} and current level is 10, then the rendering engine tries to display cached tiles from the lower zoom levels 7, 8, 9 and the higher levels 11 and 12.

Property Details

lower: {number}

The number of lower zoom levels to take into account, default is 0

higher: {number}

The number of higher zoom levels to take into account, default is 0