Maps API for JavaScript Developer's Guide

H.map.provider.MarkerTileProvider.Options

Type Definition Summary

This object encapsulates configuration options for an instance of MarkerTileProvider.

[ For full details, see the Type Definition Details ]

Property Summary

Table 1. Properties
Properties

min

The minimal supported zoom level, the default is 0

max

The maximal supported zoom level, the default is 22

requestData

A function that fetches marker data and creates an array of H.map.AbstractMarker that is passed to the success callback, if the function fails to fetch data, the error callback must be invoked

providesDomMarkers

indicates if the provided markers are of the type H.map.DomMarker or H.map.Marker, the default is H.map.Marker

Type Definition Description

This object encapsulates configuration options for an instance of MarkerTileProvider.

Property Details

min: {number=} [optional]

The minimal supported zoom level, the default is 0

max: {number=} [optional]

The maximal supported zoom level, the default is 22

requestData: {function(number, number, number, function(Array<H.map.AbstractMarker>), Function) : H.util.ICancelable}

A function that fetches marker data and creates an array of H.map.AbstractMarker that is passed to the success callback, if the function fails to fetch data, the error callback must be invoked

providesDomMarkers: {boolean=} [optional]

indicates if the provided markers are of the type H.map.DomMarker or H.map.Marker, the default is H.map.Marker