/google-maps-search-control

Google Maps autocomplete search control

Primary LanguageJavaScript

Google Maps Search Control

Easy to install Google Map expandable search control that allows for Google Maps Place Autocomplete searches

Demo

Live demo

Live demo

How to use

Include the .js and .css files to your html. In JavaScript, send your map object to the init function:

var opts = { center: { lat: -33.8688, lng: 151.2195 }, zoom: 13 };
var map = new google.maps.Map(document.getElementById('map'), opts);

MapSearch.init(map);