Maps API for JavaScript Developer's Guide

H.service.venues.TileProvider

Class Summary

Extends: H.map.provider.RemoteTileProvider

This class represents a Venue Maps tile provider which requests venues tiles from a platform venue tile service.

[ For full details, see the Class Details ]

Method Summary

Table 1. Methods
Methods

setCurrentLevel (level)

This method specifies which floor level of the venues must be fetched by provider. The floor level is global to all venues and defaults to 0.

getCurrentLevel () : {number}

This method retrieves the floor level that provider uses for tile fetching.

Class Description

This class represents a Venue Maps tile provider which requests venues tiles from a platform venue tile service.

Constructor Details

H.service.venues.TileProvider(service, opt_options)

Parameters:
 
service:
{H.service.venues.Service}
 
An object representing the venue tile service
opt_options:
{H.service.venues.TileProvider.Options=} [optional]
 
An object containing configuration options

Method Details

setCurrentLevel (level)

This method specifies which floor level of the venues must be fetched by provider. The floor level is global to all venues and defaults to 0.

Parameters:
 
level:
{number}
 
A value indicating the floor level to fetch

getCurrentLevel () : {number}

This method retrieves the floor level that provider uses for tile fetching.

Returns:
 
{number}
A value indicating the floor level used by the provider