POST
|
Thank you. In my case I was able to work around it using dependency injection. I registered the type in the platform specific and resolved it at run time in the PCL. Thank you for your time and quick reply, Cristian
... View more
08-10-2017
12:20 PM
|
0
|
0
|
1158
|
POST
|
Would you agree with this post? https://xamarinhelp.com/portable-class-library-pcl-vs-shared-projects/
... View more
08-10-2017
12:05 PM
|
0
|
3
|
1158
|
POST
|
The reason I am avoiding using shared is the unit testing support. I want to be able to be able to unit test as much a possible. Now, with the imminent release of .net standard 2.0, I converted my PCLs to standard, but still, I want to avoid shared for the reason mentioned above. Thanks, Cristian PS: Sorry for the late reply.
... View more
08-10-2017
11:28 AM
|
0
|
5
|
1158
|
POST
|
Hi Morten, Thank you for the quick reply. I believe that to be a severe limitation. Most large applications would not use shared projects. They would be PCL based. There are reasons for that, but, probably one of the most important one would be the better unit testing support the PCL projects offer. Also, it is also likely that potential map consumers may want to add the Esri map into their already exiting PCL based projects. If I may suggest, supporting PCL should not be complicated. Behind the scenes you would still have platform specific implementations but you would need to abstract the implementation and then have some initialization code in the platform specific project. (Similar to the way the Map is abstracted in Xamarin Forms). In my case, after some digging, I was able to use the ArcGIS map in a project based on a PCL template using some IOT (Unity in my case) magic Thank you, Cristian
... View more
05-23-2017
07:39 AM
|
0
|
7
|
1158
|
POST
|
Hi, I recently started testing the Esri-ArcGIS set of libraries in some Xamarin Forms mini test projects. My tests looked promising which is why I started porting some of the code to one of our main Xamarin Forms solutions. This solution is PCL based (vs shared). I was not able to find a nuget package that would allow me to target the PCL project (where my pages using the MapView control would be). Any suggestions? Thank you, Cristian
... View more
05-21-2017
08:47 AM
|
0
|
9
|
2457
|
POST
|
Thank you Stuart for the reply. The github samples are very useful. I was already using them and they proved to be very useful for some of the other functionalities I was looking for (ex geocoding). I guess I missed the example where the map was being initialized by passing in an online URI - my bad. Regarding your reply, I had partial success. The World Street Map worked, but the OpenStreetMap did not. I would like to use the the open street map since, in addition to the streets, it also shows the actual buildings. When initializing using the OpenStreetMap address, the map looks like a grey area (with a grid). I tried zooming in/out, navigating to some test addresses, etc. in order to force a refresh and still nothing. Would you know why would that happen? I am using a fully updated Google Pixel tablet. Thank you, Cristian
... View more
05-17-2017
09:45 AM
|
0
|
2
|
1035
|
POST
|
Hi, I just downloaded the Xamarin SDK and I am currently trying to implement some very basic test apps. Is there a way of initializing a map using any of those listed here: https://www.arcgis.com/home/search.html?t=content&q=tags:streets I would like to display the "World street map" map. (https://www.arcgis.com/home/item.html?id=3b93337983e9436f8db950e38a8629af). Same for "OpenStreetMap" https://www.arcgis.com/home/item.html?id=d415dff75dd042258ceda46f7252ad70 Thank you, Cristian
... View more
05-16-2017
12:22 PM
|
0
|
4
|
2220
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|