简体   繁体   中英

Using mapkit in an iphone app

I would like a map inside my iphone app which I want to query with search terms depending on certain values.

Does the mapkit framework accept queries of eg The United States and then display them?

I know this is really simple compared to the uses available from mapkit, that is why I wonder if it is covered?

Currently MapKit only provides Reverse Geocoding from coordinates to an address. For forward geocoding (an address or placename to coordinates) you'll need to use a geocoding API.

If your application only has a set number of things to be searched and you know the coordinates (like countries in your example) you could store and search them in core data, sqllite etc.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM