This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
map_suite_desktop_edition_miscellaneous_samples [2015/11/05 03:37] tgwikiupdate |
map_suite_desktop_edition_miscellaneous_samples [2017/03/17 03:03] (current) tgwikiupdate |
||
---|---|---|---|
Line 121: | Line 121: | ||
---- | ---- | ||
<div sampleitem> | <div sampleitem> | ||
- | ==== Use Map with MVC Framework ==== | + | ==== Snap To Grid Dots ==== |
<div screenshot> | <div screenshot> | ||
- | {{desktopedition:codesamples:Map Suite Desktop Edition Sample Use Map with MVC Framework.png?300x180}} | + | {{desktopedition:codesamples:Map Suite Desktop Edition Sample Snap To Grid Dots.png?300x180}} |
</div> | </div> | ||
<div content> | <div content> | ||
<div download_viewsource_buttons> | <div download_viewsource_buttons> | ||
- | [[Source_Code_WebEditionSample_UseMapWithMVCFramework_CS.zip|View Source]] | + | [[Source_Code_DesktopEditionSample_SnapToGridDots_CS_151228.zip|View Source]] |
- | {{filehistory:WebEditionSample_UseMapWithMVCFramework_CS_141211.zip|C# Download}} | + | {{filehistory:DesktopEditionSample_SnapToGridDots_CS_151228.zip|C# Download}} |
</div> | </div> | ||
<div sample_otherlinks> | <div sample_otherlinks> | ||
Line 135: | Line 135: | ||
[[Map Suite Samples Alternate Languages | Need it in another language?]] | [[Map Suite Samples Alternate Languages | Need it in another language?]] | ||
</div> | </div> | ||
- | This project demonstrates how to create a web-based map using Microsoft ASP.NET MVC 1.0 and Map Suite Web Edition. To meet the requirements of MVC, we inherit the interface IMapInitializer in the controller, which has a function InitializeMap that is overridden in the controller. We then implement the class "MapInitializerHelper" to initialize the map instance. | + | This sample shows you how to improve drawing accuracy. When drawing a shape on the map it allows you to snap to the closest grid item based on a specified tolerance. |
</div> | </div> | ||
</div> | </div> | ||
---- | ---- | ||
- | |||
<div sampleitem> | <div sampleitem> | ||
- | ==== Track Zoom In With Shift ==== | + | ==== Use Map with MVC Framework ==== |
<div screenshot> | <div screenshot> | ||
- | {{desktopedition:codesamples:Map Suite Desktop Edition Sample Track Zoom In With Shift.jpg?300x180}} | + | {{desktopedition:codesamples:Map Suite Desktop Edition Sample Use Map with MVC Framework.png?300x180}} |
</div> | </div> | ||
<div content> | <div content> | ||
<div download_viewsource_buttons> | <div download_viewsource_buttons> | ||
- | [[Source_Code_DesktopEditionSample_TrackZoomInWithShift_CS_150828.zip|View Source]] | + | [[Source_Code_WebEditionSample_UseMapWithMVCFramework_CS.zip|View Source]] |
- | {{filehistory:DesktopEditionSample_TrackZoomInWithShift_CS_150828.zip|C# Download}} | + | {{filehistory:WebEditionSample_UseMapWithMVCFramework_CS_141211.zip|C# Download}} |
</div> | </div> | ||
<div sample_otherlinks> | <div sample_otherlinks> | ||
Line 156: | Line 155: | ||
[[Map Suite Samples Alternate Languages | Need it in another language?]] | [[Map Suite Samples Alternate Languages | Need it in another language?]] | ||
</div> | </div> | ||
- | This sample shows how you can track zoom in. this sample restrict the track zoom shape when press “Shift Key”. The restricted shape is same resolution (width/height) with map. When set the map’s snapping mode to none, the map zooms to specific zoom level without snapping Select the display area with mouse and shift. | + | This project demonstrates how to create a web-based map using Microsoft ASP.NET MVC 1.0 and Map Suite Web Edition. To meet the requirements of MVC, we inherit the interface IMapInitializer in the controller, which has a function InitializeMap that is overridden in the controller. We then implement the class "MapInitializerHelper" to initialize the map instance. |
</div> | </div> | ||
</div> | </div> | ||
---- | ---- | ||
+ | |||
<div sampleitem> | <div sampleitem> | ||
- | ==== Index Raster Layer ==== | + | ==== Track Zoom In With Shift ==== |
<div screenshot> | <div screenshot> | ||
{{desktopedition:codesamples:Map Suite Desktop Edition Sample Track Zoom In With Shift.jpg?300x180}} | {{desktopedition:codesamples:Map Suite Desktop Edition Sample Track Zoom In With Shift.jpg?300x180}} | ||
Line 168: | Line 168: | ||
<div content> | <div content> | ||
<div download_viewsource_buttons> | <div download_viewsource_buttons> | ||
- | [[Source_Code_DesktopEditionSample_indexrasterlayer_CS_151105.zip|View Source]] | + | [[Source_Code_DesktopEditionSample_TrackZoomInWithShift_CS_150828.zip|View Source]] |
- | {{filehistory:DesktopEditionSample_indexrasterlayer_CS_151105.zip|C# Download}} | + | {{filehistory:DesktopEditionSample_TrackZoomInWithShift_CS_150828.zip|C# Download}} |
</div> | </div> | ||
<div sample_otherlinks> | <div sample_otherlinks> |