gmaps.js – Sleek plugin to use the potential of Google Maps in simple way on websites

0
244

gmaps.js – Sleek plugin to use the potential of Google Maps in simple way on websites

 

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 with less pain and more fun!

One of the best mapping plugin / API to customize and utilize Google Maps

Search for any location and it will automatically show map in DIV https://hpneo.github.io/gmaps/examples/geocoding.html

 

GMaps.geocode({
  address: $('#address').val(),
  callback: function(results, status) {
    if (status == 'OK') {
      var latlng = results[0].geometry.location;
      map.setCenter(latlng.lat(), latlng.lng());
      map.addMarker({
        lat: latlng.lat(),
        lng: latlng.lng()
      });
    }
  }
});

Website: https://hpneo.github.io/gmaps/

Documentation: https://hpneo.github.io/gmaps/documentation.html

Examples: https://hpneo.github.io/gmaps/examples.html


Thanks for reading,
Web Editor

LEAVE A REPLY

Please enter your comment!
Please enter your name here

3 × two =