headless-studio / leptos-leaflet

MIT License
22 stars 14 forks source link

Fix and change suggestions for circle, tooltip and tile layer component #21

Closed LouneCode closed 5 months ago

LouneCode commented 5 months ago

1. Fix radius property of the circle component The circle component has a radius property that was never set.

2. Add move event to the circle component By adding a Move event, the circle object can be repositioned on the map.

3. Fix tile layer attribution property ! logical operator was missing from the condition.

            if !attribution.is_empty() {
                options.set_attribution(attribution.to_string());
            }


4. Add opacity property to the tooltip A new opacity property for the tooltip component.


Let's do IT better