More Controls
The Map Viewer library (OSGeo.MapGuide.Viewer.dll) has been fitted with some extra user controls which should look familiar to what you've used in the AJAX and Fusion web viewers.
Measure
The MgLineMeasureControl allows you to perform distance-based measurements by tracing the segments you wish to measure on the map. The updated MapViewerTest application demonstrates usage of this control.
Buffer
The MgBufferControl functions exactly like its AJAX and Fusion counterparts. Nothing more to say. If you've used the buffer tool in the AJAX and Fusion viewers, this control is exactly the same.
Query
The MgQueryControl is similar to the AJAX and Fusion counterpart.
The difference is that query results are displayed in a new window, with full data grid display of all attributes.
Zooming and Selection can work on multiple rows in the query result grid. Clicking zoom with multiple selected results will zoom to the aggregate bounding box of the selected features. Clicking select will replace the current map selection with your selected query results.
Profiling Support
This release of mg-desktop also merges the new Profiling feature in MapGuide Open Source 2.4 / AIMS 2013. The MapViewerTest application includes a Profile command which displays the same XML content for profiling results as the Site Administrator.
For this release (and future ones). I'll be putting up 2 flavours of mg-desktop:
- One that targets .net Framework 2.0 and requires the Visual C++ 2008 redistributable
- One that targets .net Framework 4.0 and requires the Visual C++ 2010 redistributable
This way you can choose the one that best matches your existing code and libraries, because not everyone is (or can be) on the latest and greatest framework/compiler.
Download mg-desktop
1 comment:
You are the best there is - truly
Post a Comment