Skip to content

building a marker popup displaying two texts by switching from one text to another #670

@nabilasalmi

Description

@nabilasalmi

Checklist

  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have taken the time to fill in all the required details. I understand that the question will be dismissed otherwise.

What is/are your question(s)?

I use vaadin flow 24.9.9 with leaflet-flow 5.0.0 for displaying a map in my application.
On the map, i defined LMarkers that should display a text1 and switches to text2 text after few seconds.
How to do that please ?
I bind popup to my marker using the following:

LPopup popup = new LPopup(this.reg);
popup.setContent("Text1");
marker.bindPopup(popup);

Thank you for your help !

Additional information

No response

Metadata

Metadata

Assignees

Labels

questionInformation is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions