Hello,
I'm trying to implement the autocomplete feature when I search a map in my app.
I tried using the following:
http://ubilabs.github.io/geocomplete/...
I did:
function initialize_mymap() {
var map = Apperyio("my_map").gmap;
Apperyio('my_search').geocomplete({
map: map
});
}
but get the error:
Uncaught TypeError: Cannot read property 'Autocomplete' of undefined GeoComplete.js:8
Where GeoComplete.js is my asset file that contains the min.js version of the file from:
http://ubilabs.github.io/geocomplete/
I am new to appery and javascripting in general, so perhaps this is a beginners error, but could someone please let me know what I am doing wrong?
Is there an easier alternative to achieving the autocomplete feature ?
Thanks in advance.
-Jo