Skip to content
This repository has been archived by the owner on Apr 29, 2021. It is now read-only.

Support for Xamarin.Forms? #63

Open
Druffl3 opened this issue Jul 31, 2020 · 5 comments
Open

Support for Xamarin.Forms? #63

Druffl3 opened this issue Jul 31, 2020 · 5 comments

Comments

@Druffl3
Copy link

Druffl3 commented Jul 31, 2020

I am looking for an Indoor Navigation solution for Xamarin.Forms app which will run on Android, iOS and UWP. Of all the SDKs, yours looks the most promising. But you only have an iOS sample with Xamarin. Will it work for all three? Android, iOS and UWP? Also are there any documentations or samples available for the same?

@nCastle1
Copy link
Contributor

nCastle1 commented Aug 3, 2020

Indoor routing is possible on all three platforms, but as you mentioned has only been implemented as an open source app for Xamarin.iOS. The app has been designed to enable the development of additional platform-specific user interface projects, using the shared code project for behavior that is common to all platforms.

Currently the Indoor Routing app doesn't implement turn-by-turn navigation; currently it will only show the route on the map, without directions. I need to do more research to confirm what would be involved in implementing turn-by-turn navigation specifically.

There are extensive samples demonstrating most ArcGIS Runtime functionality, but I don't think anything demonstrates the specific combination of turn-by-turn navigation with an offline map.

Would you be able to share more information about your project or the specific scenario you are trying to accomplish?

@DivyaVaniChinta
Copy link

DivyaVaniChinta commented Aug 7, 2020

As per my project requirement, I wanna achieve the following things in Indoor mapping :

  1. IPS (Indoor Positioning System by displaying "Blue dot" for accuracy)
  2. Showing POI's
  3. Static / Dynamic Navigation between two points (using any REST API's)
  4. Directions

**@nCastle1 , Can you confirm that all the above possible to do with ArcGIS in Xamarin.Forms (Android/IOS/UWP)? &

Indoor-routing sample given only IOS code, Do you have any same sample code for Xamarin.Forms Android also?**

@esreli
Copy link
Contributor

esreli commented Aug 10, 2020

Hello @DivyaVaniChinta, i'm happy to field some of your inquiries here.

  1. IPS (Indoor Positioning System by displaying "Blue dot" for accuracy)

This application and Runtime more generally does not support IPS out of the box, at this time. On the other hand, Runtime does support you in the effort to build your own location data source and as such, allows you to build your own IPS in the way that suits your needs.

A colleague of ours has written an excellent three-part blog post demonstrating how to build custom location data sources. Please note, the blog does not explain how to build a custom IPS but rather how to build custom location data sources more generally. Also to note, the entries are written in Swift and targets the Runtime SDK for iOS, perhaps you digest the concepts and translate them to C# and for .Net.

  1. Showing POI's

Would you elaborate on this a bit more? What POIs would you like to show? This application uses a locator to search for places and feature layers to show and find rooms on the map, packaged into a mobile map package that is downloaded when the application is launched. Does this satisfy your need for showing POIs?

  1. Static / Dynamic Navigation between two points (using any REST API's)

The app does generate routes between two places but does so using a network data set rather than a RESTful API service. We provide extensive documentation describing how you can build your own network data set.

If you are an ArcGIS Enterprise customer (or interested in becoming one) you can publish your own navigation REST service, feel free to check out the documentation.

  1. Directions

This requirement seems to piggy-back off of the last one. This app does allow users to generate routes, displaying the route on a map. If you are interested in augmenting the application to show the steps involved, the Route API should support this without much additional work on your end. You could take this idea even further by integrating the app with Runtime SDK for .NET navigation API to provide live turn-by-turn directions.

Can you confirm that all the above possible to do with ArcGIS in Xamarin.Forms (Android/IOS/UWP)?

All that is described above is supported by the Runtime SDK for .Net for Xamarin.Forms and the platforms you've listed. Please note that we don’t support forms with WPF.

Do you have any same sample code for Xamarin.Forms Android also?

This app only supports Xamarin.iOS however the app is architected in such a way that the business logic is abstracted from the UI. As such, building Indoor Routing for Android would require building only a front-end rather than starting from scratch.


We accept contributions from the community, I encourage you to fork the repo and see what you come up with!

@DivyaVaniChinta
Copy link

@esreli , Thanks for your support to understand more about ArcGIS Indoor mapping facilities.

As you mentioned , this app is for only Xamarin.IOS (native). But , not for Xamarin.Forms. Can I have any sample code for Indoor Routing in Xamarin.Forms ? (like this : https://github.com/Esri/arcgis-runtime-samples-dotnet, As I observed, this example code does not have any Indoor implementation).

it would be grateful, If you provide any sample code of Indoor routing in Xamarin.Forms for me to get started with indoor mapping using ArcGIS.

Thanks in Advance.

@esreli
Copy link
Contributor

esreli commented Aug 18, 2020

#63 (comment)
@DivyaVaniChinta

At this time the application builds for Xamarin.iOS only.

With that said, I will note that the app is architected in such a way that the business logic is abstracted from the UI. As such, building Indoor Routing for Xamarin.Forms would require building only a front-end rather than starting from scratch, substantially reducing the amount of development work required to get this application up and running on other supported Xamarin platforms.

We accept contributions from the community, I encourage you to fork the repo and see what you come up with!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants