Skip to content

Issue when changing popup attribute #307

Open
@VasavanThiru

Description

@VasavanThiru

If popup attribute has already been set up, when you change it, it not works immediately.

For instance :

from ipyleaflet import *
import ipywidgets as w
from ipywidgets import HTML

m = Map(center = (46,0), zoom = 3)

slider = w.FloatLogSlider(max=10,value = 2 )
marker = Marker(location = (46,0))
marker.popup = slider     # popup attribute  
m.add_layer(marker)

marker.popup = HTML(" hello")        #Popup attribute is changed but will not be viewed immediately 

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions