We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When added PathStyleExtension with DataFilterExtension filtering with category the line is not visible however it works when I use range filter
Before adding DataFilterExtension
After adding DataFilterExtension
Line should be visible using both extension
return new GeoJsonLayer({ id: 'cable', useDevicePixels: app.useDevicePixelsInVectorLayer, data: app.filterDataWithProvinceGeom(app.cableFilteredGeoJson, "FeatureCollection","CBL"), //app.cableFilteredGeoJson, lineWidthScale: 1, lineWidthUnits: 'pixels', lineWidthMinPixels: 1, lineWidthMaxPixels: 10, getLineColor: f => app.GetLineColor(f), getLineWidth: feature => app.GetLineWidth(feature), opacity: styleObj[0].LayerStyle[0].opacity, autoHighlight: true, pickable: true, visible: app.isVectorLayerActive("CBL"), getFilterCategory: f => f.properties.network_status, filterCategories: app.GetfilterCategories("CBL"), extensions: [new PathStyleExtension({ highPrecisionDash: false, dash: true, dashJustified: true }), new DataFilterExtension({ categorySize: 1 })], getDashArray: f => (app.GetDashArray(f.properties.network_status)), collisionEnabled: app.IsCollisionEnabled,
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
When added PathStyleExtension with DataFilterExtension filtering with category the line is not visible however it works when I use range filter
Before adding DataFilterExtension
After adding DataFilterExtension
Flavors
Expected Behavior
Line should be visible using both extension
Steps to Reproduce
return new GeoJsonLayer({
id: 'cable',
useDevicePixels: app.useDevicePixelsInVectorLayer,
data: app.filterDataWithProvinceGeom(app.cableFilteredGeoJson, "FeatureCollection","CBL"), //app.cableFilteredGeoJson,
lineWidthScale: 1,
lineWidthUnits: 'pixels',
lineWidthMinPixels: 1,
lineWidthMaxPixels: 10,
getLineColor: f => app.GetLineColor(f),
getLineWidth: feature => app.GetLineWidth(feature),
opacity: styleObj[0].LayerStyle[0].opacity,
autoHighlight: true,
pickable: true,
visible: app.isVectorLayerActive("CBL"),
getFilterCategory: f => f.properties.network_status,
filterCategories: app.GetfilterCategories("CBL"),
extensions: [new PathStyleExtension({ highPrecisionDash: false, dash: true, dashJustified: true }), new DataFilterExtension({ categorySize: 1 })],
getDashArray: f => (app.GetDashArray(f.properties.network_status)),
collisionEnabled: app.IsCollisionEnabled,
Environment
Logs
No response
The text was updated successfully, but these errors were encountered: