ng-azure-maps
Version:
Angular wrapper for Azure Maps
1,129 lines (1,104 loc) • 132 kB
TypeScript
import * as i0 from '@angular/core';
import { InjectionToken, OnChanges, OnDestroy, SimpleChanges, AfterViewInit, AfterContentChecked, QueryList, ElementRef, ModuleWithProviders } from '@angular/core';
import * as atlas from 'azure-maps-control';
import { AuthenticationOptions, ControlPosition, Map } from 'azure-maps-control';
import * as atlas$1 from 'azure-maps-rest';
import { IRetryOptions } from 'azure-maps-rest';
import * as atlasdrawing from 'azure-maps-drawing-tools';
import { HttpClient } from '@angular/common/http';
import { Observable } from 'rxjs';
declare const AZUREMAPS_CONFIG: InjectionToken<unknown>;
/**
* Configuration of the Azure Maps
*/
declare class AzureMapsConfiguration {
authOptions: AuthenticationOptions;
pipelineRetryOptions?: IRetryOptions;
domain?: string;
}
declare abstract class ControlDirective {
position: ControlPosition;
abstract initialize(map: Map): void;
static ɵfac: i0.ɵɵFactoryDeclaration<ControlDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<ControlDirective, never, never, { "position": { "alias": "position"; "required": false; }; }, {}, never, never, true, never>;
}
declare class ZoomControlDirective extends ControlDirective {
zoomDelta: number;
controlStyle: atlas.ControlStyle;
initialize(map: atlas.Map): void;
static ɵfac: i0.ɵɵFactoryDeclaration<ZoomControlDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<ZoomControlDirective, "[map-zoom-control], map-zoom-control", never, { "zoomDelta": { "alias": "zoomDelta"; "required": false; }; "controlStyle": { "alias": "controlStyle"; "required": false; }; }, {}, never, never, false, never>;
}
declare class PitchControlDirective extends ControlDirective {
pitchDegreesDelta: number;
controlStyle: atlas.ControlStyle;
initialize(map: atlas.Map): void;
static ɵfac: i0.ɵɵFactoryDeclaration<PitchControlDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<PitchControlDirective, "[map-pitch-control], map-pitch-control", never, { "pitchDegreesDelta": { "alias": "pitchDegreesDelta"; "required": false; }; "controlStyle": { "alias": "controlStyle"; "required": false; }; }, {}, never, never, false, never>;
}
declare class CompassControlDirective extends ControlDirective {
rotationDegreesDelta: number;
controlStyle: atlas.ControlStyle;
initialize(map: atlas.Map): void;
static ɵfac: i0.ɵɵFactoryDeclaration<CompassControlDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<CompassControlDirective, "[map-compass-control], map-compass-control", never, { "rotationDegreesDelta": { "alias": "rotationDegreesDelta"; "required": false; }; "controlStyle": { "alias": "controlStyle"; "required": false; }; }, {}, never, never, false, never>;
}
declare class StyleControlDirective extends ControlDirective {
layout: 'icons' | 'list';
mapStyles: string[] | 'all';
controlStyle: atlas.ControlStyle;
initialize(map: atlas.Map): void;
static ɵfac: i0.ɵɵFactoryDeclaration<StyleControlDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<StyleControlDirective, "[map-style-control], map-style-control", never, { "layout": { "alias": "layout"; "required": false; }; "mapStyles": { "alias": "mapStyles"; "required": false; }; "controlStyle": { "alias": "controlStyle"; "required": false; }; }, {}, never, never, false, never>;
}
declare class HtmlMarkerDirective implements OnChanges, OnDestroy {
private _map;
private _marker;
private readonly _markerEvents;
anchor: string;
color: string;
draggable: boolean;
htmlContent: string | HTMLElement;
pixelOffset: atlas.Pixel;
position: atlas.data.Position;
secondaryColor: string;
text: string;
visible: boolean;
marker: atlas.HtmlMarker;
onClick: any;
onContextMenu: any;
onDblClick: any;
onDrag: any;
onDragStart: any;
onDragEnd: any;
onKeyDown: any;
onKeyPress: any;
onKeyUp: any;
onMouseDown: any;
onMouseEnter: any;
onMouseLeave: any;
onMouseMove: any;
onMouseOut: any;
onMouseOver: any;
onMouseUp: any;
get hasMap(): boolean;
ngOnChanges(): void;
ngOnDestroy(): void;
addToMap(map: atlas.Map): void;
private toMarkerEvent;
static ɵfac: i0.ɵɵFactoryDeclaration<HtmlMarkerDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<HtmlMarkerDirective, "[map-html-marker], map-html-marker", never, { "anchor": { "alias": "anchor"; "required": false; }; "color": { "alias": "color"; "required": false; }; "draggable": { "alias": "draggable"; "required": false; }; "htmlContent": { "alias": "htmlContent"; "required": false; }; "pixelOffset": { "alias": "pixelOffset"; "required": false; }; "position": { "alias": "position"; "required": false; }; "secondaryColor": { "alias": "secondaryColor"; "required": false; }; "text": { "alias": "text"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "marker": { "alias": "marker"; "required": false; }; }, { "onClick": "onClick"; "onContextMenu": "onContextMenu"; "onDblClick": "onDblClick"; "onDrag": "onDrag"; "onDragStart": "onDragStart"; "onDragEnd": "onDragEnd"; "onKeyDown": "onKeyDown"; "onKeyPress": "onKeyPress"; "onKeyUp": "onKeyUp"; "onMouseDown": "onMouseDown"; "onMouseEnter": "onMouseEnter"; "onMouseLeave": "onMouseLeave"; "onMouseMove": "onMouseMove"; "onMouseOut": "onMouseOut"; "onMouseOver": "onMouseOver"; "onMouseUp": "onMouseUp"; }, never, never, false, never>;
}
declare class DrawingToolbarDirective implements OnChanges, OnDestroy {
private _drawingManager;
private _toolbar;
private _map;
dragHandleStyle: atlas.HtmlMarkerOptions;
freehandInterval: number;
interactionType: atlasdrawing.drawing.DrawingInteractionType;
mode: atlasdrawing.drawing.DrawingMode;
secondaryDragHandleStyle: atlas.HtmlMarkerOptions;
shapeDraggingEnabled: boolean;
buttons: string[];
containerId: string;
numColumns: number;
position: string;
toolbarStyle: string;
visible: boolean;
drawingChanged: any;
drawingChanging: any;
drawingComplete: any;
drawingModeChanged: any;
drawingStarted: any;
ngOnChanges(): void;
ngOnDestroy(): void;
initialize(map: atlas.Map): void;
getDatasource(): atlas.source.DataSource;
getPreviewSource(): atlas.source.DataSource;
static ɵfac: i0.ɵɵFactoryDeclaration<DrawingToolbarDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<DrawingToolbarDirective, "[map-drawing-toolbar], map-drawing-toolbar", never, { "dragHandleStyle": { "alias": "dragHandleStyle"; "required": false; }; "freehandInterval": { "alias": "freehandInterval"; "required": false; }; "interactionType": { "alias": "interactionType"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "secondaryDragHandleStyle": { "alias": "secondaryDragHandleStyle"; "required": false; }; "shapeDraggingEnabled": { "alias": "shapeDraggingEnabled"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; "containerId": { "alias": "containerId"; "required": false; }; "numColumns": { "alias": "numColumns"; "required": false; }; "position": { "alias": "position"; "required": false; }; "toolbarStyle": { "alias": "toolbarStyle"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; }, { "drawingChanged": "drawingChanged"; "drawingChanging": "drawingChanging"; "drawingComplete": "drawingComplete"; "drawingModeChanged": "drawingModeChanged"; "drawingStarted": "drawingStarted"; }, never, never, false, never>;
}
declare abstract class LayerDirective<T extends atlas.layer.Layer> implements OnDestroy {
private readonly _layerEvents;
protected layer: T;
id: string;
before: string;
onAdded: any;
onClick: any;
onContextMenu: any;
onDblClick: any;
onMouseDown: any;
onMouseEnter: any;
onMouseLeave: any;
onMouseMove: any;
onMouseOut: any;
onMouseOver: any;
onMouseUp: any;
onRemoved: any;
onTouchCancel: any;
onTouchEnd: any;
onTouchMove: any;
onTouchStart: any;
onWheel: any;
get hasLayer(): boolean;
ngOnDestroy(): void;
protected initializeEvents(map: atlas.Map): void;
private toLayerEvent;
static ɵfac: i0.ɵɵFactoryDeclaration<LayerDirective<any>, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<LayerDirective<any>, never, never, { "id": { "alias": "id"; "required": false; }; "before": { "alias": "before"; "required": false; }; }, { "onAdded": "onAdded"; "onClick": "onClick"; "onContextMenu": "onContextMenu"; "onDblClick": "onDblClick"; "onMouseDown": "onMouseDown"; "onMouseEnter": "onMouseEnter"; "onMouseLeave": "onMouseLeave"; "onMouseMove": "onMouseMove"; "onMouseOut": "onMouseOut"; "onMouseOver": "onMouseOver"; "onMouseUp": "onMouseUp"; "onRemoved": "onRemoved"; "onTouchCancel": "onTouchCancel"; "onTouchEnd": "onTouchEnd"; "onTouchMove": "onTouchMove"; "onTouchStart": "onTouchStart"; "onWheel": "onWheel"; }, never, never, true, never>;
}
declare abstract class SourceLayerDirective<T extends atlas.layer.Layer> extends LayerDirective<T> implements OnDestroy {
dataSourceId: string;
sourceLayer: string;
initialize(map: atlas.Map, dataSource: atlas.source.Source): void;
clear(map: atlas.Map): void;
protected abstract buildLayer(dataSource: atlas.source.Source): T;
static ɵfac: i0.ɵɵFactoryDeclaration<SourceLayerDirective<any>, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<SourceLayerDirective<any>, never, never, { "dataSourceId": { "alias": "dataSourceId"; "required": false; }; "sourceLayer": { "alias": "sourceLayer"; "required": false; }; }, {}, never, never, true, never>;
}
declare class SymbolLayerDirective extends SourceLayerDirective<atlas.layer.SymbolLayer> implements OnChanges {
filter: atlas.Expression;
iconOptions: atlas.IconOptions;
lineSpacing: atlas.Expression | number;
maxZoom: number;
minZoom: number;
placement: 'point' | 'line' | 'line-center';
textOptions: atlas.TextOptions;
visible: boolean;
ngOnChanges(): void;
protected buildLayer(dataSource: atlas.source.Source): atlas.layer.SymbolLayer;
static ɵfac: i0.ɵɵFactoryDeclaration<SymbolLayerDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<SymbolLayerDirective, "[map-symbol-layer], map-symbol-layer", never, { "filter": { "alias": "filter"; "required": false; }; "iconOptions": { "alias": "iconOptions"; "required": false; }; "lineSpacing": { "alias": "lineSpacing"; "required": false; }; "maxZoom": { "alias": "maxZoom"; "required": false; }; "minZoom": { "alias": "minZoom"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "textOptions": { "alias": "textOptions"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; }, {}, never, never, false, never>;
}
declare class BubbleLayerDirective extends SourceLayerDirective<atlas.layer.BubbleLayer> implements OnChanges {
blur: number | atlas.Expression;
color: string | atlas.Expression;
filter: atlas.Expression;
maxZoom: number;
minZoom: number;
opacity: number | atlas.Expression;
pitchAlignment: 'map' | 'viewport';
radius: number | atlas.Expression;
strokeColor: string | atlas.Expression;
strokeOpacity: number | atlas.Expression;
strokeWidth: number | atlas.Expression;
visible: boolean;
ngOnChanges(): void;
protected buildLayer(dataSource: atlas.source.Source): atlas.layer.BubbleLayer;
static ɵfac: i0.ɵɵFactoryDeclaration<BubbleLayerDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<BubbleLayerDirective, "[map-bubble-layer], map-bubble-layer", never, { "blur": { "alias": "blur"; "required": false; }; "color": { "alias": "color"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "maxZoom": { "alias": "maxZoom"; "required": false; }; "minZoom": { "alias": "minZoom"; "required": false; }; "opacity": { "alias": "opacity"; "required": false; }; "pitchAlignment": { "alias": "pitchAlignment"; "required": false; }; "radius": { "alias": "radius"; "required": false; }; "strokeColor": { "alias": "strokeColor"; "required": false; }; "strokeOpacity": { "alias": "strokeOpacity"; "required": false; }; "strokeWidth": { "alias": "strokeWidth"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; }, {}, never, never, false, never>;
}
declare class LineLayerDirective extends SourceLayerDirective<atlas.layer.LineLayer> implements OnChanges {
blur: number | atlas.Expression;
filter: atlas.Expression;
lineCap: 'butt' | 'round' | 'square';
lineJoin: 'bevel' | 'round' | 'miter';
maxZoom: number;
minZoom: number;
offset: number | atlas.Expression;
strokeColor: string | atlas.Expression;
strokeDashArray: number[];
strokeGradient: atlas.Expression;
strokeOpacity: number | atlas.Expression;
strokeWidth: number | atlas.Expression;
translate: atlas.Pixel;
translateAnchor: 'map' | 'viewport';
visible: boolean;
ngOnChanges(): void;
protected buildLayer(dataSource: atlas.source.Source): atlas.layer.LineLayer;
static ɵfac: i0.ɵɵFactoryDeclaration<LineLayerDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<LineLayerDirective, "[map-line-layer], map-line-layer", never, { "blur": { "alias": "blur"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "lineCap": { "alias": "lineCap"; "required": false; }; "lineJoin": { "alias": "lineJoin"; "required": false; }; "maxZoom": { "alias": "maxZoom"; "required": false; }; "minZoom": { "alias": "minZoom"; "required": false; }; "offset": { "alias": "offset"; "required": false; }; "strokeColor": { "alias": "strokeColor"; "required": false; }; "strokeDashArray": { "alias": "strokeDashArray"; "required": false; }; "strokeGradient": { "alias": "strokeGradient"; "required": false; }; "strokeOpacity": { "alias": "strokeOpacity"; "required": false; }; "strokeWidth": { "alias": "strokeWidth"; "required": false; }; "translate": { "alias": "translate"; "required": false; }; "translateAnchor": { "alias": "translateAnchor"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; }, {}, never, never, false, never>;
}
declare class PolygonLayerDirective extends SourceLayerDirective<atlas.layer.PolygonLayer> implements OnChanges {
fillColor: string | atlas.Expression;
fillOpacity: number | atlas.Expression;
fillPattern: string | atlas.Expression;
filter: atlas.Expression;
maxZoom: number;
minZoom: number;
visible: boolean;
ngOnChanges(): void;
protected buildLayer(dataSource: atlas.source.Source): atlas.layer.PolygonLayer;
static ɵfac: i0.ɵɵFactoryDeclaration<PolygonLayerDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<PolygonLayerDirective, "[map-polygon-layer], map-polygon-layer", never, { "fillColor": { "alias": "fillColor"; "required": false; }; "fillOpacity": { "alias": "fillOpacity"; "required": false; }; "fillPattern": { "alias": "fillPattern"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "maxZoom": { "alias": "maxZoom"; "required": false; }; "minZoom": { "alias": "minZoom"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; }, {}, never, never, false, never>;
}
declare class PolygonExtrusionLayerDirective extends SourceLayerDirective<atlas.layer.PolygonExtrusionLayer> implements OnChanges {
base: number | atlas.Expression;
fillColor: string | atlas.Expression;
fillOpacity: number;
fillPattern: string;
filter: atlas.Expression;
height: number;
maxZoom: number;
minZoom: number;
translate: atlas.Pixel;
translateAnchor: 'map' | 'viewport';
verticalGradient: boolean;
visible: boolean;
ngOnChanges(): void;
protected buildLayer(dataSource: atlas.source.Source): atlas.layer.PolygonExtrusionLayer;
static ɵfac: i0.ɵɵFactoryDeclaration<PolygonExtrusionLayerDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<PolygonExtrusionLayerDirective, "[map-polygon-extrusion-layer], map-polygon-extrusion-layer", never, { "base": { "alias": "base"; "required": false; }; "fillColor": { "alias": "fillColor"; "required": false; }; "fillOpacity": { "alias": "fillOpacity"; "required": false; }; "fillPattern": { "alias": "fillPattern"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "height": { "alias": "height"; "required": false; }; "maxZoom": { "alias": "maxZoom"; "required": false; }; "minZoom": { "alias": "minZoom"; "required": false; }; "translate": { "alias": "translate"; "required": false; }; "translateAnchor": { "alias": "translateAnchor"; "required": false; }; "verticalGradient": { "alias": "verticalGradient"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; }, {}, never, never, false, never>;
}
declare class HeatmapLayerDirective extends SourceLayerDirective<atlas.layer.HeatMapLayer> implements OnChanges {
color: atlas.Expression;
filter: atlas.Expression;
intensity: number | atlas.Expression;
maxZoom: number;
minZoom: number;
opacity: number | atlas.Expression;
radius: number | atlas.Expression;
visible: boolean;
weight: number | atlas.Expression;
ngOnChanges(): void;
protected buildLayer(dataSource: atlas.source.Source): atlas.layer.HeatMapLayer;
static ɵfac: i0.ɵɵFactoryDeclaration<HeatmapLayerDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<HeatmapLayerDirective, "[map-heatmap-layer], map-heatmap-layer", never, { "color": { "alias": "color"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "intensity": { "alias": "intensity"; "required": false; }; "maxZoom": { "alias": "maxZoom"; "required": false; }; "minZoom": { "alias": "minZoom"; "required": false; }; "opacity": { "alias": "opacity"; "required": false; }; "radius": { "alias": "radius"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "weight": { "alias": "weight"; "required": false; }; }, {}, never, never, false, never>;
}
declare class ImageLayerDirective extends LayerDirective<atlas.layer.ImageLayer> implements OnChanges {
contrast: number;
coordinates: atlas.data.Position[];
fadeDuration: number;
filter: atlas.Expression;
hueRotation: number;
maxBrightness: number;
maxZoom: number;
minBrightness: number;
minZoom: number;
opacity: number;
saturation: number;
url: string;
visible: boolean;
ngOnChanges(): void;
initialize(map: atlas.Map): void;
static ɵfac: i0.ɵɵFactoryDeclaration<ImageLayerDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<ImageLayerDirective, "[map-image-layer], map-image-layer", never, { "contrast": { "alias": "contrast"; "required": false; }; "coordinates": { "alias": "coordinates"; "required": false; }; "fadeDuration": { "alias": "fadeDuration"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "hueRotation": { "alias": "hueRotation"; "required": false; }; "maxBrightness": { "alias": "maxBrightness"; "required": false; }; "maxZoom": { "alias": "maxZoom"; "required": false; }; "minBrightness": { "alias": "minBrightness"; "required": false; }; "minZoom": { "alias": "minZoom"; "required": false; }; "opacity": { "alias": "opacity"; "required": false; }; "saturation": { "alias": "saturation"; "required": false; }; "url": { "alias": "url"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; }, {}, never, never, false, never>;
}
declare class TileLayerDirective extends LayerDirective<atlas.layer.TileLayer> implements OnChanges {
bounds: atlas.data.BoundingBox;
contrast: number;
fadeDuration: number;
filter: atlas.Expression;
hueRotation: number;
isTMS: boolean;
maxBrightness: number;
maxSourceZoom: number;
maxZoom: number;
minBrightness: number;
minSourceZoom: number;
minZoom: number;
opacity: number;
saturation: number;
subdomains: string[];
tileSize: number;
tileUrl: string;
visible: boolean;
ngOnChanges(): void;
initialize(map: atlas.Map): void;
static ɵfac: i0.ɵɵFactoryDeclaration<TileLayerDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<TileLayerDirective, "[map-tile-layer], map-tile-layer", never, { "bounds": { "alias": "bounds"; "required": false; }; "contrast": { "alias": "contrast"; "required": false; }; "fadeDuration": { "alias": "fadeDuration"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "hueRotation": { "alias": "hueRotation"; "required": false; }; "isTMS": { "alias": "isTMS"; "required": false; }; "maxBrightness": { "alias": "maxBrightness"; "required": false; }; "maxSourceZoom": { "alias": "maxSourceZoom"; "required": false; }; "maxZoom": { "alias": "maxZoom"; "required": false; }; "minBrightness": { "alias": "minBrightness"; "required": false; }; "minSourceZoom": { "alias": "minSourceZoom"; "required": false; }; "minZoom": { "alias": "minZoom"; "required": false; }; "opacity": { "alias": "opacity"; "required": false; }; "saturation": { "alias": "saturation"; "required": false; }; "subdomains": { "alias": "subdomains"; "required": false; }; "tileSize": { "alias": "tileSize"; "required": false; }; "tileUrl": { "alias": "tileUrl"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; }, {}, never, never, false, never>;
}
declare class PopupDirective implements OnChanges, OnDestroy {
private _map;
private _popup;
private readonly _popupEvents;
opened: boolean;
closeButton: boolean;
content: HTMLElement | string;
draggable: boolean;
fillColor: string;
pixelOffset: atlas.Pixel;
position: atlas.data.Position;
showPointer: boolean;
onClose: any;
onDrag: any;
onDragEnd: any;
onDragStart: any;
onOpen: any;
get hasMap(): boolean;
ngOnChanges(changes: SimpleChanges): void;
ngOnDestroy(): void;
addToMap(map: atlas.Map): void;
private toPopupEvent;
static ɵfac: i0.ɵɵFactoryDeclaration<PopupDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<PopupDirective, "[map-popup], map-popup", never, { "opened": { "alias": "opened"; "required": false; }; "closeButton": { "alias": "closeButton"; "required": false; }; "content": { "alias": "content"; "required": false; }; "draggable": { "alias": "draggable"; "required": false; }; "fillColor": { "alias": "fillColor"; "required": false; }; "pixelOffset": { "alias": "pixelOffset"; "required": false; }; "position": { "alias": "position"; "required": false; }; "showPointer": { "alias": "showPointer"; "required": false; }; }, { "onClose": "onClose"; "onDrag": "onDrag"; "onDragEnd": "onDragEnd"; "onDragStart": "onDragStart"; "onOpen": "onOpen"; }, never, never, false, never>;
}
declare class AzureMapDirective implements AfterViewInit, AfterContentChecked, OnChanges {
private readonly elementRef;
private readonly _mapEvents;
private _map;
autoResize: boolean;
bearing: number;
bounds: [number, number, number, number];
boxZoomInteraction: boolean;
cameraType: 'jump' | 'ease' | 'fly';
center: [number, number];
centerOffset: [number, number];
cursor: string;
dblclickZoomInteraction: boolean;
disableTelemetry: boolean;
duration: number;
dragPanInteraction: boolean;
dragRotateInteraction: boolean;
enableAccessibility: boolean;
interactive: boolean;
keyboardInteraction: boolean;
language: string;
light: atlas.LightOptions;
maxBounds: atlas.data.BoundingBox;
maxZoom: number;
minZoom: number;
offset: [number, number];
padding: {
top: 0;
bottom: 0;
left: 0;
right: 0;
};
preserveDrawingBuffer: boolean;
pitch: number;
refreshExpiredTiles: boolean;
renderWorldCopies: boolean;
scrollZoomInteraction: boolean;
mapStyle: string;
showBuildingModels: boolean;
showFeedbackLink: boolean;
showLogo: boolean;
showTilesBoundary: boolean;
touchInteraction: boolean;
view: string;
wheelZoomRate: number;
zoom: number;
dataSources: atlas.source.Source[];
trafficOptions: atlas.TrafficOptions;
onBoxZoomEnd: any;
onBoxZoomStart: any;
onClick: any;
onContextMenu: any;
onData: any;
onDblClick: any;
onDrag: any;
onDragEnd: any;
onDragStart: any;
onError: any;
onIdle: any;
onLayerAdded: any;
onLayerRemoved: any;
onLoad: any;
onMouseDown: any;
onMouseLeave: any;
onMouseMove: any;
onMouseOut: any;
onMouseOver: any;
onMouseUp: any;
onMove: any;
onMoveEnd: any;
onMoveStart: any;
onPitch: any;
onPitchEnd: any;
onPitchStart: any;
onReady: any;
onRender: any;
onResize: any;
onRotate: any;
onRotateEnd: any;
onRotateStart: any;
onSourceAdded: any;
onSourceData: any;
onSourceRemoved: any;
onStyleData: any;
onStyleImageMissing: any;
onTokenAcquired: any;
onTouchCancel: any;
onTouchEnd: any;
onTouchMove: any;
onTouchStart: any;
onWheel: any;
onZoom: any;
onZoomEnd: any;
onZoomStart: any;
zoomControl: ZoomControlDirective;
pitchControl: PitchControlDirective;
compassControl: CompassControlDirective;
styleControl: StyleControlDirective;
htmlMarkers: QueryList<HtmlMarkerDirective>;
drawingToolbar: DrawingToolbarDirective;
symbolLayers: QueryList<SymbolLayerDirective>;
bubbleLayers: QueryList<BubbleLayerDirective>;
lineLayers: QueryList<LineLayerDirective>;
polygonLayers: QueryList<PolygonLayerDirective>;
polygonExtrusionLayers: QueryList<PolygonExtrusionLayerDirective>;
heatmapLayers: QueryList<HeatmapLayerDirective>;
imageLayers: QueryList<ImageLayerDirective>;
tileLayers: QueryList<TileLayerDirective>;
popups: QueryList<PopupDirective>;
private get sourceLayers();
ngAfterViewInit(): void;
ngAfterContentChecked(): void;
ngOnChanges(changes: SimpleChanges): void;
constructor(elementRef: ElementRef);
private updateDataSources;
private setOptions;
private toMapEvent;
static ɵfac: i0.ɵɵFactoryDeclaration<AzureMapDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<AzureMapDirective, "[azure-map], azure-map", never, { "autoResize": { "alias": "autoResize"; "required": false; }; "bearing": { "alias": "bearing"; "required": false; }; "bounds": { "alias": "bounds"; "required": false; }; "boxZoomInteraction": { "alias": "boxZoomInteraction"; "required": false; }; "cameraType": { "alias": "cameraType"; "required": false; }; "center": { "alias": "center"; "required": false; }; "centerOffset": { "alias": "centerOffset"; "required": false; }; "cursor": { "alias": "cursor"; "required": false; }; "dblclickZoomInteraction": { "alias": "dblclickZoomInteraction"; "required": false; }; "disableTelemetry": { "alias": "disableTelemetry"; "required": false; }; "duration": { "alias": "duration"; "required": false; }; "dragPanInteraction": { "alias": "dragPanInteraction"; "required": false; }; "dragRotateInteraction": { "alias": "dragRotateInteraction"; "required": false; }; "enableAccessibility": { "alias": "enableAccessibility"; "required": false; }; "interactive": { "alias": "interactive"; "required": false; }; "keyboardInteraction": { "alias": "keyboardInteraction"; "required": false; }; "language": { "alias": "language"; "required": false; }; "light": { "alias": "light"; "required": false; }; "maxBounds": { "alias": "maxBounds"; "required": false; }; "maxZoom": { "alias": "maxZoom"; "required": false; }; "minZoom": { "alias": "minZoom"; "required": false; }; "offset": { "alias": "offset"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "preserveDrawingBuffer": { "alias": "preserveDrawingBuffer"; "required": false; }; "pitch": { "alias": "pitch"; "required": false; }; "refreshExpiredTiles": { "alias": "refreshExpiredTiles"; "required": false; }; "renderWorldCopies": { "alias": "renderWorldCopies"; "required": false; }; "scrollZoomInteraction": { "alias": "scrollZoomInteraction"; "required": false; }; "mapStyle": { "alias": "mapStyle"; "required": false; }; "showBuildingModels": { "alias": "showBuildingModels"; "required": false; }; "showFeedbackLink": { "alias": "showFeedbackLink"; "required": false; }; "showLogo": { "alias": "showLogo"; "required": false; }; "showTilesBoundary": { "alias": "showTilesBoundary"; "required": false; }; "touchInteraction": { "alias": "touchInteraction"; "required": false; }; "view": { "alias": "view"; "required": false; }; "wheelZoomRate": { "alias": "wheelZoomRate"; "required": false; }; "zoom": { "alias": "zoom"; "required": false; }; "dataSources": { "alias": "dataSources"; "required": false; }; "trafficOptions": { "alias": "trafficOptions"; "required": false; }; }, { "onBoxZoomEnd": "onBoxZoomEnd"; "onBoxZoomStart": "onBoxZoomStart"; "onClick": "onClick"; "onContextMenu": "onContextMenu"; "onData": "onData"; "onDblClick": "onDblClick"; "onDrag": "onDrag"; "onDragEnd": "onDragEnd"; "onDragStart": "onDragStart"; "onError": "onError"; "onIdle": "onIdle"; "onLayerAdded": "onLayerAdded"; "onLayerRemoved": "onLayerRemoved"; "onLoad": "onLoad"; "onMouseDown": "onMouseDown"; "onMouseLeave": "onMouseLeave"; "onMouseMove": "onMouseMove"; "onMouseOut": "onMouseOut"; "onMouseOver": "onMouseOver"; "onMouseUp": "onMouseUp"; "onMove": "onMove"; "onMoveEnd": "onMoveEnd"; "onMoveStart": "onMoveStart"; "onPitch": "onPitch"; "onPitchEnd": "onPitchEnd"; "onPitchStart": "onPitchStart"; "onReady": "onReady"; "onRender": "onRender"; "onResize": "onResize"; "onRotate": "onRotate"; "onRotateEnd": "onRotateEnd"; "onRotateStart": "onRotateStart"; "onSourceAdded": "onSourceAdded"; "onSourceData": "onSourceData"; "onSourceRemoved": "onSourceRemoved"; "onStyleData": "onStyleData"; "onStyleImageMissing": "onStyleImageMissing"; "onTokenAcquired": "onTokenAcquired"; "onTouchCancel": "onTouchCancel"; "onTouchEnd": "onTouchEnd"; "onTouchMove": "onTouchMove"; "onTouchStart": "onTouchStart"; "onWheel": "onWheel"; "onZoom": "onZoom"; "onZoomEnd": "onZoomEnd"; "onZoomStart": "onZoomStart"; }, ["zoomControl", "pitchControl", "compassControl", "styleControl", "htmlMarkers", "drawingToolbar", "symbolLayers", "bubbleLayers", "lineLayers", "polygonLayers", "polygonExtrusionLayers", "heatmapLayers", "imageLayers", "tileLayers", "popups"], never, false, never>;
}
interface ILayerEvent {
layer: atlas.layer.Layer | atlas.layer.Layer[];
event: any;
}
interface IMapEvent {
map: atlas.Map;
event: any;
}
interface IMarkerEvent {
marker: atlas.HtmlMarker;
event: any;
}
interface IPopupEvent {
popup: atlas.Popup;
event: any;
}
type Unit = 'imperial' | 'metric';
/**
* Quarter of the day.
*/
type Quarter = 0 | 1 | 2 | 3;
interface CurrentConditionsResponse {
results: CurrentConditions[];
}
interface CurrentConditions {
/**
* Perceived outdoor WeatherUnit caused by the combination of air WeatherUnit, relative humidity, and wind speed in specified unit.
*/
apparentWeatherUnit: WeatherUnit;
/**
* Cloud ceiling in specified unit. The ceiling is a measurement of the height of the base of the lowest clouds.
*/
ceiling: WeatherUnit;
/**
* Percent representing cloud cover.
*/
cloudCover: number;
/**
* Date and time of the current observation displayed in ISO 8601 format, for example, 2019-10-27T19:39:57-08:00.
*/
dateTime: string;
/**
* The dewpoint temperature in specified unit. The dewpoint temperature is the temperature that the air must be cooled to in order to reach saturation.
*/
dewPoint: WeatherUnit;
/**
* Indicates the presence or absence of precipitation. True indicates the presence of precipitation, false indicates the absence of precipitation.
*/
hasPrecipitation: boolean;
/**
* Numeric value representing an image that displays the iconPhrase. Please refer to Weather Service Concepts for details.
*/
iconCode: number;
/**
* Indicates the time of the day. True indicates 'day',', false indicates 'night.
*/
isDayTime: boolean;
/**
* Cause of limited visibility.
*/
obstructionsToVisibility: string;
/**
* Departure from the temperature observed 24 hours ago in specified unit.
*/
past24HourWeatherUnitDeparture: WeatherUnit;
/**
* Phrase description of the current weather condition. Displayed in specified language.
*/
phrase: string;
/**
* Summary of precipitation amounts over the past 24 hours.
*/
precipitationSummary: PrecipitationSummary;
/**
* Atmospheric pressure in specified unit.
*/
pressure: WeatherUnit;
/**
* Atmospheric pressure change.
*/
pressureTendency: PressureTendency;
/**
* RealFeel™ Temperature being returned.
*/
realFeelTemperature: WeatherUnit;
/**
* RealFeel™ Temperature being returned. Describes what the temperature really feels like in the shade.
*/
realFeelTemperatureShade: WeatherUnit;
/**
* Relative humidity is the amount of water vapor present in air expressed as a percentage of the amount needed for saturation at the same temperature.
*/
relativeHumidity: number;
/**
* Temperature being returned.
*/
temperature: WeatherUnit;
/**
* Summary of temperature fluctuations over the past 6, 12, and 24 hours.
*/
temperatureSummary: TemperatureSummary;
/**
* Measure of the strength of the ultraviolet radiation from the sun. Supported values are:
0-2 - Low danger from the sun's UV rays or the average person.
3-5 - Moderate risk of harm from unprotected sun exposure.
6-7 - High risk of harm from unprotected sun exposure.
8-10 - Very high risk of harm from unprotected sun exposure.
11+ - Extreme risk of harm from unprotected sun exposure.
*/
uvIndex: number;
/**
* Phrase associated with the uvIndex.
*/
uvIndexPhrase: string;
/**
* Visibility in specified unit. A measure of the distance at which an object or light can be clearly discerned.
*/
visibility: WeatherUnit;
/**
* The temperature to which air may be cooled by evaporating water into it at constant pressure until it reaches saturation.
*/
wetBulbTemperature: WeatherUnit;
/**
* Wind details being returned including speed and direction.
*/
wind: Wind;
/**
* Perceived air temperature on exposed skin due to wind.
*/
windChillTemperature: WeatherUnit;
/**
* Wind gust. Wind gust is a sudden, brief increase in speed of the wind.
*/
windGust: Wind;
}
interface TemperatureSummary {
/**
* Summary of temperature fluctuations over the past 6 hours.
*/
past6Hours: Past6Hours;
/**
* Summary of temperature fluctuations over the past 12 hours.
*/
past12Hours: Past12Hours;
/**
* Summary of temperature fluctuations over the past 24 hours.
*/
past24Hours: Past24Hours;
}
/**
* Summary of temperature fluctuations over the past 6 hours.
*/
interface Past6Hours {
/**
* minimum
*/
minimum: WeatherUnit;
/**
* maximum
*/
maximum: WeatherUnit;
}
/**
* Summary of temperature fluctuations over the past 12 hours.
*/
interface Past12Hours {
/**
* minimum
*/
minimum: WeatherUnit;
/**
* maximum
*/
maximum: WeatherUnit;
}
/**
* Summary of temperature fluctuations over the past 24 hours.
*/
interface Past24Hours {
/**
* minimum
*/
minimum: WeatherUnit;
/**
* maximum
*/
maximum: WeatherUnit;
}
interface PrecipitationSummary {
/**
* The amount of precipitation (liquid equivalent) that has fallen in the past hour.
*/
pastHour: WeatherUnit;
/**
* The amount of precipitation (liquid equivalent) that has fallen in the past three hours.
*/
past3Hours: WeatherUnit;
/**
* The amount of precipitation (liquid equivalent) that has fallen in the past six hours. Contains Metric and Imperial Values.
*/
past6Hours: WeatherUnit;
/**
* The amount of precipitation (liquid equivalent) that has fallen in the past nine hours.
*/
past9Hours: WeatherUnit;
/**
* The amount of precipitation (liquid equivalent) that has fallen in the past 12 hours.
*/
past12Hours: WeatherUnit;
/**
* The amount of precipitation (liquid equivalent) that has fallen in the past 18 hours.
*/
past18Hours: WeatherUnit;
/**
* The amount of precipitation (liquid equivalent) that has fallen in the past 24 hours.
*/
past24Hours: WeatherUnit;
}
interface PressureTendency {
/**
* Description of the pressure tendency in specified language
*/
localizedDescription: string;
/**
* Pressure tendency code regardless of language. One of F=Falling, S=Steady, R=Rising.
*/
code: string;
}
/**
* Wind details being returned including speed and direction.
*/
interface Wind {
/**
* Wind direction
*/
direction: WindDirection;
/**
* Speed of the wind in specified unit.
*/
speed: WindSpeed;
}
/**
* Wind direction
*/
interface WindDirection {
/**
* Wind direction in Azimuth degrees, starting at true North and continuing in clockwise direction. North is 0 degrees, east is 90 degrees, south is 180 degrees, west is 270 degrees. Possible values 0-359.
*/
degrees: number;
/**
* Direction abbreviation in the specified language.
*/
localizedDescription: string;
}
/**
* Speed of wind in specified unit.
*/
interface WindSpeed {
/**
* Rounded value of the speed.
*/
value: number;
/**
* Type of unit for the speed value.
*/
unit: string;
/**
* Numeric ID value associated with the type of unit being displayed. Can be used for unit translation.
*/
unitType: number;
}
interface WeatherUnit {
/**
* Rounded value.
*/
value: number;
/**
* Type of unit for the returned value.
*/
unit: string;
/**
* Numeric ID value associated with the type of unit being displayed. Can be used for unit translation.
*/
unitType: number;
}
interface DailyForecastResponse {
/**
* Summary for the main conditions for the requested time period. Notice that summary can cover only part of the time period.
*/
summary: DailyForecastSummary;
/**
* Forecast data for each requested day.
*/
forecasts: DailyForecast[];
}
interface DailyForecast {
/**
* Date and time of the current observation displayed in ISO 8601 format, for example, 2019-10-27T19:39:57-08:00.
*/
date: string;
/**
* Temperature values for the day.
*/
temperature: WeatherUnitRange;
/**
* RealFeel™ Temperature being returned.
*/
realFeelTemperature: WeatherUnitRange;
/**
* RealFeel™ Temperature being returned. Describes what the temperature really feels like in the shade.
*/
realFeelTemperatureShade: WeatherUnitRange;
/**
* Hours of sun.
*/
hoursOfSun: number;
/**
* Summary of Heating Degree Day or Cooling Degree Day information
*/
degreeDaySummary: DegreeDaySummary;
/**
* airAndPollen
*/
airAndPollen: AirAndPollen[];
/**
* Day
*/
day: DayOrNight;
/**
* Night
*/
night: DayOrNight;
/**
* Source(s) of the forecast data.
*/
sources: string[];
}
interface DayOrNight {
/**
* Numeric value representing an image that displays the iconPhrase. Please refer to Weather Service Concepts for details.
*/
iconCode: number;
/**
* Phrase description of the icon. Displayed in specified language. For example, 'Sunny'.
*/
iconPhrase: string;
/**
* Indicates the presence or absence of precipitation. True indicates the presence of precipitation, false indicates the absence of precipitation.
*/
hasPrecipitation: boolean;
/**
* Specifies the type of precipitation ("rain" "snow" "ice" or "mix"). If dbz = zero, precipitationType is not present in the response.
*/
precipitationType: string;
/**
* Description of the intensity.
*/
precipitationIntensity: string;
/**
* Phrase description of the forecast in specified language. Azure Maps attempts to keep this phrase under 30 characters in length, but some languages/weather events may result in a longer phrase length, exceeding 30 characters.
*/
shortPhrase: string;
/**
* Phrase description of the forecast in specified language. Azure Maps attempts to keep this phrase under 100 characters in length, but some languages/weather events may result in a longer phrase length, exceeding 100 characters.
*/
longPhrase: string;
/**
* Percent representing the probability of precipitation. For example, '20'.
*/
precipitationProbability: number;
/**
* Percent representing the probability of a thunderstorm. For example, '80'.
*/
thunderstormProbability: number;
/**
* Percent representing the probability of rain. For example, '40'.
*/
rainProbability: number;
/**
* Percent representing the probability of snow. For example, '30'.
*/
snowProbability: number;
/**
* Percent representing the probability of ice. For example, '30'.
*/
iceProbability: number;
/**
* Wind details being returned including speed and direction.
*/
wind: Wind;
/**
* Wind gust. Wind gust is a sudden, brief increase in speed of the wind.
*/
windGust: Wind;
/**
* Total liquid equivalent of precipitation during the forecast period.
*/
totalLiquid: WeatherUnit;
/**
* Rain
*/
rain: WeatherUnit;
/**
* Snow
*/
snow: WeatherUnit;
/**
* Ice
*/
ice: WeatherUnit;
/**
* Hours of precipitation
*/
hoursOfPrecipitation: number;
/**
* Hours of rain.
*/
hoursOfRain: number;
/**
* Hours of snow.
*/
hoursOfSnow: number;
/**
* Hours of ice.
*/
hoursOfIce: number;
/**
* Percent representing cloud cover.
*/
cloudCover: number;
localSource?: LocalSource;
}
interface AirAndPollen {
/**
* Name of the pollen or pollutant. For example, grass, mold, weed, air quality, tree and UV index.
*/
name: string;
/**
* Value of the given type above. Values associated with mold, grass, weed and tree are in units of parts per cubic meter. Both air quality and UV are indices, so they are unitless.
*/
value: number;
/**
* Category of the air quality or pollution type. For example, low, high, good, moderate, unhealthy, hazardous.
*/
category: string;
/**
* Value associated with the air quality or pollution category. These values range from 1 to 6. 1 implying good conditions, 6 implying hazardous conditions.
*/
categoryValue: number;
/**
* Only exists for air quality. Examples include ozone and particle pollution.
*/
type?: string;
}
interface DegreeDaySummary {
/**
* Number of degrees that the mean temperature is below 65 degrees F/ 18 degree C.
*/
heating: WeatherUnit;
/**
* Number of degrees that the mean temperature is above 65 degrees F/ 18 degree C.
*/
cooling: WeatherUnit;
}
/**
* Returned temperature values.
*/
interface WeatherUnitRange {
/**
* Minimum temperature for the time period.
*/
minimum: WeatherUnit;
/**
* Maximum temperature for the time period
*/
maximum: WeatherUnit;
}
/**
* Summary for the main conditions for the requested time period. Notice that summary can cover only part of the time period.
*/
interface DailyForecastSummary {
/**
* Date and time that the summary is in effect, displayed in ISO 8601 format, for example, 2019-10-27T19:39:57-08:00.
*/
startDate: string;
/**
* Date and time that the summary period ends, displayed in ISO 8601 format, for example, 2019-10-27T19:39:57-08:00.
*/
endDate: string;
/**
* severity
*/
severity: number;
/**
* Summary phrase of the daily forecast. Displayed in specified language.
*/
phrase: string;
/**
* one or 2 word(s) to summarize the phrase.
*/
category: string;
}
interface LocalSource {
/**
* Numeric identifier, unique to the local data provider.
*/
id: number;
/**
* Name of the local data provider. Name is displayed in the language specified by language code in URL, if available. Otherwise, Name is displayed in English or the language in which the name was provided.
*/
name: string;
/**
* Weather code provided by the local data provider. This weather code allows the forecast to be matched to icons provided by the local data provider instead of Azure Maps icons.
*/
weatherCode: string;
}
interface HourlyForecastResponse {
forecasts: HourlyForecast[];
}
interface HourlyForecast {
/**
* Date and time of the forecast in ISO 8601 format, for example, 2019-10-27T19:39:57-08:00.
*/
date: string;
/**
* Numeric value representing an image that displays the iconPhrase.
*/
iconCode: number;
/**
* Phrase description of the weather icon.
*/
iconPhrase: string;
/**
* Indicates the presence or absence of precipitation. True indicates the presence of precipitation, false indicates the absence of precipitation.
*/
hasPrecipitation: boolean;
/**
* Specifies whether or not it is daylight. True indicates day light.
*/
isDaylight: boolean;
/**
* Temperature being returned.
*/
temperature: WeatherUnit;
/**
* RealFeel™ Temperature being returned. Describes what the temperature really feels like in the shade.
*/
realFeelTemperature: WeatherUnit;
/**
* The temperature to which air may be cooled by evaporating water into it at constant pressure until it reaches saturation.
*/
wetBulbTemperature: WeatherUnit;
/**
* The dewpoint temperature in specified unit. The dewpoint temperature is the temperature that the air must be cooled to in order to reach saturation.
*/
dewPoint: WeatherUnit;
/**
* Wind details being returned including speed and direction.
*/
wind: Wind;
/**
* Wind gust. Wind gust is a sudden, brief increase in speed of the wind.
*/
windGust: Wind;
/**
* Relative humidity is the amount of water vapor present in air expressed as a percentage of the amount needed for saturation at the same temperature.
*/
relativeHumidity: number;
/**
* Visibility in specified unit. A measure of the distance at which an object or light can be clearly discerned.
*/
visibility: WeatherUnit;
/**
* Percent representing cloud cover.
*/
cloudCover: number;
/**
* Cloud ceiling in specified unit. The ceiling is a measurement of the height of the base of the lowest clouds.
*/
ceiling: WeatherUnit;
/**
* Measure of the strength of the ultraviolet radiation from the sun. Supported values are:
0-2 - Low danger from the sun's UV rays or the average person.
3-5 - Moderate risk of harm from unprotected sun exposure.
6-7 - High risk of harm from unprotected sun exposure.
8-10 - Very high risk of harm from unprotected sun exposure.
11+ - Extreme risk of harm from unprotected sun exposure.
*/
uvIndex: number;
/**
* Phrase associated with the uvIndex.
*/
uvIndexPhrase: string;
/**
* Percent representing the probability of precipitation. For example, '20'.
*/
precipitationProbability: number;
/**
* Percent representing the probability of rain. For example, '50'.
*/
rainProbability: number;
/**
* Percent representing the probability of snow. For example, '50'.
*/
snowProbability: number;
/**
* Percent representing the probability of ice. For example, '5'.
*/
iceProbability: number;
/**
* Total liquid equivalent of precipitation during the forecast period.
*/
totalLiquid: WeatherUnit;
/**
* Rain
*/
rain: WeatherUnit;
/**
* Snow
*/
snow: WeatherUnit;
/**
* Ice
*/
ice: WeatherUnit;
}
interface MinuteForecastResponse {
/**
* Phrase summaries for the entire forecast period.
*/
summary: MinuteForecastSummary;
/**
* Summary information for each interval in the forecast. The Summaries breaks down each potential interval where precipitation starts and stops.
*/
intervalSummaries: IntervalSummary[];
/**
* Forecast data for each interval in the forecast.
*/
intervals: Interval[];
}
interface Interval {
/**
* The date and time for the start of the interval in ISO 8601 format, for example, 2019-10-27T19:39:57-08:00.
*/
startTime: string;
/**
* The first minute for the interval.
*/
minute: number;
/**
* A unit that represents forecasted precipitation intensity.
*/
dbz: number;
/**
* A short phrase describing precipitation condition for the interval.
*/
shortPhrase: string;
/**
* Key that specifies the threshold value. Along with precipitationType, can be used to determine the simplifiedColor. If dbz is zero, not present in the resp