Рет қаралды 2,061
#wpf #csharp #mapcontrol #mvvm #wpfmapcontrol #restapi
Learn to create a mapcontrol in wpf with MVVM pattern. Along with creating mapcontrol, learn few tricks about wpf animation and triggers.
Meanwhile, also learn to fetch data from Web to display on screen.
sourcecode : github.com/rmsmech/Tutorials/...
Chapters:
00:00 Introduction
01:23 Download an SVG Map
02:33 Use InkScape to clean up
03:53 Further SVG cleanup in Visual Studio
07:20 Setup Trigger for MouseOver color change
10:40 Setup MVVM
15:37 Handle mouse click to show selection
18:00 Download Correct SVG Map (again)
23:13 Start with WEBApi to fetch Map Data
30:36 Test WebAPI Raw Json
31:30 Parse Raw Json to a Clean data
38:06 Setup Side bar for properties
46:55 Add animation for side bar opening
50:17 Handle Selection to highlight