Layers Maps: Places

# GMaps.js Places layer

You can easily add or remove a layer using GMaps.js:

    map.addLayer('places', {
              location : new google.maps.LatLng(-33.8665433,151.1956316),
              radius : 500,
              types : ['store'],
              search: function (results, status) {
                //do something with the result
              }
            });

Note: There are 3 types of function to use: search(), textSearch() and nearbySearch(). On the Google Places page you can see the options to use per search function.