Skip to content

NarongOk/flowaccount-iOS-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Search places from Google Map API

  • I would like to ​search for places within a specified area.

Requirement

1 Input

  • Two input parameters are required from user: Geographic coordinates (latitude, longitude) and radius from the given point to define search area.
  • Input can be in any form. Eg. UITextField, UITextArea, SearchBar and Map with ability to drop pin and define circular radius, or whatever you find that suits the requirements.
  • Pass Search button

2 Output

  • Display search result information in a ​custom​ UITableView, UITableViewCell.
  • Display search result information in a Map View with custom pin.
  • Table View should be sorted by place name (a-z, A-Z, ก-ฮ)
  • Table View should be display ​Place name​, ​Distance​ from the input geographic coordinate in KM and ​place’s photo ​(if available).

Implementation Guide

  • Update Table View with search results from Google Map API. If search result matched the existing places, not update the record, else add a new record to Table View.
  • Place’s image URL can be found in photos -> photo_reference in GG map JSON object
  • Custom Table View Cell to display photo, place name and distance.

Acceptance Criterias

  • App should be written in Swift 3++.
  • Architecturing your code wisely: for example, using VIPER, Clean Architecturing, MVVM.
  • Photo loading should be asynchronous.
  • You are required to ​submit your​ well documented source code to this GITHub repository

Google Map API

Test Image 1

Test Image 2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published