Questions tagged [geocomplete]

Geocomplete is an advanced jQuery plugin that wraps the Google Maps API's Geocoding and Places Autocomplete services

Geocomplete is an advanced jQuery plugin that wraps the Google Maps API's Geocoding and Places Autocomplete services. You simply provide an input that lets you search for locations with a nice autocomplete dropdown.


Documentation :

54 questions
0
votes
0 answers

Geo complete for ReactJS

I need longitude and latitude, for that user need to enter their places and then depend on that location I need to take lat and lang. I searched the internet and I found some geo-auto-complete libraries but I'm not able to use them, is there any…
rakcode
  • 2,256
  • 4
  • 19
  • 44
0
votes
1 answer

Geocomplete trigger set state in select

I have a form for addresses and I am using Geocomplete to populate that form. I have my US states in a select who's options have values as state codes and text as state name. How can I have the return from the Geocomplete trigger make the the proper…
Dan Wier
  • 334
  • 5
  • 16
0
votes
0 answers

geocomplete input not firing enter key

I'm using the geocomplete.js API along with the google maps api. searching for auto complete addresses, suburbs or anything works, and when I press the enter key the fields are auto filled. My problem is when I try to fire off the enter key…
happinin
  • 65
  • 8
0
votes
1 answer

Abbreviate states in Geocomplete

Is there a way to abbreviate the states in geocomplete? I am currently using the data-geocode administrative_area_level_1 to show the sate but need it to be abbreviated - not the full name.
penone
  • 742
  • 1
  • 10
  • 27
0
votes
1 answer

Put Geocomplete plugin to Bootstrap modal

I have tried Geocomplete but my code still doesn't work. I want to use Geocomplete in Bootstrap modal. This is my code: <%= f.text_field :place, id: "cities", class:…
Boomerange
  • 616
  • 1
  • 10
  • 18
0
votes
1 answer

Uncaught TypeError: Cannot read property 'cities' of undefined [Geocomplete]

I am using this plugin in Rails but still have a problem with error in title. Definition of script: script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?key=MY_API_KEY&libraries=places&sensor=false> Input text field: <%=…
Boomerange
  • 616
  • 1
  • 10
  • 18
0
votes
1 answer

Map not displaying when address is geocoded using Geocomplete

My issue is when users enter their address (with autocomplete), the expected behaviour is that the map would display a marker on the address. But for some strange reason, the map does not display :( Here is where my test environment is, please have…
RSantos
  • 21
  • 4
0
votes
1 answer

Using GeoComplete Without Marker

I am using this plugin for autocomplete of location input field. What I have done so far is- $(function() { $("#find_product_location").geocomplete( { map : "#product_location", mapOptions : { mapTypeId : 'roadmap', //roadmap,…
Abrar Jahin
  • 13,970
  • 24
  • 112
  • 161
0
votes
1 answer

Google Maps GeoComplete with GeoJson

I am struggling to get Google Maps to show me the data stored in a GeoJSON object. If I use a click event on the polygon it works first time. Code below: // Get the GeoJSON file from the server HTTP.get(Meteor.absoluteUrl("/geo.json"),…
0
votes
1 answer

Geocomplete with Node JS

I would like to use Geocomplete (Github example), a JQuery plugin, with my Node JS app. I am fairly new to web apps and am having trouble figuring out how to integrate JQuery stuff. I am rendering my page like so: render() { let { input } =…
Jonathan Brown
  • 3,644
  • 3
  • 25
  • 31
0
votes
1 answer

jQuery geocomplete output to custom fields

I have been trying to get it to map to fields i specify but have not had any luck. We have a form that we can not control the field names etc. and are trying to map the results to each field. Is it possible to map for say example the lat and long to…
Aaron
  • 525
  • 2
  • 9
  • 22
0
votes
1 answer

Unable to show maps in jquery.geocomplete

I am using jquery.geocomplete.js for getting autocomplete search when searching for an address. The app is a ruby on rails app and here is what I have done: Added