Google Places API types functionality..

前端 未结 5 949
谎友^
谎友^ 2021-01-17 18:56

    
        

        

        
5条回答
  •  猫巷女王i
    2021-01-17 19:41

    I think the option you are looking for according to the docs is "geocode" ( http://code.google.com/apis/maps/documentation/javascript/reference.html#AutocompleteOptions ):

    var options = {                    
        types: ["geocode"]
    };
    

提交回复
热议问题