Readonlyattribution Control attributionControl : InputSignal < undefined | false | AttributionControlOptions > = ...
Readonlybearing bearing : InputSignal < undefined | [ number ] > = ...
Readonlybearing Snap bearingSnap : InputSignal < undefined | number > = ...
Readonlybounds bounds : InputSignal < undefined | LngLatBoundsLike > = ...
Readonlybox Zoom boxZoom : InputSignal < undefined | boolean > = ...
Readonlybox Zoom Cancel boxZoomCancel : OutputEmitterRef < MapLibreZoomEvent & EventData > = ... Readonlybox Zoom End boxZoomEnd : OutputEmitterRef < MapLibreZoomEvent & EventData > = ... Readonlybox Zoom Start boxZoomStart : OutputEmitterRef < MapLibreZoomEvent & EventData > = ... Readonlycancel Pending Tile Requests While Zooming cancelPendingTileRequestsWhileZooming : InputSignal < undefined | boolean > = ...
Readonlycanvas Context Attributes canvasContextAttributes : InputSignal < undefined | WebGLContextAttributesWithType > = ...
Readonlycenter center : InputSignal < undefined | LngLatLike > = ...
Readonlycenter Clamped To Ground centerClampedToGround : InputSignal < undefined | boolean > = ...
Readonlycenter With Pan To centerWithPanTo : InputSignal < undefined | boolean > = ...
Readonlyclick Tolerance clickTolerance : InputSignal < undefined | number > = ...
Readonlycollect Resource Timing collectResourceTiming : InputSignal < undefined | boolean > = ...
Readonlycooperative Gestures cooperativeGestures : InputSignal < undefined | boolean > = ...
Readonlycross Source Collisions crossSourceCollisions : InputSignal < undefined | boolean > = ...
Readonlycursor Style cursorStyle : InputSignal < undefined | string > = ...
Readonlycustom Mapbox Api Url customMapboxApiUrl : InputSignal < undefined | string > = ...
Readonlydata data : OutputEmitterRef < MapDataEvent & EventData > = ... Readonlydata Loading dataLoading : OutputEmitterRef < MapDataEvent & EventData > = ... Readonlydouble Click Zoom doubleClickZoom : InputSignal < undefined | boolean > = ...
Readonlydrag Pan dragPan : InputSignal < undefined | boolean | DragPanOptions > = ...
Readonlydrag Rotate dragRotate : InputSignal < undefined | boolean > = ...
Readonlyelevation elevation : InputSignal < undefined | number > = ...
Readonlyfade Duration fadeDuration : InputSignal < undefined | number > = ...
Readonlyfit Bounds fitBounds : InputSignal < undefined | LngLatBoundsLike > = ...
Readonlyfit Bounds Options fitBoundsOptions : InputSignal < undefined | FitBoundsOptions > = ...
Readonlyfit Screen Coordinates fitScreenCoordinates : InputSignal < undefined | [ PointLike , PointLike ] > = ...
Readonlyhash hash : InputSignal < undefined | string | boolean > = ...
Readonlyidle idle : OutputEmitterRef < MapLibreEvent & EventData > = ... Readonlyinteractive interactive : InputSignal < undefined | boolean > = ...
Readonlykeyboard keyboard : InputSignal < undefined | boolean > = ...
Readonlylocale locale : InputSignal < any > = ...
Readonlylocal Ideograph Font Family localIdeographFontFamily : InputSignal < undefined | string | false > = ...
Readonlylogo Position logoPosition : InputSignal < undefined | ControlPosition > = ...
Readonlymap Click mapClick : OutputEmitterRef < MapMouseEvent & EventData > = ... Readonlymap Container mapContainer : Signal < ElementRef < HTMLDivElement > > = ...
mapContextMenu : OutputEmitterRef < MapMouseEvent & EventData > = ... Readonlymap Dbl Click mapDblClick : OutputEmitterRef < MapMouseEvent & EventData > = ... Readonlymap Drag mapDrag : OutputEmitterRef < MapLibreEvent < undefined | MouseEvent | TouchEvent > & EventData , > = ... Readonlymap Drag End mapDragEnd : OutputEmitterRef < MapLibreEvent < undefined | MouseEvent | TouchEvent > & EventData , > = ... Readonlymap Drag Start mapDragStart : OutputEmitterRef < MapLibreEvent < undefined | MouseEvent | TouchEvent > & EventData , > = ... Readonlymap Error mapError : OutputEmitterRef < ErrorEvent & EventData > = ... Readonlymaplibre Logo maplibreLogo : InputSignal < undefined | boolean > = ...
Readonlymap Load mapLoad : OutputEmitterRef < Map$1 > = ...
Readonlymap Mouse Down mapMouseDown : OutputEmitterRef < MapMouseEvent & EventData > = ... Readonlymap Mouse Move mapMouseMove : OutputEmitterRef < MapMouseEvent & EventData > = ... Readonlymap Mouse Out mapMouseOut : OutputEmitterRef < MapMouseEvent & EventData > = ... Readonlymap Mouse Over mapMouseOver : OutputEmitterRef < MapMouseEvent & EventData > = ... Readonlymap Mouse Up mapMouseUp : OutputEmitterRef < MapMouseEvent & EventData > = ... Readonlymap Remove mapRemove : OutputEmitterRef < MapLibreEvent & EventData > = ... Readonlymap Resize mapResize : OutputEmitterRef < MapLibreEvent & EventData > = ... Readonlymap Touch Cancel mapTouchCancel : OutputEmitterRef < MapTouchEvent & EventData > = ... Readonlymap Touch End mapTouchEnd : OutputEmitterRef < MapTouchEvent & EventData > = ... Readonlymap Touch Move mapTouchMove : OutputEmitterRef < MapTouchEvent & EventData > = ... Readonlymap Touch Start mapTouchStart : OutputEmitterRef < MapTouchEvent & EventData > = ... Readonlymap Wheel mapWheel : OutputEmitterRef < MapWheelEvent & EventData > = ... Readonlymax Bounds maxBounds : InputSignal < undefined | LngLatBoundsLike > = ...
Readonlymax Canvas Size maxCanvasSize : InputSignal < undefined | [ number , number ] > = ...
Readonlymax Pitch maxPitch : InputSignal < undefined | null | number > = ...
Readonlymax Tile Cache Size maxTileCacheSize : InputSignal < undefined | null | number > = ...
Readonlymax Tile Cache Zoom Levels maxTileCacheZoomLevels : InputSignal < undefined | number > = ...
Readonlymax Zoom maxZoom : InputSignal < undefined | null | number > = ...
Readonlymin Pitch minPitch : InputSignal < undefined | null | number > = ...
Readonlymin Zoom minZoom : InputSignal < undefined | null | number > = ...
Readonlymove move : OutputEmitterRef < MapLibreEvent < undefined | MouseEvent | TouchEvent | WheelEvent > & EventData , > = ... Readonlymove End moveEnd : OutputEmitterRef < MapLibreEvent < undefined | MouseEvent | TouchEvent | WheelEvent > & EventData , > = ... Readonlymove Start moveStart : OutputEmitterRef < MapLibreEvent < undefined | MouseEvent | TouchEvent | WheelEvent > & EventData , > = ... Readonlymoving Method movingMethod : InputSignal < "jumpTo" | "easeTo" | "flyTo" > = ...
Readonlypan To Options panToOptions : InputSignal < undefined | AnimationOptions > = ...
Readonlypitch pitch : InputSignal < undefined | [ number ] > = ...
Readonlypitch End pitchEnd : OutputEmitterRef < MapLibreEvent < undefined | MouseEvent | TouchEvent > & EventData , > = ... Readonlypitch Evt pitchEvt : OutputEmitterRef < MapLibreEvent < undefined | MouseEvent | TouchEvent > & EventData , > = ... Readonlypitch Start pitchStart : OutputEmitterRef < MapLibreEvent < undefined | MouseEvent | TouchEvent > & EventData , > = ... Readonlypitch With Rotate pitchWithRotate : InputSignal < undefined | boolean > = ...
Readonlypixel Ratio pixelRatio : InputSignal < undefined | number > = ...
Readonlyprojection projection : InputSignal < undefined | ProjectionSpecification > = ...
Readonlyrefresh Expired Tiles refreshExpiredTiles : InputSignal < undefined | boolean > = ...
Readonlyrender render : OutputEmitterRef < MapLibreEvent & EventData > = ... Readonlyrender World Copies renderWorldCopies : InputSignal < undefined | boolean > = ...
Readonlyroll roll : InputSignal < undefined | number > = ...
Readonlyroll Enabled rollEnabled : InputSignal < undefined | boolean > = ...
Readonlyrotate rotate : OutputEmitterRef < MapLibreEvent < undefined | MouseEvent | TouchEvent > & EventData , > = ... Readonlyrotate End rotateEnd : OutputEmitterRef < MapLibreEvent < undefined | MouseEvent | TouchEvent > & EventData , > = ... Readonlyrotate Start rotateStart : OutputEmitterRef < MapLibreEvent < undefined | MouseEvent | TouchEvent > & EventData , > = ... scrollZoom : InputSignal < undefined | boolean | AroundCenterOptions > = ...
Readonlysource Data sourceData : OutputEmitterRef < MapLibreEvent < unknown > & { dataType : "source" ; isSourceLoaded : boolean ; source : SourceSpecification ; sourceDataChanged ?: boolean ; sourceDataType : MapSourceDataType ; sourceId : string ; tile : any ; } & EventData , > = ... Readonlysource Data Loading sourceDataLoading : OutputEmitterRef < MapLibreEvent < unknown > & { dataType : "source" ; isSourceLoaded : boolean ; source : SourceSpecification ; sourceDataChanged ?: boolean ; sourceDataType : MapSourceDataType ; sourceId : string ; tile : any ; } & EventData , > = ... Readonlystyle style : InputSignal < undefined | string | StyleSpecification > = ...
Readonlystyle Data styleData : OutputEmitterRef < MapLibreEvent < unknown > & { dataType : "style" } & EventData , > = ... Readonlystyle Data Loading styleDataLoading : OutputEmitterRef < MapLibreEvent < unknown > & { dataType : "style" } & EventData , > = ... Readonlystyle Image Missing styleImageMissing : OutputEmitterRef < { id : string } & EventData > = ... Readonlyterrain terrain : InputSignal < undefined | TerrainSpecification > = ...
Readonlytouch Pitch touchPitch : InputSignal < undefined | boolean | AroundCenterOptions > = ...
Readonlytouch Zoom Rotate touchZoomRotate : InputSignal < undefined | boolean | AroundCenterOptions > = ...
Readonlytrack Resize trackResize : InputSignal < undefined | boolean > = ...
transformCameraUpdate : InputSignal < undefined | null | CameraUpdateTransformFunction , > = ...
transformRequest : InputSignal < undefined | null | RequestTransformFunction > = ...
Readonlyvalidate Style validateStyle : InputSignal < undefined | boolean > = ...
Readonlyweb Gl Context Lost webGlContextLost : OutputEmitterRef < MapContextEvent & EventData > = ... Readonlyweb Gl Context Restored webGlContextRestored : OutputEmitterRef < MapContextEvent & EventData > = ... Readonlyzoom zoom : InputSignal < undefined | [ number ] > = ...
Readonlyzoom End zoomEnd : OutputEmitterRef < MapLibreEvent < undefined | MouseEvent | TouchEvent | WheelEvent > & EventData , > = ... Readonlyzoom Evt zoomEvt : OutputEmitterRef < MapLibreEvent < undefined | MouseEvent | TouchEvent | WheelEvent > & EventData , > = ... Readonlyzoom Start zoomStart : OutputEmitterRef < MapLibreEvent < undefined | MouseEvent | TouchEvent | WheelEvent > & EventData , > = ...
mgl-map- The main map componentSee
Map
Example