-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Composite GeoJsonLayer, PolygonLayer and PathLayer #303
Conversation
…y on PolygonLayer
|
||
#### `drawContour` (Boolean, optional) | ||
|
||
Draw choropleth contour if true, else fill choropleth area. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to update the document after the API audit, we don't have drawContour as prop for the GeoJsonLayer, and there are more layer specific props.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
import PolygonLayer from '../polygon-layer/polygon-layer'; | ||
import flatten from 'lodash.flatten'; | ||
|
||
import {Container, getGeojsonFeatures} from '../../../lib/utils'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shall we keep the layer specific util function in their own folders?
getGeojsonFeatures -> geoJson layer
normalizeGeojson -> deprecated choropleth layer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
); | ||
} | ||
|
||
getFeaturePolygons(feature) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: naming consistency
import {join} from 'path'; | ||
|
||
// Polygon geometry generation is managed by the polygon tesselator | ||
import {Container, getGeojsonFeatures, featureToPolygons} from '../../../lib/utils'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the polygon layer should not be aware of the concept feature, the featureToPolygons should be done in the geoJson-layer.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
* Composite geojson layer, with flat, extrusion and wireframe capability on PolygonLayer * Lighting supported on polygon layer. New lighting shader module. * Lighting supported on polygon layer. New lighting shader module. * v3.1.0-beta.11 * v3.0.0-beta.12
* Composite geojson layer, with flat, extrusion and wireframe capability on PolygonLayer * Lighting supported on polygon layer. New lighting shader module. * Lighting supported on polygon layer. New lighting shader module. * v3.1.0-beta.11 * v3.0.0-beta.12
* Composite geojson layer, with flat, extrusion and wireframe capability on PolygonLayer * Lighting supported on polygon layer. New lighting shader module. * Lighting supported on polygon layer. New lighting shader module. * v3.1.0-beta.11 * v3.0.0-beta.12
PolygonLayer supports flat, extrusion and wireframe