Pre demo day development
- tristanraj
- Jan 28, 2019
- 2 min read
So as it was my task to do the nearby clinic option, I decided to start by attempting to get Google Maps API to work and show the Google Map with neabry clinics shown.
This is where everything went downhill for me. I played around with alot of the sample code given by Google maps Documentation such as using the places API. At first I used a hard coded location and attempted to get the nearby clinics by using a search query however It seemed that the search query was only for specific location. I then tried to find all of a specific type of place within a radius but I couldn't get the markers to show. Debugging did not help as there was no error messages . I spent several hours just simply playing around with the code to try get it to work but to no avail. I attempted to watch some YouTube tutorials but most were not applicable due to them being outdated. I also watches the debugging video on Google documentation but unfortunately once again I wasn't able to do it. At this point I was frustrated and disappointed with myself as just simply because I can't get the map working a feature looks useless. I felt that I could be been better and worked smarter or maybe get help from someone experienced but at the point in time it was a few days to the assignment deadline. I guess it could've been done earlier but I was swamped with my other assignments. Unfortunately I had an assignment due every 3 days and it was not easy to work on P2 during that time.
Anyways what I came to learn is that maps on Google api need to have a set height and when using multiple apis the script containing the key must also include a "&(Apihere) as that was the source of one of the many issues I faced. At one point I had asked my group if any of them could take a crack at it but understandably they were all busy with their own parts and could not get any help from them unfortunately. Up till now I'm still unable to figure out why I could get the map to display at times, or at times not actually show the markers and it was extremely frustrating to think about.
Overall I'm pretty disappointed with myself because I felt that more could have been done from my part and overall even though I felt that I put in as much effort as I could, I had nothing to show for it. It made me really dread demo day as I felt I let my teammates down and i felt very responsible for how screwed up the application was.

Comments