Search code examples
iosobjective-cxcodegeolocationapple-maps

Google Maps autocomplete Functionality from Apple Maps for Objective C?


I need to implement autocomplete Functionality for a City-Name Search in Objective C.

Basically at the Moment I would use the Google Maps autocomplete Functionality from here: https://developers.google.com/places/documentation/autocomplete

But I don't like displaying the powered by google - logo.

That's the reason why I'm asking here, is there a way to implement autocomplete Functionality using Apple Maps API or similar ?

Thanks for any advice


Solution

  • Check this out - Yahoo YQL console.

    There you can put queries like this - it gives you all places starting with San:

    select * from geo.places where text="San%"
    

    The resulting JSON / XML can act as data source to what you are trying to display for autocomplete results.

    As I can see they allow up to some number of free queries for non-commercial use, and beyond that they charge. You may check it out here and here.