I have a bunch of location data (longitude and latitude pairs) sitting in a Microsoft SQL Server DB.
I need to plot those points on a Map (OpenLayers+OSM), and the only way to draw on the map is to use JavaScript.
So far, I have no idea how to achieve this goal. The only thing I know is that I do not want to establish a database connection in JavaScript. In other words, I need to somehow use c# to pass the data from database to Javascript. Any suggestions? All help is appreciated!