Maps API for JavaScript Developer's Guide

H.service.venues.TileProvider.Options

Type Definition Summary

This configuration object defines configuration (initialization) options for a TileProvider.

[ For full details, see the Type Definition Details ]

Property Summary

Table 1. Properties
Properties

tileCacheSize

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

pixelRatio

The pixel ratio to use for over-sampling when a high-resolution display is in use

onSpaceCreated

A callback function that is called on every created space (see H.service.venues.Space) object. The function can be used for space object styling.

Type Definition Description

This configuration object defines configuration (initialization) options for a TileProvider.

Property Details

tileCacheSize: {number=} [optional]

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

pixelRatio: {number=} [optional]

The pixel ratio to use for over-sampling when a high-resolution display is in use

onSpaceCreated: {function(H.service.venues.Space)=} [optional]

A callback function that is called on every created space (see H.service.venues.Space) object. The function can be used for space object styling.