Making establishment type work?
See original GitHub issueI can’t get to make the establishment type to work. Cities work while establishment doesn’t how come see code and screenshot below:
Screenshot here http://screencast.com/t/Xx9xXgqaZYzb
<GooglePlacesAutocomplete
placeholder='Establishments Name'
minLength={0} // minimum length of text to search
autoFocus={false}
fetchDetails={false}
enablePoweredByContainer={false}
onPress={(data, details = null) => { // 'details' is provided when fetchDetails = true
console.log(data);
console.log(details);
}}
getDefaultValue={(value) => {
return ''
// this.props.onDefaultValue(value) // text input default value
}}
query={{
// available options: https://developers.google.com/places/web-service/autocomplete
key: 'AIza--------------------key',
language: 'en', // language of the results
types: '(establishment)', // default: 'geocode'
}}
styles={{
description: {
fontWeight: 'bold',
},
predefinedPlacesDescription: {
color: '#1faadb',
},
}}
listViewDisplayed={true}
nearbyPlacesAPI='GooglePlacesSearch' // Which API to use: GoogleReverseGeocoding or GooglePlacesSearch
GoogleReverseGeocodingQuery={{
// available options for GoogleReverseGeocoding API : https://developers.google.com/maps/documentation/geocoding/intro
}}
GooglePlacesSearchQuery={{
// available options for GooglePlacesSearch API : https://developers.google.com/places/web-service/search
rankby: 'distance',
}}
currentLocation={false}
filterReverseGeocodingByTypes={['locality', 'administrative_area_level_3']} // filter the reverse geocoding results by types - ['locality', 'administrative_area_level_3'] if you want to display only cities
/>
Issue Analytics
- State:
- Created 7 years ago
- Comments:5
Top Results From Across the Web
Clarification of Multiple Business Establishments and Covered ...
In cases where employees work at several different locations, or do not work at any establishment, Section 1904.30(b)(3) requires that each employee must...
Read more >Creating the Best Workplace on Earth
Show how the daily work makes sense. 6. Have rules people can believe in. This list contains no surprises, but implementing the elements...
Read more >Establishment, firm, or enterprise: does the unit of analysis ...
Job flows at the establishment and firm level are a powerful tool for understanding employment dynamics. The information at each of those levels...
Read more >What Is Permanent Establishment? A Simplified Guide
There are a few common types of permanent establishments, including fixed place of business, sales agents, and service.
Read more >Establishment characteristics and work practices
This paper is one in a series of sector profiles giving an overview of structural characteristics, work organisation practices, human resource management ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@jojonarte did it work?
yup thanks