Posts Tagged Maps

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)

 

, , , , , , ,

Leave a comment

Creating cross-platform mobile map application with Xamarin in 10 minutes

Quick tutorial: how to create mobile app with maps using Xamarin just in 10 minutes.

Prerequisites

  • Mac computer with installed XCode and Xamarin Studio
  • Subscription to any Xamarin plan starting from Indie and above
  • Basic C# skills

1. Start new solution in Xamarin Studio, select Cross-platform App -> Blank Xamarin.Forms.App

screen01

2. Call the project MapDemo (or any other name you like), check both Android & iOS platforms and use Portable Class Library

Screen Shot 2015-08-19 at 23.53.08

Read the rest of this entry »

, , , , ,

Leave a comment