Comments (8)
The Autocomplete Modal/Widget does not come with a built-in map view, that's what the PlacePicker offers - use openPlacePickerModal
if you want that feature. Or for more free-hand and customizations, use getAutocompletePredictions
and build out your own TextInput
and result ListView
while displaying your own MapView
with react-native-maps
since I noticed you are already using that library.
from react-native-google-places.
Great, but when i use react-native-maps i end up with a bild error since im also using your RNGooglePlaces which access the same service
from react-native-google-places.
Hi @amlcodes, I just published [email protected]
to npm. Pull that in and try to use with react-native-maps
again. Looking forward to your feedback.
Cheers!
from react-native-google-places.
Awesome stuff, I'l try to implement it in as many ways I can but if you get back to this quickly enough, am I using the MapView component then? or does your package display its own map view and you just want me to add the build and compile lines for react-native-maps
from react-native-google-places.
Hah so i've got the component showing, but the openAutoCompleteModal is all Michigan, Ontario northside stuff (im in denver)
from react-native-google-places.
-
For the widgets, you can always pass a config object with
longitude
andlatitude
to provide geographical bounds to the methods. -
The latest build also allows you to work with both
react-native-google-places
andreact-native-maps
with no build issues, should you want to build your own UI - Search TextInput and MapView (fromreact-native-maps
) and search results from (getAutocompletePredictions
).
The choice is totally yours and what's best for your project.
from react-native-google-places.
tolu you are the man, thank you for your work.
from react-native-google-places.
I do think openautocomplete is stuck in that north michigan ontario area cause i had no changes in my code.
from react-native-google-places.
Related Issues (20)
- Important places.. HOT 2
- Possible option to process search when user is done typing instead of autocomplete?
- Android - This IP, site or mobile application is not authorized to use this API key. Request received from IP address **** with empty referer HOT 13
- Apple Mach-O linker Error
- over limit query error HOT 1
- Start search only when user clicks on the enter or return key
- To get location using postal code
- Updating GoogleMaps to 3.5.0 HOT 10
- [IOS] priceLevel is returned even if not selected in placeFields - possible billing concern HOT 2
- [iOS] Keyboard don't dismiss after selecting place
- Fatal Exception: java.lang.RuntimeException: Unable to start activity ComponentInfo(com.google.android.libraries.places.widget.AutocompleteActivity) HOT 1
- [QUESTION] Is this repo being maintained? HOT 3
- by using RNGooglePlaces.getCurrentPlace() getting wrong current locations in Ios. same code working fine in android
- Place Details Viewport changes starting with Places SDK for iOS v5.0
- Both ACCESS_WIFI_STATE & ACCESS_FINE_LOCATION permissions are required (Android) HOT 1
- Installing with react-native-maps HOT 1
- 8: Location unavailable error when trying to get user current location
- (Android Play Store) Leaked GCP API Keys: Your app contains exposed Google Cloud Platform (GCP) API keys HOT 3
- android build issue -> Could not find com.android.volley:volley:1.1.1 HOT 14
- patch-package react-native-google-places+3.1.2.patch HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-google-places.