Maps API for JavaScript Developer's Guide

H.service.extension.platformData.TileProvider

Class Summary

Extends: H.service.extension.TileProvider

This class represents a provider for continuous fetching of data by tiles from a data layer of the Platform DataExtension API.

[ For full details, see the Class Details ]

Events Summary

Table 1. Events
Events

error : {H.util.Event}

The Event is fired, when runtime error occurs

Class Description

This class represents a provider for continuous fetching of data by tiles from a data layer of the Platform DataExtension API.

Caused by asynchronous behavior of this provider there might be cases when an "error" event is fired, for example when the execution of the H.service.extension.platformData.LayerConfig#rowFilterContext fails.

Each map object provided by this class has data associated with it which is of type H.service.extension.dataView.IRow and can be retrieved by calling H.map.Object#getData method.

Constructor Details

H.service.extension.platformData.TileProvider(service, layerConfig, options)

Parameters:
 
service:
{H.service.extension.platformData.Service}
 
An object representing the PDE service
layerConfig:
{H.service.extension.platformData.LayerConfig}
 
The configuration of the data layer to load
options:
{H.service.extension.TileProvider.Options}
 
The options for the tile provider. By default the value of the 'min' property is 12.
Throws:
 
{H.lang.InvalidArgumentError}
 
if specified layer configuration has invalid properties.

Event Details

error: {H.util.Event}

The Event is fired, when runtime error occurs