Google Map Documentation

Description

gmaps.js allows you to use the potential of Google Maps in a simple way. No more extensive documentation or large amount of code.

Google Maps API key

You neeed to provide a Google Maps API key to be able to see a Map. Please follow steps provided in the below link to get an API key:

<script src="//maps.googleapis.com/maps/api/js?key=API_KEY"></script>
<script src="gmaps.min.js"></script>

Define container

<div id="map"></div>
            

Google-Map Usage


var map = new GMaps({
    el: '#map',
    lat: -12.043333,
    lng: -77.028333
});
            

Refer following links for usage: