Comments (3)
Types field was deprecated from feb 2016 and stops working in feb 2017, so it's not included in this client library. Thanks for raising this - we need to update the docs.
from google-maps-services-js.
@stephenmcd that's not true. types
is a valid optional parameter for the Place Autocomplete service. It has only been deprecated for Place Search service. I also checked the rest api without using the client and it returns the expected (cities)
values.
Check it here: https://developers.google.com/places/web-service/autocomplete
from google-maps-services-js.
You're right, thank you.
from google-maps-services-js.
Related Issues (20)
- Upgrade axios to ^1.5.0 HOT 5
- PlacesAutocomplete call crashes if the optional location field is present but undefined HOT 2
- Address autocomplete ApiNotActivatedMapError HOT 1
- StreetViewService.getPanorama implementation HOT 2
- Cross-site Request Forgery (CSRF) issue with Axios, replace with fetch? HOT 7
- Add new Pollen APIs HOT 1
- Google RouteMatrix needed. HOT 2
- Dependency url-signature using a version of crypto-js with critical vulnerability HOT 6
- New APIs: Address Validation, Datasets, Places, Routes HOT 4
- Autocomplete prediction type fields should be optional HOT 1
- Rename primary branch to main
- reviews_sort & reviews_no_translations fields are not included in place deatils params HOT 2
- "Place Details (New)" API calls HOT 4
- Directions: Missing type "google.maps.DirectionsStatus" in "google.maps.DirectionsResult" OS:W11 Pro HOT 1
- Cannot find module 'core-js/modules/es.string.replace.js' HOT 5
- Add support for Address Descriptors to Geocoding
- Cross-Origin-Resource-Policy missing from response header of khms0.googleapis.com and khms1.googleapis.com HOT 1
- Error: Cannot find module 'core-js/modules/es.string.replace.js' HOT 10
- Places.placeAutocomplete can't filter by country HOT 1
- 127.0.0.1:22259/main/0/storage/emulated/11/Download/Takeout/Historial de ubicaciones (Rutas)/Timeline Edits.GeoJSON.gpx.html
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 google-maps-services-js.