Satic Map

Snippet for using in the new mapping feature of Linq

by kshep92

HTML

<img id="small" src="http://maps.google.com/maps/api/staticmap?center=10.648757,-61.462978&zoom=14&markers=color:blue|label:C|10.648757,-61.462970&size=300x300&sensor=false"></img>

<p>Use the same coordinates for center and marker</p>

View on <a href="#">larger map</a>


<img id="large" src="http://maps.google.com/maps/api/staticmap?center=10.648757,-61.462978&zoom=15&markers=color:blue|label:C|10.648757,-61.462970&size=950x600&sensor=false"></img>

JavaScript

$(document).ready(function() {
    $("#large").hide()
    $("a").click(function() {
        $("#small").hide();
        $("#large").show();
    });
});