H.map.provider.Provider.Options
Type Definition Summary
This object defines configuration options for a Provider
instance.
[ For full details, see the Type Definition Details ]
Property Summary
Properties |
---|
The provider's unique resource identifier which must not contain an underscore |
The minimum supported zoom level, the default is |
The maximum supported zoom level, the default is |
A function to replace the default implementation of H.map.provider.Provider#getCopyrights |
Type Definition Description
This object defines configuration options for a Provider
instance.
Property Details
uri: {string=} [optional]
The provider's unique resource identifier which must not contain an underscore "_"
. If omitted, an auto-generated unique session ID is used. If a consistent ID across sessions is needed (for example for storing provider data), this property must be specified.
min: {number=} [optional]
The minimum supported zoom level, the default is 0
max: {number=} [optional]
The maximum supported zoom level, the default is 22
getCopyrights: {(function(H.geo.Rect, number) : ?Array<H.map.ICopyright>)=} [optional]
A function to replace the default implementation of H.map.provider.Provider#getCopyrights