# GMaps.js — Static map

You can easily make a static map using GMaps.js:

    url = GMaps.staticMapURL({
      size: [610, 350],
      lat: -12.043333,
      lng: -77.028333
    });

    $('<img/>').attr('src', url)
      .appendTo('#map');

You must define a size and the latitude and longitude of the map's center.

Note: You also can define zoom (by default is 15, unless zoom is set to false, in which case Google will set zoom based on marker positions).