Creating geojson file for the app with maps before publishing it on AppStore

I recently published iOS app developed with Xamarin where maps API were used. Using maps API in iOS requires to create .geojson file to show the area which should be covered with routing for your app before publishing this app in AppStore.

Creating this kind of file is quite easy, it was just a square around Minsk city in my case but it was not obvious how to create this file when you never did it before.

The file should look like this:

{
 "type": "MultiPolygon",
 "coordinates": [[[
 [27.32574462890625,53.78036940194483],
 [27.32574462890625,54.00373331851741],
 [27.821502685546875,54.00373331851741],
 [27.821502685546875,53.78036940194483],
 [27.32574462890625,53.78036940194483]
 ]]]
}

I used the website http://geojson.io to create the initial file and the website http://geojsonlint.com to test it with the changes to be appropriate with the sample above (there was an issue with quantity of brackets with the file, geojsonlint helped me to find this error)

 

, , , , , , ,

  1. Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: