Is it possible to show only one country in ios using swift? Is there any api for it? Would i have to pay to use the api? If it isn't possible, how to show the world map?

asked 09 Jan '17, 17:36

pietarii's gravatar image

pietarii
11112
accept rate: 0%

edited 09 Jan '17, 22:41

aseerel4c26's gravatar image

aseerel4c26 ♦
32.3k16241553

@pietarii: this is not really a suitable question for here (many questions mixed in one) and we have older same questions for the single topics - please try to use the search first and do not crosspost. In any case: thanks for using OSM and let's focus the answers in the forum thread! :)

(09 Jan '17, 22:15) aseerel4c26 ♦
1

As already noted, it's not really possible to answer the question as it stands, but the following may help a little:

OpenStreetMap isn't like other map providers, where you need to access a proprietary API to access the data. You can download the data and use it for free, provided that you abide by our licence terms. You can download all the data for the whole planet (but wouldn't want to download all that to a phone), or you can download just an extract for the area that you want.

You then need to decide whether you want to set up a server that sends map data to phones, or whether you can get away with having the phone download, store, process and render the data that it needs.

Once you've got answers to those questions you'll probably want to read the Frameworks page, and decide what's right for you. It'll depend on what you want your app to do of course, but I'd definitely suggest starting with something simple.

(10 Jan '17, 00:13) SomeoneElse ♦

The question has been closed for the following reason "Duplicate Question - one location is enough. More info is given in the forum." by aseerel4c26 09 Jan '17, 22:12

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×102
×56
×3

question asked: 09 Jan '17, 17:36

question was seen: 977 times

last updated: 10 Jan '17, 00:13

powered by OSQA