Questions tagged [model-view-viewmodel]

The Model View ViewModel (MVVM) is an architectural pattern used in software engineering that originated from Microsoft as a specialization of the presentation model design pattern introduced by Martin Fowler. Largely based on the model–view–controller pattern (MVC), MVVM is targeted at modern UI development platforms which support Event-driven programming, such as HTML5, Windows Presentation Foundation (WPF), Silverlight and the ZK framework.

Filter by
Sorted by
Tagged with
1
vote
0answers
91 views

Not Able to Add MPK to Map in ArcGIS .Net Runtime and MVVM

I am trying to add an MPK to ArcGIS Runtim 10.27 using MVVM pattern and WPF I am able to see the MPK running on the localhost after running the application but the MPKMap = localMapService....
0
votes
1answer
69 views

ArcGIS Pro Add-In, MVVM getting filepath in viewmodel but showing only filename in view

I have an ArcGIS Pro Addin that I need to get a path to gdb for some processing, I would like to do this but show only gdb name in text box. I have a behaviors class and a viewmodel and a view. I ...
0
votes
1answer
97 views

Get View Projection and Resolution on Draw End

When drawing a LineString in OpenLayers, if the only thing I have a reference to is a TileWMS layer, is there any way to get the View Projection and Resolution? I am using the drawend event, so it ...
0
votes
1answer
95 views

Facing Issue on Creating MVVM Pattern From An ESRI Runtime 100.2 Existing App

Following This Sample I am hoping to be able a real MVVM pattern from the tutorial but based on my understanding the application is missing the Model and View classes! I have the MapViewModel.cs like ...
1
vote
0answers
100 views

Async Databinding using ArcGIS Pro SDK and MVVM?

How can we bind data to datagrid (In dockpane) using Async programing in ArcGIS Pro SDk and MVVM as one of my process will take lot of time. Please let me know if you can have any ideas or samples.
2
votes
0answers
162 views

Bind Vector Geometry to ViewModel or How to keep track of modified points?

I'm trying to create a viewModel for my application and the data is typically populated by a call to a database. I can retrieve the coordinates and convert this to geometry which can be displayed on a ...
3
votes
3answers
4k views

Executing async method inside relaycommand using ArcGIS Pro SDK and MVVM?

I'm developing a "search tool" dockpane in the ArcGIS Pro SDK using MVVM. I have a button on my dockpane hooked up to a relaycommand in my viewmodel, which trys to call an async method in my model to ...
1
vote
2answers
2k views

How define new 'GeoExt.panel.Map' with OpenLayers-3.6.0 and Extjs-6.0?

I'm using OpenLayrs-3.6.0 and Extjs-6.0. I want to define GeoMap Panel class like this. In other words, I want to rewrite GeoExt.panel.Map in geoExt-2 library. for this I define a class as follow: ...
0
votes
1answer
324 views

ArcGISDynamicMapServiceLayer Custom Renderer

My 1 Service have only 1 layer with year wise archive data. Like it have same geometries at different year along with some addon in another year. I want to use this Dynamic layer for representing the ...
-1
votes
1answer
190 views

Right click Open Contex Menu on Layer Silverlight 3.2

How I can Open a RadContextMenu (telerik) When User Click on Layer (Feature Layer / Graphic Layer) and allow user to do different task etal : Show Details of Geometry, Edit Option For Geometry, Edit/...
2
votes
0answers
104 views

Editor EditComplete is Running Multiple Times ArcGIS Silverlight

With the Help of https://developers.arcgis.com/silverlight/sample-code/start.htm#FeatureLayerSelection I have a Editor in xaml & I bind the same Editor Object to My ViewModel by little tweak in ...
2
votes
0answers
85 views

Feature Layer Selection MVVM Silverlight

In my current project I have multiple feature layers which comes on Map when User Click on it. I'm able to represent them by MVVM on Map. Now when User click /select by square area on layer, available ...
1
vote
1answer
457 views

How to use ArcGIS for WPF custom symbol with data binding?

Esri's ArcGIS for WPF does not seem to have any real MVVM support or binding support; unless I'm mistaken. Anyway, I am creating a tracking application and it needs to track objects via GPS ...
1
vote
1answer
526 views

Databinding ComboBox to GraphicsCollection - ESRI, WPF runtime

I'd like to bind a GraphicsCollection (which is a property in a view model) to a combo box in a XAML window. The problem is I can't figure out how to display attribute values in the combo box. I can ...
4
votes
2answers
2k views

Binding to Selected Feature ESRI/WPF Runtime/MVVM

Given a ArcGISLocalFeatureLayer as a layer on the WPF runtime map object, how can I bind a ViewModel to the selected feature or graphic? <esri:ArcGISLocalFeatureLayer x:Name="MySampleLayer" ID="...
4
votes
0answers
672 views

Recommendations on an MVVM framework for ArcGIS Desktop add-ins and/or ArcGIS WPF Runtime

Is anyone using an MVVM framework with ArcGIS Desktop add-ins or the ArcGIS Runtime for WPF? I am leaning towards Caliburn.Micro simply because it seems to be the most popular "lightweight" MVVM ...
6
votes
4answers
979 views

Consideration for a Good Silverlight based mapping application

I am starting to work on a Silverlight 4 based web mapping project using latest ArcGIS Server API. The application will involve multiple map services (for many themes) with selection, queries, and ...