Skip to content
This repository has been archived by the owner on Mar 30, 2019. It is now read-only.

Do research on Google Maps / Places API #77

Closed
mertakozcan opened this issue Oct 11, 2018 · 6 comments
Closed

Do research on Google Maps / Places API #77

mertakozcan opened this issue Oct 11, 2018 · 6 comments

Comments

@mertakozcan
Copy link
Contributor

As in requirements, we should use Google Maps API for location related properties in our application. There're many APIs inside Maps API, but I think the one related to our use case is Places. There're both client (Android, JS) and server-side libraries for Places API. https://developers.google.com/maps/documentation/ All three teams should discuss how are we going to integrate Places API in our application.

P.S. We can clarify which API we're supposed to use with Meriç as well.

@mertakozcan
Copy link
Contributor Author

mertakozcan commented Nov 3, 2018

As backend team, we're expecting frontend and Android teams to send us city and disctrict information of the event location so that we can enable users to filter events based on location. (il ve ilçe) #88

In addition to this, you should decide how user will select the location of event on UI. (For referance, you might use something like this.)

I think Google Places API is suitable for our situation if event locations will be specific places. (For example, you can select a theater, cafe or any specific venue easily with Google Places API and then it'll have a unique ID provided by Google. We can store the name and ID of the venue in our database. However, if you believe that events can be at any location --which seems weird to me-- Google Places API won't be enough.)

@kirbiyik
Copy link
Contributor

kirbiyik commented Nov 4, 2018

@atifemreyuksel Could you examine some example usages of Google API for our system?

@atifemreyuksel
Copy link
Contributor

Okay, I will search some examples for frontend.

@cerob
Copy link
Member

cerob commented Nov 16, 2018

As backend team, we expect frontend and android teams come up with a common data fields. If you are planning to use Google API, it should be trivial.

@atifemreyuksel
Copy link
Contributor

We already use places api in showing event page. Also, we can use reverse geocoding api in google in create event. Hence, we can take the latitude and longitude of the event place with marker. Then, we convert it to related address. Is it useful for backend?

@mertakozcan
Copy link
Contributor Author

For location model, we now have city, disctrict, google_place_id, name, lat, lng fields. Android team should also use these fields for location-related things for events.

Special thanks to @atifemreyuksel, for his guidance about this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.