Search nearby in iOS Maps

前端 未结 3 1488
轻奢々
轻奢々 2021-02-11 01:57

I am trying to build a simple application using MapKit that will automatically search for a specific place when the app launches and drop pin(s) on the map at the locations(s).

3条回答
  •  一生所求
    2021-02-11 02:39

    Make the following steps to display nearest places.

    Using google API find the Nearest Places Google Places API

    The google API provide LAt and Long and address Informations.

    Then Store the LAt and Long Values to Array then USing this lat and long values you can display Annotations in Apple map (iOS 6+) and Google Map (iOS 5).

提交回复
热议问题