GMaps.js — Basic

Using GMaps.js is as easy as:

new GMaps({
  el: '#map',
  lat: 19.3768192,
  lng: -99.19897259999999
});

You must define container ID, latitude and longitude of the map's center.

Note: You also can define zoom, width and height. By default, zoom is 15. Width and height in a CSS class will replace these values.