3

If you want to use OpenLayers 3 with Ext JS 6 you should have a look at https://github.com/KaiVolland/geoext3. It will be merged into https://github.com/geoext/geoext3 in about two weeks. Even if you don't want to use GeoExt 3 itself, you could use some code of the GeoExt.panel.Map and GeoExt.panel.MapController. The most interesting part might be the ...


3

The QueuedTask class is used instead of the Task class for the following reasons: Queuing and concurrency control When Tasks are dispatched using Task.Run, the associated Task will execute on a random thread in the managed thread pool each time it’s called. If a subsequent call to Task.Run is called from anywhere else in the application, the new Task will ...


2

Ok so I managed to resolve the issue by making a change to the way I run my async method. I changed this: var results = await DockFindModel.Search(); To this: var results = await QueuedTask.Run(() => DockFindModel.Search()); Although i'm a bit confused as to why I need to await Task.Run() when relaycommand is already accepting async lambda. I'm sure ...


2

in Ext 4.2 I am using Container inside of Panel: added in initComponent: th.items = [ Ext.create('Ext.Component', { initComponent: function () { var me = this; th.mapContainerId = me.id; me.on("boxready", function () { th.initMap(); }); ...


1

In this context, your Xaml behaves as a View tier which contains the MapView. You can think that the MapView is the view for the Map which is the Model and you use MapViewModel to clue them together. Remember to implement property changed to your view model as well so later if you change the Map-model, the change gets propagated to the MapView-view. ...


1

Here is What I did : So late I figure out My Services don't have capability of Allow per request modification of layer order and symbology. I was not getting option links at service for Dynamic Legend & Dynamic All Layers change options in REST service exposed. Service change request to Admin. In my Code public void ProjectLayer(ref ...


1

Its Late but I solved it Some How.i forgot the Blog Link for Code Behing Context menu via Telerik blogs Custom ContextMenu Class: public abstract class ContextMenu { private Point _location; private bool _isShowing; private System.Windows.Controls.Primitives.Popup _popup; private Grid _grid; private Canvas _canvas; private ...


1

Instead of using DisplayMemberPath property try using ItemTemplate. You can access to Attributes collection with binding to {Binding Attributes[AttributeName]} in the ItemTemplate. <DataTemplate x:Key="MyDataTemplate"> <TextBlock Text="{Binding Attributes[Title]}"/> </DataTemplate> <ComboBox DataContext="{StaticResource ...


1

I posted to this at Esri's forums some ideas to this but to be short here is my approach for databinding issue since in real apps I don't define ViewModels as static resources in Views (usually my ViewModels are injected to Views by DI container + framework combination). Use DataContextProxy for Wpf like described at http://kajanus.net/?p=15 (WinRT/SL ...


1

This is a good question. I believe that the answer to your question is that there is not an easy way to do this. I think what you are hoping for (and what I would like to work) is <esri:ArcGISLocalFeatureLayer SelectedGraphic={Binding SelectedFeature}.../> Unfortunately, there is not anything like this that I know of. The layer (graphics or ...


Only top voted, non community-wiki answers of a minimum length are eligible