World Map marker click event?

#1

Is there any way to have the World Map some how output a msg when a marker is clicked?
For example if I want to display data about the marker on the page outside the map?

0 Likes

#2

the worldmap in node receives events when markers get created, moved, clicked or deleted.

0 Likes

#3

Ah, I didnt have it configured properly, works now thanks.

0 Likes

#4

Is there any way for it to tell me the name of the marker clicked?
This is what i get:
image

0 Likes

#5

what version of worldmap do you have ?
you should get a msg.payload like
image

0 Likes

#6

I had 1.5.12, have upgraded to 18, name is coming through now thanks.

0 Likes