ubilabs / geocomplete

jQuery Geocoding and Places Autocomplete Plugin
http://ubilabs.github.com/geocomplete/
MIT License
1.22k stars 408 forks source link

Does not working #324

Open ayrancd opened 7 years ago

ayrancd commented 7 years ago

I put something on input but nothinh works... I click on find button but does not work...

<script src="https://maps.googleapis.com/maps/api/js?key=MYAPINUMBER&libraries=places"></script>
<script src="<?=$folder?>assets/js/jquery.geocomplete.js"></script>
 <script>
      $(function(){
        $("#geocomplete").geocomplete({
          map: ".map_canvas",
          details: "form",
          types: ["geocode", "establishment"],
        });

        $("#find").click(function(){
          $("#geocomplete").trigger("geocode");
        });
      });
    </script>

    <input type="text" class="form-control" id="geocomplete" maxlength="100">
                                            <input id="find" type="button" value="find" />
papix2001 commented 7 years ago

button works with https