elasticrash / ngx.leaflet.component

angular 2+ / leaflet 1.x component collection
https://elasticrash.github.io/Angular.io.MapViewer/app/
MIT License
44 stars 12 forks source link

popup content is not rendered #108

Open itsmohdabrar opened 7 years ago

itsmohdabrar commented 7 years ago

I am trying to create the nested routing in my ng2 App and it seems like routerLink in the anchor link as shown below doesn't support. var link = '<a [routerLink]="['/reports/${response[i]._id}']">${response[i].locationName}</a>'; marker.bindPopup(link).openPopup();

elasticrash commented 7 years ago

Are you trying to move to another route from the leaflet pop up? If so. Yeah leaflet popup content is not getting rendered. I ll see if it's possible... I am not sure

maisnamraju commented 7 years ago

It will be great to be able to inject components into the pop up.