Skip to content

[BUG]: Style color and opacityΒ #2689

@ftoromanoff

Description

@ftoromanoff

FeatureGeometry layer without fill color impossible to reach...

http://localhost:8080/examples/source_file_geojson_3d.html

(On master)
Initial state:
Image

style: {
                    fill: {
                        color: new THREE.Color(0xbbffbb),
                        extrusion_height: 80,
                    }
                }

Suppression de la couleur: (D'apres la doc: "fill.color: Default is no value, which means no fill.")

style: {
                    fill: {
                        // color: new THREE.Color(0xbbffbb),
                        extrusion_height: 80,
                    }
                }

Result:

Image

with opacity a 0:

style: {
                    fill: {
                        // color: new THREE.Color(0xbbffbb),
                        extrusion_height: 80,
                        opacity: 0,
                    }
                }

the result is similar:

Image

I can't get stroke to work as well:

style: {
                    fill: {
                        // color: new THREE.Color(0xbbffbb),
                        extrusion_height: 80,
                        opacity: 0,
                    },
                    stroke: {
                        color: new THREE.Color(0xffffbb),
                        width: 2,
                    }
                }
Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions