How to put Multiple Markers in Google Map in MVC 4

source article: http://blog.myitside.com/post/2012/01/20/How-to-use-Google-Maps-with-multiple-markers-in-ASPNET-MVC-3.aspx

* In my Controller, 
  public ActionResult Map()
  {
    IEnumerable<Place> places = getAllPlaces();
    return View(places);
  }  

* In Map.cshtml razor view, 

@model IEnumerable<Place>
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false"></script>
<script type="text/javascript" src="http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markermanager/src/markermanager.js"></script>

<script language="javascript" type="text/javascript">
   var map;    
   var mgr;    
   function initialize() {
        var myOptions = {
            zoom: 2,
            center: new google.maps.LatLng(0, 0),
            mapTypeId: google.maps.MapTypeId.HYBRID
        };
        map = new google.maps.Map(document.getElementById("googleMap"), myOptions);
        mgr = new MarkerManager(map);
        var infoWindow = new google.maps.InfoWindow({ content: "contents" });
        google.maps.event.addListener(mgr, 'loaded', function () {
            @foreach (var place in Model) {
                <text>
                var marker = new google.maps.Marker({
                    position: new google.maps.LatLng(@place.Latitude, @place.Longitude),
                    html: "@place.Link"
                });

                google.maps.event.addListener(marker, "click", function () {
				    infoWindow.setContent(this.html);
				    infoWindow.open(map, this);
			    });

                mgr.addMarker(marker, 0);
                </text>
            }
            mgr.refresh();
        });
    }
    google.maps.event.addDomListener(window, 'load', initialize);
</script>

<div id="googleMap"></div>

Microsoft Research Project: “Fetal Heart Rate Monitoring using Smart Phones”

May.2008 ~ Aug.2009

MSResearch_FHR

The goal of this Microsoft Research Project was to develop a fetal heart rate monitoring system on Windows mobile smart phones. Dr. Chang Su Lee worked on this project as a Post Doctoral Research Fellow in School of Computer Science at Edith Cowan University, Mt. Lawley, Western Australia.

Over the last decade, the rate of premature births and fetal deaths among the Indigenous population of rural and remote Australia was more than twice that of the non-Indigenous population. Because of the distance that women in these isolated communities often must travel to reach health centers and hospitals, many do not get the proper medical care to prevent or address prenatal issues. The tyranny of distance and its associated costs remain a barrier for delivering reasonable quality [prenatal] care to remote and rural populations.
For example in reality, one of the phone calls we had was from a woman who lost the twins she was carrying because she lived too far from a medical facility to get regular checkups. By the time doctors discovered a problem with her pregnancy, it was too late to save the babies.

Our team (Dr. A.Tan, Dr. M.Masek, Dr. C.Lee, Dr. C.P.Lam, Angela Fyneman) developed this system to improve the quality of prenatal care in rural and remote communities by providing expectant mothers with an inexpensive, portable, Doppler-based ultrasound device connected to a smartphone running Microsoft® Windows Mobile®.
The first prototype has been produced in mid 2009 resulted in a stand-alone Mobile application on Microsoft® Windows smartphone for calcuating fetal heart rates on front-end mobile devices and sending calculated heart rates to a back-end web server for reporting to the medical team in our partner, Mercy Hospital Mt. Lawely. Since then the system has been in trials with the help from volunteers to evaluate and enhance the accuracy and performance of our system.

This project is listed in Microsoft Research web pages;
* Microsoft Research webpages: mHealth Summit 2009research abstractsocially relevant computing brochure:p#15MSResearch_smartphone_based_fetal_monitor

Published technical papers are listed below;
“Towards Higher Accuracy and Better Noise-Tolerance for Fetal Heart Rate Monitoring using Doppler Ultrasound” – IEEE TENCON 2009
“Advances in Fetal Heart Rate Monitoring using Smart Phones” – IEEE ISCIT 2009
“Remote Home-Based Ante and Post Natal Care” – IEEE HealthCom 2009

Since then, it became a student project in School of Computer Security and Science, Eidth Cowan University, Western Australia. In November 2011, our team won a prize AUD $15,000 as a top 5 finalist for the ‘Mobile Fetal and Maternal Health mobile application’ in Univation WApp Competition in Perth, Western Australia. Link – ECU