Skip to content

fill_extrusion_layer

Stable

Extrudes polygons from a source into 3D shapes, such as buildings.

The events this component sends to the LiveView, as the library documents them. Each arrives in handle_event/3. Use the preview; the last payload of each event the example receives appears here. A component sends only the events its events attribute names, so the example receives those its LiveView handles.

  • layer:feature_clicked

    Fired when a feature is clicked

    Not received yet.

  • layer:feature_mouseenter

    Fired when mouse enters a feature

    Not received yet.

  • layer:feature_mouseleave

    Fired when mouse leaves a feature

    Not received yet.

  • layer:added

    Fired once, the first time the layer is on the map (not again when a style change, or a map rendered again with the same id, puts it back)

    Not received yet.

  • layer:removed

    Fired when the component is removed, if layer:added was fired

    Not received yet.