Skip to content

Example fixes. - #884

Merged
1chandu merged 1 commit into
masterfrom
polygonOffset
Aug 25, 2017
Merged

1chandu merged 1 commit into
masterfrom
polygonOffset

Conversation

@1chandu

@1chandu 1chandu commented Aug 24, 2017 •

Copy link
Copy Markdown
Contributor

Brushing : data source only contains vec2, use '0' for z component. Fixes #882
Layer-browser:GeoJson : enable fp64 by default to avoid z-fighting between layers. Fixes #411
Minor documentation changes. Fixes #840

radiusScale: startBrushing ? 3000 : 0,
getColor: d => (d.gain > 0 ? targetColor : sourceColor)
getColor: d => (d.gain > 0 ? targetColor : sourceColor),
getTargetPosition: d => [d[0], d[1], 0]

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think many layers check the last coordinate and set it to zero. But it is OK to fix it here.


Hexagon radius multiplier, between 0 - 1. The radius of hexagon is calculated by
`coverage * getRadius(d)`
`coverage * radius`

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ibgreen added this minor doc change as described in #840

@1chandu
1chandu merged commit a92f7ab into master Aug 25, 2017
@1chandu
1chandu deleted the polygonOffset branch August 25, 2017 01:04
1chandu added a commit that referenced this pull request Aug 25, 2017
Example and docs fixes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants