Wish you could get Google Maps for iOS offline? Now you can

Gigaom

Google’s(s GOOG) new native iPad Maps app arrived earlier this week. But there’s a very useful new feature that hasn’t gotten much coverage: the ability to download maps to use offline. This is new to Google’s iOS(s AAPL) app, but has been a feature of its Android maps app already.

The Digital Inspiration blog has a really handy demonstration video showing how simple it is to download small areas of a Google map that you need to use when you’re not on an internet connection.

You search for the area you want, zoom in to the detail level that you need, type a command (“ok maps”) into the search bar and tap search on the virtual keyboard. The map will download to your device for later use. It works for iPad and for iPhone.

Handy, right? I definitely plan to use this instead next time I travel abroad or am…

View original post 15 more words

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>