New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

deck.gl

Package Overview
Dependencies
Maintainers
11
Versions
677
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deck.gl - npm Package Versions

1
68

4.0.0-rc.5

Diff

Changelog

Source

[v4.0.0-rc.5]

  • getPickingInfo() methods receive an additional argument sourceLayer (#468)
  • HexagonLayer add lowerPercentile and higherPercentile (#470)
  • FIX: Fix the async loading issue #347 by not setting state of stale layers to null (#483)
  • FIX: Fix the lightSettings prop transfer issue in composite layers (#484)
  • FIX: Fix the attribute logger (#499)
  • Demo site: Add IconLayer demo (#467, #487)
  • Demo site: Refactor to make all demos available as standalone examples (#471, 477)
  • Demo site: Add Hexagon layer demo (3d heatmap) (#478)
  • Demo site: New data set for the GeoJsonLayer demo (#492)
  • Demo site: Link directly to source code from examples (#497)
  • Examples: Remove layers that are not in v4 release plan from LayerBrowser example (#475, #490)
  • Examples: Add JSX wrapper example (#482)
shaojingli
published 4.0.0-rc.4 •

Changelog

Source

[v4.0.0-rc.4]

  • GridCellLayer latOffset and lonOffset => cellSize
  • Picking improvement: consistently handle picking in composite layers and also simplied picking (#448, #450)
  • FIX: Fix the projectionMode checks for point cloud layer (#454)
  • FIX: Make extruded and non-extruded polygon layers using the same Uint8ClampedArray to process colors
  • FIX: Make radiusPixels works for PointCloudLayer (#450)
  • FIX: Fix the bug that several composite layer not transferring proper props to their underlying layers (#455, #464)
  • FIX: Fix a bug causes active layers got invalidated in the middle of the picking info processing (#458)
  • FIX: Fix the vertice generation for extruded polygons with holes (#447)
  • FIX: Now deck.gl picking works properly for non-fullscreen apps (#455)
  • FIX: onHover and onClick props now work on GridLayer and HexagonLayer
  • Picking info from GeoJsonLayer and PolygonLayer now have layer property point to the composite layer instead of a sublayer
  • FIX: PointCloudLayer use radiusPixels instead of radius
  • Examples: Fix the hello-world examples (#461)
  • Demo site: Add interactive demo for each core layers (#452)
  • Demo site: Upgrade old demos to v4 (#453)
  • Demo site: Various other bug fixes (#463)
shaojingli
published 4.0.0-rc.3 •

Changelog

Source

[v4.0.0-rc.3]

  • Disable implicit props forwarding between the composite layer and its underlying layers.
  • GeoJsonLayer getColor => getLineColor
  • GeoJsonLayer getWidth => getLineWidth
  • GeoJsonLayer add lineWidthScale
  • GeoJsonLayer add lineWidthMinPixels
  • GeoJsonLayer add lineWidthMaxPixels
  • GeoJsonLayer add lineJointRounded
  • GeoJsonLayer add lineMiterLimit
  • PolygonLayer getColor => getLineColor
  • PolygonLayer getWidth => getLineWidth
  • PolygonLayer add lineWidthScale
  • PolygonLayer add lineWidthMinPixels
  • PolygonLayer add lineWidthMaxPixels
  • PolygonLayer add lineJointRounded
  • PolygonLayer add lineMiterLimit
  • FIX: ScatterplotLayer calls Layer.updateState() to invalidate all attributes when data changed
  • FIX: Fix the ExtrudedChoroplethLayer64 in deprecated layer examples
  • Replace all readFileSync() calls with Javascript imports for all GLSL shaders
shaojingli
published 4.0.0-rc.2 •

shaojingli
published 4.0.0-rc1 •

Changelog

Source

[v4.0.0-rc1]

  • FIX: Composite layers now have a stub invalidateAttribute()

  • FIX: GeoJsonLayer and PolygonLayer now transfer correct updateTriggers to its sublayers

  • FIX: Fix the picking for PolygonLayer with and without extrusions

  • FIX: update the data file and default values for GeoJsonLayer example so that it correctly shows all geometry features

  • FIX: GeoJsonLayer now wireframe prop only affects extruded layer and stroked only affects non-extruded layer

  • FIX: super.updateState() now get called appropriately so that data change can correctly popylate to GPUs

  • Re-factored GeoJsonLayer and PolygonLayer to separate polygon wireframe and polygon outline

  • Removed loader for glsl and use exported Javascript string to store all GLSL shaders

  • PointDensityGridLayer => GridLayer

  • PointDensityHexagonLayer => HexagonLayer

  • GridLayer => GridCellLayer

  • HexagonLayer => HexagonCellLayer

  • PolygonLayer => SolidPolygonLayer

  • PolygonLayer is now a new composite layer that could render solid polygons as well as polygon outlines

  • GridLayer and HexagonLayer to use new quantizedScale utility function

  • GeoJsonLayer remove drawPoints, drawLines, drawPolygon, fillPolygon

  • GeoJsonLayer add stroked, filled, extruded, wireframe

  • GeoJsonLayer getPointSize => getRadius

  • GeoJsonLayer getStrokeWidth => getWidth

  • GeoJsonLayer getStrokerColor => getColor

  • GeoJsonLayer remove getPointColor, use getFillColor instead

  • PathLayer strokeWidthScale => widthScale

  • PathLayer strokeWidthMinPixels => widthMinPixels

  • PathLayer strokeWidthMaxPixels => widthMaxPixels

  • PathLayer getStrokeWidth => getWidth

  • ScatterplotLayer change the default radiusScale to 1

  • ScreenGridLayer change unitWidth and unitHeight to cellSizePixels

  • Update tests to reflect the new layer names and props

pessimistress
published 4.0.0-beta.5 •

Changelog

Source

[v4.0.0-beta.5]

  • NEW: add viewportSize, devicePixelRatio and modelViewMatrix to default uniforms
ibgreen
published 4.0.0-beta.4 •

Changelog

Source

[v4.0.0-beta.4]

  • FIX: Make luma.gl peer dependency more flexible
  • Dependencies: Bump to react-map-gl@2, remove viewport-mercator-project & lodash.flatten
  • 64 bit layers additions and fixes
  • IconLayer aspect ratio
  • New sample layers
pessimistress
published 4.0.0-beta.3 •

Changelog

Source

[v4.0.0-beta.3]

  • Add PointCloudLayer
  • FIX: onHover and onClick are no longer called on layers that are not affected
  • BREAKING: layer.pick() is renamed to layer.getPickingInfo(), must return info object
ibgreen
published 4.0.0-beta.2 •

Changelog

Source

[v4.0.0-beta.2]

  • Bumps luma.gl with some hotfixes
  • Remove unfinished example
  • Doc improvements (upgrade guide)
  • NEW: PointDensityGridLayer
ibgreen
published 4.0.0-beta.1 •

Changelog

Source

[v4.0.0-beta.1]

API AUDIT CHANGES:

  • GeoJsonLayer getHeight => getElevation

  • GeoJsonLayer Docs: Clarified that elevation is always in meters for cartographic projection modes

  • PolygonLayer getHeight => getElevation

  • PolygonLayer Docs: Clarified that elevation is always in meters for cartographic projection modes

  • PolygonLayer Docs: documented missing props

  • PolygonLayer Docs: Marked lightSettings as experimental

  • PathLayer getWidth => getStrokeWidth

  • PathLayer strokeWidth => strokeWidthScale

  • PathLayer strokeMinPixels => strokeWidthMinPixels

  • PathLayer strokeMaxPixels => strokeWidthMaxPixels

  • HexagonLayer Docs: Marked lightSettings as experimental

  • HexagonLayer Docs: Marked selectedPickingColor as experimental

  • GridLayer Docs: Marked lightSettings as experimental

  • Cleanup: More layers now only imports the get utility function instead of the full Container object from utils - this provides most of the benefits with smaller impact on the code.

DOCS

  • Moved docs into 4.0 subfolder to support publishing multiple doc versions from a single tree.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc