Google Places API types functionality..

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

    
        

        

        
5条回答
  •  广开言路
    2021-01-17 19:48

    Try, check out the jsfiddle:

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

    types, which can be either establishment or geocode, representing businesses or addresses, respectively. If types is not specified, both types are returned.

提交回复
热议问题