TNOCS / CommonSense

MIT License
0 stars 0 forks source link

The feature filter list shows all wmo entries twice. #39

Closed erikvullings closed 9 years ago

damylen commented 9 years ago

Jeroen heeft volgens mij een extra init feature toegevoegd. Wellicht komt het daar door

-----Original Message----- From: "Erik Vullings" notifications@github.com Sent: ‎20-‎9-‎2014 00:49 To: "TNOCS/CommonSense" CommonSense@noreply.github.com Subject: [CommonSense] The feature filter list shows all wmo entries twice.(#39)

— Reply to this email directly or view it on GitHub.=

erikvullings commented 9 years ago

Klopt: in addLayer's onEachFeature en in style werd deze initFeature aangeroepen. Nu de tweede call in onEachFeature uit gecommentarieerd. BIjkomend probleem was dat als er items tweemaal in de filter lijst staan, de filtering niet zomaar meer werkt, en je een unique id moet toevoegen aan je filter: track by $index