I need to send data for layering to view to be drawn in Leaflet.
Now, do I pass the object list, and then parse it somehow in Foreach and add each point to map?
Or do I pass json/convert to json and show that?
How to implement Leaflet with MVC in general? Only reference it in view and work from there or are there ways to work with it in controller too?