I am using the code below to add a search bar to my mapping application, is there a way to include an autocomplete search bar? Something that would provide suggestions based on what the user is typing?
//add search bar to map var v = cdb.vis.Overlay.create('search', map.viz, {})v.show();$('#map').append(v.render().el);$('.cartodb-searchbox').find('input.text').attr('placeholder', 'Enter Location...');I would like to use something that does not point back to my datasets but points to something like google's geocoder, bing, etc.
أكثر...
//add search bar to map var v = cdb.vis.Overlay.create('search', map.viz, {})v.show();$('#map').append(v.render().el);$('.cartodb-searchbox').find('input.text').attr('placeholder', 'Enter Location...');I would like to use something that does not point back to my datasets but points to something like google's geocoder, bing, etc.
أكثر...