LibraryActive

react-map-gl

react-map-gl: Overview Introduction On this page Introduction These docs are for Looking for an old version?

Field note

What it does

Overview Upgrade Guide On this page Upgrade Guide Upgrading to v9.3 ​ Upgraded dependencies to luma.gl v9.3 and loaders.gl v4.4 . Your app may be affected if it contains custom layers. OrthographicView ​ Supplying a 2D array to zoom for per-axis zoom has been deprecated. // Before new Deck ( { views : new OrthographicView ( { controller : { zoomAxis : 'X' } } ) , viewState : { target : [ 0 , 0 , 0 ] , zoom : [ 0 , 2 ] } , } ) ; // After new Deck ( { views : new OrthographicView ( { controller : { zoomAxis : 'X' } } ) , viewState : { target : [ 0 , 0 , 0 ] , zoomX : 0 , zoomY : 2 } , } ) ; zoom: [number, number] will continue to work for the rest of v9.x if zoomX and zoomY are undefined. However, if you mutate zoom in the onViewStateChange callback, the change will not be picked up because OrthographicController always returns zoomX and zoomY which override zoom . @deck.gl/mapbox ​ The experimental _renderLayersInGroups prop has been removed from MapboxOverlay . In interleaved mode, layers are now always render API Reference Core Classes Deck On this page Deck Deck is a class that takes deck.gl layer instances and viewport parameters, renders those layers as a transparent overlay, and handles events. If you are using React, you should not use this class directly.

Capabilities

Available capabilities

Tags

Tags

No tags filed yet.

Ways to use it

Ways to use it

No integrations filed yet.

Product features

Product features

Aggregation layers ​

@deck.gl/arcgis ​

@deck.gl/mapbox ​

Globe View ​

LightingEffect ​

OrthographicView ​

Uniform buffers ​

Upgrade Guide

Upgrading to v9.1 ​

Upgrading to v9.3 ​

User input handling ​

Widgets ​