betodealmeida commented on a change in pull request #5767: Fix multilayer 
geoviz and color picker error
URL: 
https://github.com/apache/incubator-superset/pull/5767#discussion_r213514172
 
 

 ##########
 File path: superset/assets/src/visualizations/deckgl/layers/arc.jsx
 ##########
 @@ -40,17 +41,18 @@ function deckArc(slice, payload, setControlValue) {
   };
 
   if (fd.autozoom) {
-    viewport = common.fitViewport(viewport, getPoints(payload.data.arcs));
+    viewport = common.fitViewport(viewport, getPoints(payload.data.features));
   }
 
   ReactDOM.render(
     <CategoricalDeckGLContainer
       slice={slice}
-      data={payload.data.arcs}
+      data={payload.data.features}
 
 Review comment:
   If we're passing `payload` below then we shouldn't pass `data`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to