pod ‘GooglePlaces’, ‘~> 9.0.0’
swift code:let request = GMSPlaceSearchByTextRequest(textQuery:”pizza in New York”, placeProperties: placeProperties)
error:Cannot convert value of type ‘[GMSPlaceProperty]’ to expected argument type ‘[String]’
replace let placeProperties: [String] = [“name”, “id”, “address”, “coordinate”]
can run,but result dont have coordinate and address
New contributor
user24259286 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.