Maps API for JavaScript Developer's Guide

H.map.layer.ObjectLayer.Options

Type Definition Summary

This object encapsulates the configuration/initialization properties for the ObjectLayer.

[ For full details, see the Type Definition Details ]

Property Summary

Table 1. Properties
Properties

tileSize

The size of the tiles rendered by this layer for polylines and polygons (must be power of 2, the default is 256)

tileCacheSize

The number of fully rendered spatial tiles that are cached for immediate reuse, the default is 32

dataCacheSize

The number of tiles to cache which have render data only, the default is 512

pixelRatio

The pixel ratio to use for over-sampling on high-resolution displays

Type Definition Description

This object encapsulates the configuration/initialization properties for the ObjectLayer.

Property Details

tileSize: {number=} [optional]

The size of the tiles rendered by this layer for polylines and polygons (must be power of 2, the default is 256)

tileCacheSize: {number=} [optional]

The number of fully rendered spatial tiles that are cached for immediate reuse, the default is 32

dataCacheSize: {number=} [optional]

The number of tiles to cache which have render data only, the default is 512

pixelRatio: {number=} [optional]

The pixel ratio to use for over-sampling on high-resolution displays