Skip to content

onclick doesn't work on Circle-Marker-Element #121

@alexispolak

Description

@alexispolak

Got this on the html:

<div *ngFor="let node of nodes"> <circle-marker-element [onclick]=getNodeInformation(node) [lat]=node.position_id[0].latitude [lon]=node.position_id[0].longitude [Options]="{color:'#576887'}"> {{node.nodeName}} </circle-marker-element> </div>

getNodeInformation(node) : void{ console.log(node.nodeName); }

I'm getting 300 logs, everytime the page reload and everytime put the mouse over the marker but not clicking.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions