GeoComplete widget: Can't find address based on business name

  • Profile Image
    Asked on September 04, 2017 at 01:23 AM

    I am trying to use the GeoComplete widget @

    However, the results seem to be filtered in some way.

    I have selected Worldwide search.



    1. Search for "yum yum peking duck"

    2. Find "Yum Yum Peking Duck, Scotts Road, Darra, Queensland, Australia"



    1. Search for "yum yum peking duck"

    2. Find no results


    I have created a fiddle @ from the Google template that is able to produce the desired result.

    Diffing the request URLs leads to me believe it may have something to do with the 'geocode' parameter. 


    Any ideas?

  • Profile Image
    Answered on September 04, 2017 at 06:23 AM


    I can only presume that the GeoComplete widget has a limited range or is fetching addresses using a different query compared to the main search functionality of Google Maps. Here's my result of testing:

    Here's my test form:

    The text "yum yum p" won't show up the "Yum Yum Peking" in the list. 


    However, the road can be properly searched:


    I can only presume that it might be related to the business location. Compared to the main Google Maps search which can properly view the business. 


    Let me forward this to our developers to make improvements on the widget. 

  • Profile Image
    Answered on September 19, 2017 at 08:17 PM

    I have checked the GeoComplete code and the Google API docs. 

    In the GeoComplete code there is this: 

    var h = $("#geocomplete")

          , i = {

            types: ["geocode"]


    Note this is minified code.

    From the Google Maps API documentation:

    geocode instructs the Place Autocomplete service to return only geocoding results, rather than business results. Generally, you use this request to disambiguate results where the location specified may be indeterminate.

    Is it possible to allow the type to be user specified by a string? It would greatly improve the functionality of the GeoComplete widget. 

  • Profile Image
    Answered on September 19, 2017 at 10:12 PM

    Thank you for the additional information.

    Unfortunately, we do not have any update yet regarding this issue. As of right now, the issue is still being worked on. I will contact the developer assigned to this thread and I will ask for any update.

  • Profile Image
    Answered on December 20, 2017 at 10:53 PM

    We've fixed the bug. Give it a try and let us know. 

    Apologies for the long wait, and happy holidays! 

  • Profile Image
    Answered on December 21, 2017 at 01:06 AM

    OK great thanks. That seems to have done it.