Skip to content

Latest commit

 

History

History
136 lines (86 loc) · 5.12 KB

File metadata and controls

136 lines (86 loc) · 5.12 KB

JMMLocationEngine

iOS Location, Four Square Engine and Google Place Engine

Whats New : Goolge Place Search,AutoComplete and NearbyPlaces

Getting Started

To use the Foursquare API or the Google API, you will first need to add the client keys. These can be found in the header files for JMMFoursquareAPIHelper and O16GooglePlacesAPIHelper

  • To get user Location

    Example :

    [JMMLocationEngine getBallParkLocationOnSuccess:^(CLLocation *loc) {
      
    } onFailure:^(NSInteger failCode) {
    
    }];
    
  • Reverse GeoCoding

    Example :

    [JMMLocationEngine getPlacemarkLocationOnSuccess:^(CLPlacemark *place) {
      
    } onFailure:^(NSInteger failCode) {
      
    }];
    
  • FourSquare Nearby Venues

    Example :

      [JMMLocationEngine getFoursquareVenuesNearbyOnSuccess:^(NSArray *venues) {
      
      } onFailure:^(NSInteger failCode) {
      
      }];
    
  • To get FourSquare Venue Search

    Example :

      [JMMLocationEngine getFoursquareVenuesNearbyWithSearchString:searchText onSuccess:^(NSArray *venues) {
      
      } onFailure:^(NSInteger failCode) {
      
      }];
    

Added Google Places API Methods including