What's the best way to send data for Leaflet in C# MVC?

12 views
Skip to first unread message

DM

unread,
May 2, 2018, 6:10:56 AM5/2/18
to Leaflet
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?
Reply all
Reply to author
Forward
0 new messages