POST
|
Sorry wasn't clear on what you were asking there. WPF for this particular question.
... View more
04-17-2018
12:19 PM
|
0
|
1
|
1072
|
POST
|
Not sure what you are looking for so here are some general answers: 1. Any CPU 2. Windows
... View more
04-17-2018
11:28 AM
|
0
|
3
|
1072
|
POST
|
I've been successful at getting my callout to appear with a button image and even have the image clickable to trigger further work. However, when I touch the screen with my finger it does not trigger the button click event and am wondering how I can go about using a touch event to fire the action related to the button? Code example: if (MyGraphic.HasLayout) { //a button is needed in the callout definition var converter = new ImageConverter(); var png = Properties.Resources.Form; def.ButtonImage = new RuntimeImage((byte[])converter.ConvertTo(png, typeof(byte[]))); Action<object> infoWindowButtonClick_Process = MoreDetailsClicked; def.OnButtonClick = infoWindowButtonClick_Process; } My click event being handled: private void MoreDetailsClicked(object message) { //do further work }
... View more
04-17-2018
11:03 AM
|
0
|
5
|
1287
|
POST
|
I love the look of the new call out, a question that does come up from this is how does this work in the .net side. There is no CalloutStyle that can be set the same way. All the other methods of the mapview appear to be there including the CalloutDefinition but documentation wise, it is unclear how to control the look of the call out on the windows side.
... View more
07-10-2017
09:54 AM
|
0
|
1
|
1271
|
POST
|
Hey there I've asked this question within a thread that is flagged as assumed answered and I'm guessing the question is being over looked. We are using v100 and have the pop up example working in our windows project using the idea that antti.kajanus-esri-fi-esridist provided but am struggling with how to implement a similar idea on the droid side. The MapView has an Overlay property but it is expecting a droid widget where the windows side is expecting an ESRI OverlayControl. Is there any examples or thoughts on how we can dynamically create a control to display attributes within, when a user touches a graphic? Thanks, Jim
... View more
07-04-2017
01:28 PM
|
0
|
3
|
2491
|
POST
|
Hey Antti Any input on how to do this within Xamarin? I've implemented this idea within our UWP and am now attempting the droid side and not sure how to proceed.
... View more
06-27-2017
01:14 PM
|
0
|
1
|
2861
|
POST
|
Was a solution for Xamarin ever identified for creating a control? The MapView on the droid side only has an Overlay property where the windows side has a Overlays property and it is specific to ESRI.
... View more
06-27-2017
01:11 PM
|
0
|
0
|
2861
|
POST
|
Thanks for posting ideas on what to check, it was of great help in finding out I created my own troubles.
... View more
06-20-2017
09:05 AM
|
0
|
0
|
260
|
POST
|
So....it appears the issue of the map view never getting a completed status in the DrawStatusChanged event was due to my Post method. In our .net code for windows we Post to another thread to say the map is ready and in the Xamarin Android side, this is not required. By commenting out the post method, my MapReady event is then triggered within the View containing this linear layout which then in turns allows the map view to complete its drawing event. This thread can now be closed but it is good to know that a MapControlView can be managed within a class that implements a linear layout.
... View more
06-20-2017
09:04 AM
|
0
|
1
|
2149
|
POST
|
From what I can see, the map gets a status of loaded in the end and the basemap appears to load without issue. The only thing I do see is that the draw status of the map view is always in progress and never gets to completed.
... View more
06-20-2017
08:53 AM
|
0
|
3
|
2149
|
POST
|
Yes the MapView.DrawStatusChanged event fires as well as the Map.LoadStatusChanged event fires. No exceptions or warnings appear.
... View more
06-20-2017
08:31 AM
|
0
|
5
|
2149
|
POST
|
Any input on why my map appears blank but still shows Powered by ESRI?
... View more
06-19-2017
08:27 AM
|
0
|
7
|
2149
|
POST
|
Hey there Here is condensed code from my class: public class MapControlView : LinearLayout { private readonly MapView _myMapView = new MapView(); #region Implementors public MapControlView(IntPtr javaReference, JniHandleOwnership transfer) : base(javaReference, transfer) { Initialize(); } public MapControlView(Context context) : base(context) { Initialize(); } public MapControlView(Context context, IAttributeSet attrs) : base(context, attrs) { Initialize(); } public MapControlView(Context context, IAttributeSet attrs, int defStyleAttr) : base(context, attrs, defStyleAttr) { Initialize(); } public MapControlView(Context context, IAttributeSet attrs, int defStyleAttr, int defStyleRes) : base(context, attrs, defStyleAttr, defStyleRes) { Initialize(); } #endregion private void Initialize() { _myMapView.NavigationCompleted += MyMapView_OnNavigationCompleted; AddView(_myMapView); LoadLayers(); } private void LoadLayers() { var mdsMap = new Map(Basemap.CreateImagery()); mdsMap.LoadStatusChanged += MdsMap_LoadStatusChanged; _myMapView.Map = mdsMap; } private void MdsMap_LoadStatusChanged(object sender, global::Esri.ArcGISRuntime.LoadStatusEventArgs e) { if (_mapReadyForUse) return; if (e.Status.Equals(LoadStatus.Loaded)) { _uiContext.Post(x =>{(sender as Map).LoadStatusChanged -= MdsMap_LoadStatusChanged; _mapReadyForUse = true; MapReady?.Invoke(); }, null); } } }//end of class
... View more
06-14-2017
06:42 AM
|
0
|
8
|
2149
|
POST
|
Hey Everyone I'm in the process of building a mobile app and within it I have a map plugin that is utilizing Esri.ArcGISRuntime.Xamarin.Android nuget package (version 100). I have created a C# class which implements a LinearLayout and on Initialize, I construct my Esri.ArcGISRuntime.UI.Controls.MapView and call AddView(_myMapView) followed up with a load layer method that constructs a map consuming a Streets basemap. Everything compiles and the layout appears in my app and I see the Powered by ESRI logo; however, nothing displays. The map appears black and no other code fires if I drag or pinch my finger over the control. I did wire up the LoadStatusChanged event for my map and I do achieve a loaded status, again nothing is visible. Thoughts?
... View more
06-13-2017
10:01 AM
|
0
|
10
|
3428
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|