User Tools

Site Tools


map_suite_desktop_for_winforms_all_samples

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
map_suite_desktop_for_winforms_all_samples [2020/03/08 06:36]
127.0.0.1 external edit
map_suite_desktop_for_winforms_all_samples [2023/08/22 12:52] (current)
ruili
Line 5: Line 5:
 The Winforms QuickStart Guide will guide you through the process of creating a sample application and will help you become familiar with Map Suite. This QuickStart Guide supports Map Suite 10.0.0.0 and higher and will show you how to create a Winforms application. The Winforms QuickStart Guide will guide you through the process of creating a sample application and will help you become familiar with Map Suite. This QuickStart Guide supports Map Suite 10.0.0.0 and higher and will show you how to create a Winforms application.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/QuickstartSample-ForWinForms/raw/master/​Screenshot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​QuickstartSample/​Screenshot.png?​500|Screenshot}}
  
 +[[https://​gitlab.com/​thinkgeo/​public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​QuickstartSample?​ref_type=heads| View this sample on Gitlab]]
  
-[[https://​github.com/​ThinkGeo/​QuickstartSample-ForWinForms| View this sample on Github]] 
 ==== Display Cad File Sample for WinForms ==== ==== Display Cad File Sample for WinForms ====
- 
  
 This sample demonstrates how you can read data from an CAD file(*.dwg, *.dxf) in your Map Suite GIS applications,​ and how to render it with CAD embedded style as well as a customized style. This Cad File support would work in all of the Map Suite controls such as Wpf, Web, MVC and WebApi. ​ This sample demonstrates how you can read data from an CAD file(*.dwg, *.dxf) in your Map Suite GIS applications,​ and how to render it with CAD embedded style as well as a customized style. This Cad File support would work in all of the Map Suite controls such as Wpf, Web, MVC and WebApi. ​
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/DisplayCadFileSample-ForWinForms/raw/master/​Screenshot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​DisplayCadFileSample/​Screenshot.png?​500|Screenshot}}
  
- +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​DisplayCadFileSample?​ref_type=heads| View this sample on Gitlab]]
-[[https://github.com/ThinkGeo/DisplayCadFileSample-ForWinForms| View this sample on Github]]+
  
 ==== Routing Sample for WinForms ==== ==== Routing Sample for WinForms ====
  
- +[[http://​wiki.thinkgeo.com/​wiki/​_media/​routing/​routing_howdoi_samples_data.zip|Sample Data Download]]
-[Sample Data Download](http://​wiki.thinkgeo.com/​wiki/​_media/​routing/​routing_howdoi_samples_data.zip)+
  
 The Map Suite Routing “How Do I?” solution offers a series of useful how-to examples for using the Map Suite Routing extension. The bundled solution comes with a small set of routable street data from Austin, TX and demonstrates simple routing, avoiding specific areas, getting turn-by-turn directions, optimizing for the Traveling Salesman Problem, and much more. Full source code is included in both C# and VB.NET languages; simply select your preferred language to download the associated solution. The Map Suite Routing “How Do I?” solution offers a series of useful how-to examples for using the Map Suite Routing extension. The bundled solution comes with a small set of routable street data from Austin, TX and demonstrates simple routing, avoiding specific areas, getting turn-by-turn directions, optimizing for the Traveling Salesman Problem, and much more. Full source code is included in both C# and VB.NET languages; simply select your preferred language to download the associated solution.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/RoutingSample-ForWinForms/raw/master/​ScreenShot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​RoutingSample/​ScreenShot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/RoutingSample-ForWinForms| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​RoutingSample?​ref_type=heads| View this sample on Gitlab]]
  
 ==== Open Street Map Sample for WinForms ==== ==== Open Street Map Sample for WinForms ====
Line 41: Line 38:
 OpenStreetMap (OSM) is a collaborative project to create free geographic data for the entire world. It can be thought of as a "Free Wiki World Map". The latest version of MapSuite now supports this.  ​ OpenStreetMap (OSM) is a collaborative project to create free geographic data for the entire world. It can be thought of as a "Free Wiki World Map". The latest version of MapSuite now supports this.  ​
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/OpenStreetMapSample-ForWinForms/raw/master/​ScreenShot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​OpenStreetMapSample/​ScreenShot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/OpenStreetMapSample-ForWinForms| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​OpenStreetMapSample?​ref_type=heads| View this sample on Gitlab]]
  
 ==== Use Wpf Map Control Sample for WinForms ==== ==== Use Wpf Map Control Sample for WinForms ====
- 
  
 The wpf map control supports multi-thread to render map, so it performs better than winforms map control. This sample demonstrates how you can use wpf map control in your winforms applications. ​ The wpf map control supports multi-thread to render map, so it performs better than winforms map control. This sample demonstrates how you can use wpf map control in your winforms applications. ​
  
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf) ​for the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/UseWpfMapControlSample-ForWinforms/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​WpfMapControlSample/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/UseWpfMapControlSample-ForWinforms| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​WpfMapControlSample?​ref_type=heads| View this sample on Gitlab]]
  
 ==== Building 3D Style Sample for WinForms ==== ==== Building 3D Style Sample for WinForms ====
- 
  
 This project shows to create simulated 3D buildings with WinForms Map control and shapefile. This project shows to create simulated 3D buildings with WinForms Map control and shapefile.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/Building3DStyleSample-forWinForms/raw/master/​Screenshot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​Building3DSample/​Screenshot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/Building3DStyleSample-forWinForms| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​Building3DSample?​ref_type=heads| View this sample on Gitlab]]
  
 ==== World Streets Layer SDK On Windows for WinForms ==== ==== World Streets Layer SDK On Windows for WinForms ====
- 
  
 The World Streets Vector Layer Explorer is a tool that enables you to view the SQLite World Streets data using Map Suite WinForms and provides complete performance metrics. The World Streets Vector Layer Explorer is a tool that enables you to view the SQLite World Streets data using Map Suite WinForms and provides complete performance metrics.
Line 86: Line 80:
 Working... Working...
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/WorldStreetsLayerSDKOnWindows-ForWinForms/raw/master/​screenshot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​WorldStreetsLayerSDKWindows/​screenshot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/WorldStreetsLayerSDKOnWindows-ForWinForms| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​WorldStreetsLayerSDKWindows?​ref_type=heads| View this sample on Gitlab]]
  
 ==== ThinkGeo Cloud Vector Maps Sample for Winforms ==== ==== ThinkGeo Cloud Vector Maps Sample for Winforms ====
  
- +This sample demonstrates how you can draw the map with Vector Tiles requested from ThinkGeo Cloud Services in your Map Suite GIS applications,​ with any style you want from [[https://​wiki.thinkgeo.com/​wiki/​thinkgeo_stylejson|StyleJSON (Mapping Definition Grammar)]]. It will show you how to use the XyzFileBitmapTileCache and XyzFileVectorTileCache to improve the performance of map rendering. It supports have 3 built-in default map styles and more awasome styles from StyleJSON file you passed in, by '​Custom': ​
-This sample demonstrates how you can draw the map with Vector Tiles requested from ThinkGeo Cloud Services in your Map Suite GIS applications,​ with any style you want from [StyleJSON (Mapping Definition Grammar)](https://​wiki.thinkgeo.com/​wiki/​thinkgeo_stylejson). It will show you how to use the XyzFileBitmapTileCache and XyzFileVectorTileCache to improve the performance of map rendering. It supports have 3 built-in default map styles and more awasome styles from StyleJSON file you passed in, by '​Custom': ​+
 - Light - Light
 - Dark - Dark
Line 104: Line 97:
 ThinkGeo Cloud Vector Maps support would work in all of the Map Suite controls such as Wpf, Web, MVC, WebApi, Android and iOS. ThinkGeo Cloud Vector Maps support would work in all of the Map Suite controls such as Wpf, Web, MVC, WebApi, Android and iOS.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/ThinkGeoCloudVectorMapsSample-ForWinforms/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​CloudVectorMapsSample/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/ThinkGeoCloudVectorMapsSample-ForWinforms| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​CloudVectorMapsSample?​ref_type=heads| View this sample on Gitlab]]
  
 ==== Routing Data Explorer Sample for Wpf ==== ==== Routing Data Explorer Sample for Wpf ====
- 
  
 This is a simple routing data viewer sample viewer which demonstrates how to use the RoutingEngine to get the shortest or fastest route in your Map Suite GIS applications. ​ This is a simple routing data viewer sample viewer which demonstrates how to use the RoutingEngine to get the shortest or fastest route in your Map Suite GIS applications. ​
Line 138: Line 130:
 1. To update a feature, usually, we need to convert a feature to a shape, update the shape and then convert it back to a feature. This will create a new shape and a new feature, which is more straightforward but the cost is high. Below is a method updating a point feature by adding 1 to its X and Y. 1. To update a feature, usually, we need to convert a feature to a shape, update the shape and then convert it back to a feature. This will create a new shape and a new feature, which is more straightforward but the cost is high. Below is a method updating a point feature by adding 1 to its X and Y.
  
-```csharp+<​code>​
        ​private void UpdateFeatureThroughShape(Feature feature)        ​private void UpdateFeatureThroughShape(Feature feature)
         {         {
Line 147: Line 139:
             feature = pointShape.GetFeature();​             feature = pointShape.GetFeature();​
         }         }
-```+</​code>​
  
 3. You can update a feature by directly updating its WKB. The following method updates a point feature by adding 1 to its X and Y. It’s the most efficient way where we manipulate a byte array without creating any new object. It is not straightforward and you need to have a deep understanding of the format of WKB. That’s what we are doing in this sample. We will add more APIs to Feature to make it straightforward and efficient. 3. You can update a feature by directly updating its WKB. The following method updates a point feature by adding 1 to its X and Y. It’s the most efficient way where we manipulate a byte array without creating any new object. It is not straightforward and you need to have a deep understanding of the format of WKB. That’s what we are doing in this sample. We will add more APIs to Feature to make it straightforward and efficient.
  
-```csharp+<​code>​
        ​private void UpdateFeatureThroughWKB(Feature feature)        ​private void UpdateFeatureThroughWKB(Feature feature)
         {         {
Line 161: Line 153:
             feature.SetWellKnownBinary(wkb);​             feature.SetWellKnownBinary(wkb);​
         }         }
-```+</​code>​
  
 4. The “Grid size in Pixel” textbox let you set the size of the grid in which up to one point can be displayed, the bigger the grid is, the more sparse the points will be. This is an optimization with which we can avoid showing too many points on the map.  Play with it and you can see the performance differences. 4. The “Grid size in Pixel” textbox let you set the size of the grid in which up to one point can be displayed, the bigger the grid is, the more sparse the points will be. This is an optimization with which we can avoid showing too many points on the map.  Play with it and you can see the performance differences.
  
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/RenderingPointsPerformanceTestSample-ForWinForms/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​RenderingPointsPerformanceTestSample/​Screenshot.gif?​500|Screenshot}}
  
- +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​RenderingPointsPerformanceTestSample?​ref_type=heads| View this sample on Gitlab]]
-[[https://github.com/ThinkGeo/RenderingPointsPerformanceTestSample-ForWinForms| View this sample on Github]]+
  
 ==== Hello World Sample for WinForms ==== ==== Hello World Sample for WinForms ====
Line 177: Line 168:
 This sample shows you how to get started building your first application with the Map Suite Desktop for WinForms 10.0.0. This sample shows you how to get started building your first application with the Map Suite Desktop for WinForms 10.0.0.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/HelloWorldSample-ForWinForms/raw/master/​Screenshot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​HelloWorldSample/​Screenshot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/HelloWorldSample-ForWinForms| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​HelloWorldSample?​ref_type=heads| View this sample on Gitlab]]
  
 ==== Line Style With Increment Sample for WinForms ==== ==== Line Style With Increment Sample for WinForms ====
Line 188: Line 179:
 In this WinForms desktop project, we show how to create a custom **LineStyle** for showing distance increment at a regular interval (every tenth kilometer). Having this **LineStyle** can be very handy when dealing with line networks, such as roads or railways. In this WinForms desktop project, we show how to create a custom **LineStyle** for showing distance increment at a regular interval (every tenth kilometer). Having this **LineStyle** can be very handy when dealing with line networks, such as roads or railways.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/LineStyleWithIncrementSample-ForWinForms/raw/master/​ScreenShot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​LineStyleWithIncrementsSample/​ScreenShot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/LineStyleWithIncrementSample-ForWinForms| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​LineStyleWithIncrementsSample?​ref_type=heads| View this sample on Gitlab]]
  
 ==== Overlays Sample for WinForms ==== ==== Overlays Sample for WinForms ====
- 
  
 Discover how to use Overlays to build up your map, or to add existing basemaps to your application. ​ Discover how to use Overlays to build up your map, or to add existing basemaps to your application. ​
Line 208: Line 198:
  
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/OverlaysSample-ForWinForms/raw/master/​Screenshot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​OverlaysSample/​Screenshot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/OverlaysSample-ForWinForms| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​OverlaysSample?​ref_type=heads| View this sample on Gitlab]]
  
 ==== World Streets Layer SDK On Linux for WinForms ==== ==== World Streets Layer SDK On Linux for WinForms ====
- 
  
 The World Streets Vector Layer Explorer is a tool that enables you to view the SQLite World Streets data using Map Suite WinForms and provides complete performance metrics. The World Streets Vector Layer Explorer is a tool that enables you to view the SQLite World Streets data using Map Suite WinForms and provides complete performance metrics.
Line 228: Line 217:
 Working... Working...
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/WorldStreetsLayerSDKOnLinux-ForWinForms/raw/master/​screenshot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​WorldStreetsLayerSDKWindows/​screenshot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/WorldStreetsLayerSDKOnLinux-ForWinForms| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​WorldStreetsLayerSDKWindows?​ref_type=heads| View this sample on Gitlab]]
  
 ==== Edit Grid Layer Sample for WinForms ==== ==== Edit Grid Layer Sample for WinForms ====
- 
  
 This WinForms project demonstrates how you can update a grid shape file using a spatial query. The elements in the file are rendered using ClassBreakStyles,​ and change when the values of the Features are incremented. This WinForms project demonstrates how you can update a grid shape file using a spatial query. The elements in the file are rendered using ClassBreakStyles,​ and change when the values of the Features are incremented.
Line 249: Line 237:
 | 11680                                         | New           | 175               | | 11680                                         | New           | 175               |
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/EditGridLayerSample-ForWinFoms/raw/master/​Screenshot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​EditGridLayerSample/​Screenshot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/EditGridLayerSample-ForWinForms| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​EditGridLayerSample?​ref_type=heads| View this sample on Gitlab]]
  
 ==== Display Wms Raster Layer Sample for WinForms ==== ==== Display Wms Raster Layer Sample for WinForms ====
- 
  
 This sample demonstrates how you use WmsRasterLayer to render wms server in your Map Suite GIS applications. This WmsRasterLayer support would work in all of the Map Suite controls such as Wpf, Web, MVC and WebApi. ​ This sample demonstrates how you use WmsRasterLayer to render wms server in your Map Suite GIS applications. This WmsRasterLayer support would work in all of the Map Suite controls such as Wpf, Web, MVC and WebApi. ​
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/DisplayWmsRasterLayerSample-ForWinForms/raw/master/​Screenshot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​DisplayWmsRasterLayerSample/​Screenshot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/DisplayWmsRasterLayerSample-ForWinForms| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​DisplayWmsRasterLayerSample?​ref_type=heads| View this sample on Gitlab]]
  
 ==== Stream Loading For Native Image Sample for WinForms ==== ==== Stream Loading For Native Image Sample for WinForms ====
Line 272: Line 259:
 As an alternative to loading an Image with the image file from the file system, you can choose to pass your own stream. This project shows you how to use the event StreamLoading of GdiPlusRasterSource for this purpose. In this project, we show how to do this using a Tiff image but you can also use that event for ShapeFileFeatureSource as we show in a previous project “Shapefile Encryption”. Keep in mind that this technique only works with images besides MrSid, ECW and Jpeg2000. These types of images do not work because the providers do not support streams in their decoding SDKs. As an alternative to loading an Image with the image file from the file system, you can choose to pass your own stream. This project shows you how to use the event StreamLoading of GdiPlusRasterSource for this purpose. In this project, we show how to do this using a Tiff image but you can also use that event for ShapeFileFeatureSource as we show in a previous project “Shapefile Encryption”. Keep in mind that this technique only works with images besides MrSid, ECW and Jpeg2000. These types of images do not work because the providers do not support streams in their decoding SDKs.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/StreamLoadingForNativeImageSample-ForWinForms/raw/master/​ScreenShot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​StreamLoadingForNativeImage/​ScreenShot.png?​500|Screenshot}}
  
- +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​StreamLoadingForNativeImage?​ref_type=heads| View this sample on Gitlab]]
-[[https://github.com/ThinkGeo/StreamLoadingForNativeImageSample-ForWinForms| View this sample on Github]]+
  
 ==== Here Real Time Traffic Sample for WinForms ==== ==== Here Real Time Traffic Sample for WinForms ====
- 
  
 This sample demonstrates how you use HERE Real-time Traffic to render map in your Map Suite GIS applications. This sample demonstrates how you use HERE Real-time Traffic to render map in your Map Suite GIS applications.
-Before running this sample, you need to config "​AppId"​ and "​AppCode"​ in App.Config. If you have ESRI or Here developer account, you can generate them on [Here's official Web Site](https://​developer.here.com/​).+Before running this sample, you need to config "​AppId"​ and "​AppCode"​ in App.Config. If you have ESRI or Here developer account, you can generate them on [[https://​developer.here.com/​|Here'​s official Web Site]].
  
 HERE Real-time Traffic provides the closest thing to a live depiction of the road. It identifies where, when and why traffic congestion occurs, and delivers up-to-the-minute information on the road conditions and incidents that could set a driver back. HERE Real-time Traffic provides the closest thing to a live depiction of the road. It identifies where, when and why traffic congestion occurs, and delivers up-to-the-minute information on the road conditions and incidents that could set a driver back.
Line 289: Line 274:
 This HereRealTimeTrafficLayer is supported in all of the Map Suite controls such as WPF, Web, MVC and WebAPI. ​ This HereRealTimeTrafficLayer is supported in all of the Map Suite controls such as WPF, Web, MVC and WebAPI. ​
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/HereRealTimeTrafficSample-ForWinForms/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​HereRealTimeTrafficSample/​Screenshot.gif?​500|Screenshot}}
  
- +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​HereRealTimeTrafficSample?​ref_type=heads| View this sample on Gitlab]]
-[[https://github.com/ThinkGeo/HereRealTimeTrafficSample-ForWinForms| View this sample on Github]]+
  
 ==== Detect Gps Sample for WinForms ==== ==== Detect Gps Sample for WinForms ====
Line 300: Line 284:
 Upon request of our users, today we publish a project that is the Desktop version of “Detect GPS” for Web. Notice how we use ValueStyle and change the column value of the feature based on the Spatial Query feature at each new position. We chose this structure so that you can have more flexibility for adding more than one moving vehicle features to the InMemoryFeatureLayer. For that, you can pretty much keep the same code and just add an outer loop for looping thru all the moving features. Upon request of our users, today we publish a project that is the Desktop version of “Detect GPS” for Web. Notice how we use ValueStyle and change the column value of the feature based on the Spatial Query feature at each new position. We chose this structure so that you can have more flexibility for adding more than one moving vehicle features to the InMemoryFeatureLayer. For that, you can pretty much keep the same code and just add an outer loop for looping thru all the moving features.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/DetectGPSSample-ForWinForms/raw/master/​Screenshot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​DetectGpsSample/​Screenshot.png?​500|Screenshot}}
  
- +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​DetectGpsSample?​ref_type=heads| View this sample on Gitlab]]
-[[https://github.com/ThinkGeo/DetectGpsSample-ForWinForms| View this sample on Github]]+
  
 ==== Custom Track Polygon Sample for WinForms ==== ==== Custom Track Polygon Sample for WinForms ====
Line 311: Line 294:
 Learn how to extend the **TrackInteractiveOverlay** to add behaviors, like deleting the last added vertex when right-clicking the track line. Learn how to extend the **TrackInteractiveOverlay** to add behaviors, like deleting the last added vertex when right-clicking the track line.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details. +Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
- +
-{{https://​github.com/​ThinkGeo/​CustomTrackPolygonSample-ForWinForms/​raw/​master/​ScreenShot.png?​500|Screenshot}}+
  
 +{{https://​gitlab.com/​thinkgeo/​public/​thinkgeo-desktop-maps/​-/​raw/​support/​v10/​samples/​winforms/​CustomTrackPolygonSample/​ScreenShot.png?​500|Screenshot}}
  
-[[https://github.com/ThinkGeo/CustomTrackPolygonSample-ForWinForms| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​CustomTrackPolygonSample?​ref_type=heads| View this sample on Gitlab]]
  
 ==== US Demographic Map Sample for WinForms ==== ==== US Demographic Map Sample for WinForms ====
Line 323: Line 305:
 The Demographic and Lifestyle sample template gives you a head start on your statistics project, which includes details about race, age, gender, land usage, and more for all the states in U.S. The template contains pre-styled layers that can be used as-is, or as the foundation for adding your own map notes and layers. The Demographic and Lifestyle sample template gives you a head start on your statistics project, which includes details about race, age, gender, land usage, and more for all the states in U.S. The template contains pre-styled layers that can be used as-is, or as the foundation for adding your own map notes and layers.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/USDemographicMapSample-ForWinForms/raw/master/​ScreenShot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​UsDemographicMapSample/​ScreenShot.png?​500|Screenshot}}
  
- +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​UsDemographicMapSample?​ref_type=heads| View this sample on Gitlab]]
-[[https://github.com/ThinkGeo/USDemographicMapSample-ForWinForms| View this sample on Github]]+
  
 ==== Drag Icon Sample for WinForms ==== ==== Drag Icon Sample for WinForms ====
- 
  
 In today’s sample, we show how to drag icons representing vehicle on the map. This is a handy feature if you want to give your users the ability to drag and drop some non stationary features such as vehicles. You can see that to accomplish this functionality,​ you can use EditInteractiveOverlay as it already has all the necessary logic for dragging purposes. Look at the code to see how to set up that overlay to have the expected behavior. In today’s sample, we show how to drag icons representing vehicle on the map. This is a handy feature if you want to give your users the ability to drag and drop some non stationary features such as vehicles. You can see that to accomplish this functionality,​ you can use EditInteractiveOverlay as it already has all the necessary logic for dragging purposes. Look at the code to see how to set up that overlay to have the expected behavior.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/DragIconSample-ForWinForms/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​DragIconSample/​Screenshot.gif?​500|Screenshot}}
  
- +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​DragIconSample?​ref_type=heads| View this sample on Gitlab]]
-[[https://github.com/ThinkGeo/DragIconSample-ForWinForms| View this sample on Github]]+
  
 ==== Snap To Layer Sample for WinForms ==== ==== Snap To Layer Sample for WinForms ====
- 
  
 This project shows how you can apply snapping to an EditInteractiveOverlay. There are many aspects to snapping. Previously, we showed a project with the mouse pointer snapping to the closest vertex of an editable polygon. Today, we show the technique to drag a control point and have it snap to the closest vertex of a layer if within tolerance. The tolerance can be set in world (meter, feet etc) or screen (pixels) coordinates. Notice that we are also using the technique showed in the previous project “Dragged Point Style”. This project shows how you can apply snapping to an EditInteractiveOverlay. There are many aspects to snapping. Previously, we showed a project with the mouse pointer snapping to the closest vertex of an editable polygon. Today, we show the technique to drag a control point and have it snap to the closest vertex of a layer if within tolerance. The tolerance can be set in world (meter, feet etc) or screen (pixels) coordinates. Notice that we are also using the technique showed in the previous project “Dragged Point Style”.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/SnapToLayerSample-ForWinForms/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​SnapToLayerSample/​Screenshot.gif?​500|Screenshot}}
  
- +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​SnapToLayerSample?​ref_type=heads| View this sample on Gitlab]]
-[[https://github.com/ThinkGeo/SnapToLayerSample-ForWinForms| View this sample on Github]]+
  
 ==== Track Overlay With Esc Sample for WinForms ==== ==== Track Overlay With Esc Sample for WinForms ====
Line 358: Line 335:
 This project shows how to implement aborting a trackshape with Esc key as you could do it in MapSuite 2.x. This project shows how to implement aborting a trackshape with Esc key as you could do it in MapSuite 2.x.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/TrackOverlayWithEscSample-ForWinForms/raw/master/​ScreenShot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​TrackOverlayWithEsc/​ScreenShot.png?​500|Screenshot}}
  
- +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​TrackOverlayWithEsc?​ref_type=heads| View this sample on Gitlab]]
-[[https://github.com/ThinkGeo/TrackOverlayWithEscSample-ForWinForms| View this sample on Github]]+
  
 ==== Shapefile Encryption Sample for WinForms ==== ==== Shapefile Encryption Sample for WinForms ====
- 
  
 In today’s project, we are looking at a way to encrypt shapefiles to prevent them from being used outside the application. We show how to encrypt and decrypt shapefiles using streams. You will see that a very simple encryption algorithm is used but by looking at the example, you will be able to implement your own. In today’s project, we are looking at a way to encrypt shapefiles to prevent them from being used outside the application. We show how to encrypt and decrypt shapefiles using streams. You will see that a very simple encryption algorithm is used but by looking at the example, you will be able to implement your own.
Line 372: Line 347:
 Disclaimer: This encryption system can be used only on small shapefiles due to the amount of memory used. A typical use would be to encrypt some valuable small shapefiles you don't want your users to access. In the future, Map Suite will provide a full encryption system as an API. Disclaimer: This encryption system can be used only on small shapefiles due to the amount of memory used. A typical use would be to encrypt some valuable small shapefiles you don't want your users to access. In the future, Map Suite will provide a full encryption system as an API.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/ShapefileEncryptionSample-ForWinForms/raw/master/​Screenshot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​ShapeFileEncryptionSample/​Screenshot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/ShapefileEncryptionSample-ForWinForms| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​ShapeFileEncryptionSample?​ref_type=heads| View this sample on Gitlab]]
  
 ==== Get Zoom Level Sample for WinForms ==== ==== Get Zoom Level Sample for WinForms ====
Line 383: Line 358:
 This example demonstrates how to get the zoom level of the map each time we change its extent. Using custom zoom levels, you will see how to get the zoom level with its characteristics such as the upper and lower scale defining it. You can read the comments inside the project to better understand the relationship of scales with zoom levels. This example demonstrates how to get the zoom level of the map each time we change its extent. Using custom zoom levels, you will see how to get the zoom level with its characteristics such as the upper and lower scale defining it. You can read the comments inside the project to better understand the relationship of scales with zoom levels.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/GetZoomLevelSample-ForWinForms/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​GetZoomLevelsSample/​Screenshot.gif?​500|Screenshot}}
  
- +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​GetZoomLevelsSample?​ref_type=heads| View this sample on Gitlab]]
-[[https://github.com/ThinkGeo/GetZoomLevelSample-ForWinForms| View this sample on Github]]+
  
 ==== Snapping To Vertex Sample for WinForms ==== ==== Snapping To Vertex Sample for WinForms ====
- 
  
 This project is the first one of a series that will be dedicated to snapping using InteractiveOverlay. In this project, we show how to snap the mouse pointer to the closest vertex of an editable polygon if it is within a set tolerance. The tolerance is shown as a circle around the vertices. This technique can also be applied to snapping vertices within the same shape, between different shapes or even based on a layer. Those different types of snapping will be the subject of future projects related to snapping using InteractiveOverlay. This project is the first one of a series that will be dedicated to snapping using InteractiveOverlay. In this project, we show how to snap the mouse pointer to the closest vertex of an editable polygon if it is within a set tolerance. The tolerance is shown as a circle around the vertices. This technique can also be applied to snapping vertices within the same shape, between different shapes or even based on a layer. Those different types of snapping will be the subject of future projects related to snapping using InteractiveOverlay.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details. +Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
- +
-{{https://​github.com/​ThinkGeo/​SnappingToVertexSample-ForWinForms/​raw/​master/​Screenshot.gif?​500|Screenshot}}+
  
 +{{https://​gitlab.com/​thinkgeo/​public/​thinkgeo-desktop-maps/​-/​raw/​support/​v10/​samples/​winforms/​SnappingToVertex/​Screenshot.gif?​500|Screenshot}}
  
-[[https://github.com/ThinkGeo/SnappingToVertexSample-ForWinForms| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​SnappingToVertex?​ref_type=heads| View this sample on Gitlab]]
  
 ==== Edit Rectangles Sample for WinForms ==== ==== Edit Rectangles Sample for WinForms ====
- 
  
 This sample shows how to extend the **EditInteractiveOverlay** rectangles as shapes, rather than polygon shapes, by setting special column values. For features (both *Well Known Text* and *Well Known Binary*), the concept of a rectangle is not supported and typically rectangles are handled as polygons. This feature allows users to modify the rectangle but requires that the modification keep a rectangular form. The rectangle doesn'​t need to be straight as long as all of the corner angles are at 90 degrees relative to each other. This sample shows how to extend the **EditInteractiveOverlay** rectangles as shapes, rather than polygon shapes, by setting special column values. For features (both *Well Known Text* and *Well Known Binary*), the concept of a rectangle is not supported and typically rectangles are handled as polygons. This feature allows users to modify the rectangle but requires that the modification keep a rectangular form. The rectangle doesn'​t need to be straight as long as all of the corner angles are at 90 degrees relative to each other.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details. +Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
- +
-{{https://​github.com/​ThinkGeo/​EditRectanglesSample-ForWinForms/​raw/​master/​Screenshot.gif?​500|Screenshot}}+
  
 +{{https://​gitlab.com/​thinkgeo/​public/​thinkgeo-desktop-maps/​-/​raw/​support/​v10/​samples/​winforms/​EditRectanglesSample/​Screenshot.gif?​500|Screenshot}}
  
-[[https://github.com/ThinkGeo/EditRectanglesSample-ForWinForms| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​EditRectanglesSample?​ref_type=heads| View this sample on Gitlab]]
  
 ==== Create Inner Ring Sample for WinForms ==== ==== Create Inner Ring Sample for WinForms ====
Line 420: Line 390:
 To use this app, you need to track a polygon, double click to end it, and it will create an inner ring based on the unioned result of the polygons that are completely within the tracked polygon. You can look at the **TrackEnded** event handler to see all the different operations that are taking place for that task. To use this app, you need to track a polygon, double click to end it, and it will create an inner ring based on the unioned result of the polygons that are completely within the tracked polygon. You can look at the **TrackEnded** event handler to see all the different operations that are taking place for that task.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/CreateInnerRingSample-ForWinForms/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​CreateInnerRingSample/​Screenshot.gif?​500|Screenshot}}
  
 +[[https://​gitlab.com/​thinkgeo/​public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​CreateInnerRingSample?​ref_type=heads| View this sample on Gitlab]]
  
-[[https://​github.com/​ThinkGeo/​CreateInnerRingSample-ForWinForms| View this sample on Github]] +==== Routing ​Index Generator ​Sample for WinForms ====
- +
-==== Routing Sample for WinForms ==== +
  
 The Map Suite Routing Index Generator is a utility that will allow you to generate routing index files (“.rtg” and “.rtx”) from World Streets .sqlite database. These routing index files will be used by the Map Suite Routing Extension in order to calculate routes and driving directions. This utility allows you to specify things that one-way road information,​ as well as configuring the road speed and type of routes you would like to calculate. It is easily extendable to allow you to add code to deal with other routing situations. The Map Suite Routing Index Generator is a utility that will allow you to generate routing index files (“.rtg” and “.rtx”) from World Streets .sqlite database. These routing index files will be used by the Map Suite Routing Extension in order to calculate routes and driving directions. This utility allows you to specify things that one-way road information,​ as well as configuring the road speed and type of routes you would like to calculate. It is easily extendable to allow you to add code to deal with other routing situations.
  
-{{https://github.com/ThinkGeo/RoutingIndexGeneratorSample-ForWinForms/raw/master/​Screenshot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​RoutingIndexGenerator/​Screenshot.png?​500|Screenshot}}
  
- +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​RoutingIndexGenerator?​ref_type=heads| View this sample on Gitlab]]
-[[https://github.com/ThinkGeo/RoutingIndexGeneratorSample-ForWinForms| View this sample on Github]]+
  
 ==== Jpeg2000 Sample for WinForms ==== ==== Jpeg2000 Sample for WinForms ====
Line 441: Line 408:
 The Jpeg2000 Sample template represents a .JP2 (JPEG2000) image type to be drawn on the map. The Jpeg2000 Sample template represents a .JP2 (JPEG2000) image type to be drawn on the map.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://raw.githubusercontent.com/ThinkGeo/Jpeg2000Sample-ForWinForms/master/​ScreenShot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/-/​raw/​support/​v10/​samples/​winforms/​Jpeg2000Sample/​ScreenShot.png?​500|Screenshot}}
  
- +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​Jpeg2000Sample?​ref_type=heads| View this sample on Gitlab]]
-[[https://github.com/ThinkGeo/Jpeg2000Sample-ForWinForms| View this sample on Github]]+
  
 ==== Graphic Logo Adornment Sample for WinForms ==== ==== Graphic Logo Adornment Sample for WinForms ====
- 
  
 This sample shows how you can display your logo on the map using an AdornmentLayer. The advantage of using an Adornment is that the graphic stays in place and doesn'​t move as you pan your map. The sample should work for various kinds of logos and allow you to change the position using the AdornmentLayer'​s properties. This sample shows how you can display your logo on the map using an AdornmentLayer. The advantage of using an Adornment is that the graphic stays in place and doesn'​t move as you pan your map. The sample should work for various kinds of logos and allow you to change the position using the AdornmentLayer'​s properties.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/GraphicLogoAdornmentSample-ForWinForms/raw/master/​Screenshot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​GraphicLogoAdornments/​Screenshot.png?​500|Screenshot}}
  
- +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​GraphicLogoAdornments?​ref_type=heads| View this sample on Gitlab]]
-[[https://github.com/ThinkGeo/GraphicLogoAdornmentSample-ForWinForms| View this sample on Github]]+
  
 ==== Nldas Ascii Grid Layer Sample for WinFoms ==== ==== Nldas Ascii Grid Layer Sample for WinFoms ====
  
 +This WinForms project demonstrates how you can create a North American Land Data Assimilation System (NLDAS) grid layer. In this sample, you can find what NLDAS grid cells are fully contained in a given Shape file and what cells are partially contained. For each partially contained cell we can calculate what percent of the cell area is contained within the ShapeFile. Please refer to [[https://​ldas.gsfc.nasa.gov/​nldas/​NLDASspecs.php|NLDAS grid]] for details.
  
-This WinForms project demonstrates how you can create a North American Land Data Assimilation System (NLDAS) grid layer. In this sample, you can find what NLDAS grid cells are fully contained in a given Shape file and what cells are partially contained. For each partially contained cell we can calculate what percent of the cell area is contained within the ShapeFile. ​Please refer to [NLDAS grid](https://​ldas.gsfc.nasa.gov/​nldas/​NLDASspecs.php) for details. +Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] for the details.
- +
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms) for the details. +
- +
-{{https://​github.com/​ThinkGeo/​NLDASAnalysisSample-ForWinForms/​raw/​master/​Screenshot.png?​500|Screenshot}} +
- +
- +
-[[https://​github.com/​ThinkGeo/​NLDASAnalysisSample-ForWinForms| View this sample on Github]] +
- +
-==== Drag Icon Sample for WinForms ==== +
- +
- +
-In today’s sample, we show how to drag icons representing vehicle on the map. This is a handy feature if you want to give your users the ability to drag and drop some non stationary features such as vehicles. You can see that to accomplish this functionality,​ you can use EditInteractiveOverlay as it already has all the necessary logic for dragging purposes. Look at the code to see how to set up that overlay to have the expected behavior. +
- +
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms) for the details. +
- +
-{{https://​github.com/​ThinkGeo/​DragIconSample-ForWinForms/​raw/​master/​Screenshot.gif?​500|Screenshot}} +
- +
- +
-[[https://​github.com/​ThinkGeo/​DragIconSample-ForWinForms| View this sample on Github]] +
- +
-==== Track Overlay With Esc Sample for WinForms ==== +
- +
-This project shows how to implement aborting a trackshape with Esc key as you could do it in MapSuite 2.x. +
- +
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms) ​for the details. +
- +
-{{https://​github.com/​ThinkGeo/​TrackOverlayWithEscSample-ForWinForms/​raw/​master/​ScreenShot.png?​500|Screenshot}} +
- +
- +
-[[https://​github.com/​ThinkGeo/​TrackOverlayWithEscSample-ForWinForms| View this sample on Github]] +
- +
-==== Snap To Layer Sample for WinForms ==== +
- +
- +
-This project shows how you can apply snapping to an EditInteractiveOverlay. There are many aspects to snapping. Previously, we showed a project with the mouse pointer snapping to the closest vertex of an editable polygon. Today, we show the technique to drag a control point and have it snap to the closest vertex of a layer if within tolerance. The tolerance can be set in world (meter, feet etc) or screen (pixels) coordinates. Notice that we are also using the technique showed in the previous project “Dragged Point Style”. +
- +
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms) for the details. +
- +
-{{https://​github.com/​ThinkGeo/​SnapToLayerSample-ForWinForms/​raw/​master/​Screenshot.gif?​500|Screenshot}}+
  
 +{{https://​gitlab.com/​thinkgeo/​public/​thinkgeo-desktop-maps/​-/​raw/​support/​v10/​samples/​winforms/​NLDASAnalysisSample/​Screenshot.png?​500|Screenshot}}
  
-[[https://github.com/ThinkGeo/SnapToLayerSample-ForWinForms| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​NLDASAnalysisSample?​ref_type=heads| View this sample on Gitlab]]
  
 ==== Multiple Labels Sample for WinForms ==== ==== Multiple Labels Sample for WinForms ====
  
 +This sample shows how you can display multiple labels for a given point or feature. You can do this by setting a single **TextStyle** or multiple **TextStyles**. If you use a single **TextStyle**,​ you can simply use a pattern like "​[ColumnName1][ColumnName2]..."​ and when Map Suite displays the text it will combine the values of the columns in your pattern. If you use a different styling method, you will need to manually control the offset of each piece of text to avoid overlapping. ​             ​
  
-This sample shows how you can display multiple labels for a given point or feature. You can do this by setting a single **TextStyle** or multiple **TextStyles**. If you use a single **TextStyle**,​ you can simply use a pattern like "​[ColumnName1][ColumnName2]..."​ and when Map Suite displays the text it will combine the values of the columns in your pattern. If you use a different styling method, you will need to manually control the offset of each piece of text to avoid overlapping. +Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
-               +
- +
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details. +
- +
-{{https://​github.com/​ThinkGeo/​MultipleLabelsSample-ForWinForms/​raw/​master/​Screenshot.gif?​500|Screenshot}}+
  
 +{{https://​gitlab.com/​thinkgeo/​public/​thinkgeo-desktop-maps/​-/​raw/​support/​v10/​samples/​winforms/​MultiplelabelsSample/​Screenshot.gif?​500|Screenshot}}
  
-[[https://github.com/ThinkGeo/MultipleLabelsSample-ForWinForms| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​MultiplelabelsSample?​ref_type=heads| View this sample on Gitlab]]
  
 ==== Distance Query On Projected Layers Sample for WinForms ==== ==== Distance Query On Projected Layers Sample for WinForms ====
Line 524: Line 448:
 This sample shows how to use the method GetFeaturesWithDistanceOf when the data is projected. We just input the unit which is projected to, do not need to mind what the real unit is for the internal data before projection. ​ It works fine with Map Suite Assemblies 4.5.54.0 or later. This sample shows how to use the method GetFeaturesWithDistanceOf when the data is projected. We just input the unit which is projected to, do not need to mind what the real unit is for the internal data before projection. ​ It works fine with Map Suite Assemblies 4.5.54.0 or later.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/DistanceQueryOnProjectedLayersSample-ForWinForms/raw/master/​ScreenShot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​DistanceQueryOnProjectionLayersSample/​ScreenShot.png?​500|Screenshot}}
  
- +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​DistanceQueryOnProjectionLayersSample?​ref_type=heads| View this sample on Gitlab]]
-[[https://github.com/ThinkGeo/DistanceQueryOnProjectedLayersSample-ForWinForms| View this sample on Github]]+
  
 ==== Ecw Sample for WinForms ==== ==== Ecw Sample for WinForms ====
Line 538: Line 461:
 The images can be accessed very quickly at a variety of scales. It is very popular in the GIS community. The images can be accessed very quickly at a variety of scales. It is very popular in the GIS community.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://raw.githubusercontent.com/ThinkGeo/EcwSample-ForWinForms/master/​ScreenShot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/-/​raw/​support/​v10/​samples/​winforms/​EcwSample/​ScreenShot.png?​500|Screenshot}}
  
- +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​EcwSample?​ref_type=heads| View this sample on Gitlab]]
-[[https://github.com/ThinkGeo/EcwSample-ForWinForms| View this sample on Github]]+
  
 ==== Site Selection Sample for WinForms ==== ==== Site Selection Sample for WinForms ====
- 
  
 The Site Selection sample template allows you to view, understand, interpret, and visualize spatial data in many ways that reveal relationships,​ patterns, and trends. In the example illustrated,​ the user can apply the features of GIS to analyze spatial data to efficiently choose a suitable site for a new retail outlet. The Site Selection sample template allows you to view, understand, interpret, and visualize spatial data in many ways that reveal relationships,​ patterns, and trends. In the example illustrated,​ the user can apply the features of GIS to analyze spatial data to efficiently choose a suitable site for a new retail outlet.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/SiteSelectionSample-ForWinForms/raw/master/​ScreenShot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​SiteSelectionSample/​ScreenShot.png?​500|Screenshot}}
  
- +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​SiteSelectionSample?​ref_type=heads| View this sample on Gitlab]]
-[[https://github.com/ThinkGeo/SiteSelectionSample-ForWinForms| View this sample on Github]]+
  
 ==== Select At Track Shape Sample for WinForms ==== ==== Select At Track Shape Sample for WinForms ====
- 
  
 In today’s Desktop project, we combine the skills we learned in the samples “Spatial Query A Feature Layer” and “Track And Edit Shapes”. You can see how we use the event TrackEnded to get the RectangleShape from the tracked shape of TrackOverlay to do the spatial query. In this example, we use a Rectangle but you could also very easily use another shape such as Polygon, Circle, etc. In today’s Desktop project, we combine the skills we learned in the samples “Spatial Query A Feature Layer” and “Track And Edit Shapes”. You can see how we use the event TrackEnded to get the RectangleShape from the tracked shape of TrackOverlay to do the spatial query. In this example, we use a Rectangle but you could also very easily use another shape such as Polygon, Circle, etc.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/SelectAtTrackShapeSample-ForWinForms/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​SelectAtTrackShapes/​Screenshot.gif?​500|Screenshot}}
  
- +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​SelectAtTrackShapes?​ref_type=heads| View this sample on Gitlab]]
-[[https://github.com/ThinkGeo/SelectAtTrackShapeSample-ForWinForms| View this sample on Github]]+
  
 ==== Drag Point Advanced Sample for WinForms ==== ==== Drag Point Advanced Sample for WinForms ====
Line 575: Line 493:
 Thanks to the protected override functions such as **KeyDownCore**,​ **KeyUpCore**,​ **MouseUpCore** and **DrawCore**,​ these functionalities can easily be implemented by inheriting from **EditInteractiveOverlay**. Thanks to the protected override functions such as **KeyDownCore**,​ **KeyUpCore**,​ **MouseUpCore** and **DrawCore**,​ these functionalities can easily be implemented by inheriting from **EditInteractiveOverlay**.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://raw.githubusercontent.com/ThinkGeo/DragPointAdvancedSample-ForWinForms/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/-/​raw/​support/​v10/​samples/​winforms/​DragPointAdvancedSample/​Screenshot.gif?​500|Screenshot}}
  
- +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​DragPointAdvancedSample?​ref_type=heads| View this sample on Gitlab]]
-[[https://github.com/ThinkGeo/DragPointAdvancedSample-ForWinForms| View this sample on Github]]+
  
 ==== Drag Point With Label Sample for WinForms ==== ==== Drag Point With Label Sample for WinForms ====
Line 586: Line 503:
 In this project, dedicated to **EditInteractiveOverlay**,​ you will see how easy it is to add some labeling to your dragged control point, showing dynamic information. Here we show how to display the distance from the dragged control point to the closest point of a reference shape. Also, to augment the user experience, the closest point of the reference shape is also shown varying as the control point is dragged around. In this project, dedicated to **EditInteractiveOverlay**,​ you will see how easy it is to add some labeling to your dragged control point, showing dynamic information. Here we show how to display the distance from the dragged control point to the closest point of a reference shape. Also, to augment the user experience, the closest point of the reference shape is also shown varying as the control point is dragged around.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms) for the details. +Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] for the details.
- +
-{{https://​github.com/​ThinkGeo/​DragPointWithLabelSample-ForWinForms/​raw/​master/​Screenshot.gif?​500|Screenshot}} +
- +
- +
-[[https://​github.com/​ThinkGeo/​DragPointWithLabelSample-ForWinForms| View this sample on Github]] +
- +
-==== Create Inner Ring Sample for WinForms ==== +
- +
-In this Desktop project we create inner rings for a polygon, based on another polygon, using the **GetDifference** method. We also learn how to perform a Union on a collection of polygons, and how to set up the **TrackEnded** event.  +
- +
-To use this app, you need to track a polygon, double click to end it, and it will create an inner ring based on the unioned result of the polygons that are completely within the tracked polygon. You can look at the **TrackEnded** event handler to see all the different operations that are taking place for that task. +
- +
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms) ​for the details. +
- +
-{{https://​github.com/​ThinkGeo/​CreateInnerRingSample-ForWinForms/​raw/​master/​Screenshot.gif?​500|Screenshot}} +
- +
- +
-[[https://​github.com/​ThinkGeo/​CreateInnerRingSample-ForWinForms| View this sample on Github]] +
- +
-==== Routing Sample for WinForms ==== +
- +
- +
-The Map Suite Routing Index Generator is a utility that will allow you to generate routing index files (“.rtg” and “.rtx”) from World Streets .sqlite database. These routing index files will be used by the Map Suite Routing Extension in order to calculate routes and driving directions. This utility allows you to specify things that one-way road information,​ as well as configuring the road speed and type of routes you would like to calculate. It is easily extendable to allow you to add code to deal with other routing situations. +
- +
-{{https://​github.com/​ThinkGeo/​RoutingIndexGeneratorSample-ForWinForms/​raw/​master/​Screenshot.png?​500|Screenshot}}+
  
 +{{https://​gitlab.com/​thinkgeo/​public/​thinkgeo-desktop-maps/​-/​raw/​support/​v10/​samples/​winforms/​DragPointWithLabelSample/​Screenshot.gif?​500|Screenshot}}
  
-[[https://github.com/ThinkGeo/RoutingIndexGeneratorSample-ForWinForms| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​DragPointWithLabelSample?​ref_type=heads| View this sample on Gitlab]]
  
 ==== Mr Sid Sample for WinForms ==== ==== Mr Sid Sample for WinForms ====
Line 622: Line 515:
 This sample includes a map with MrSID as base overlay, the MrSID shows the image data of the world range. This sample includes a map with MrSID as base overlay, the MrSID shows the image data of the world range.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://raw.githubusercontent.com/ThinkGeo/MrSidSample-ForWinForms/master/​ScreenShot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/-/​raw/​support/​v10/​samples/​winforms/​MrSidSample/​ScreenShot.png?​500|Screenshot}}
  
 **Known issue:** The screenshot is taken under Linux, but it not well tested, maybe sometimes runs to exception. ​ **Known issue:** The screenshot is taken under Linux, but it not well tested, maybe sometimes runs to exception. ​
  
- +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​MrSidSample?​ref_type=heads| View this sample on Gitlab]]
-[[https://github.com/ThinkGeo/MrSidSample-ForWinForms| View this sample on Github]]+
  
 ==== Drag Point Sample for WinForms ==== ==== Drag Point Sample for WinForms ====
Line 635: Line 527:
 In this project, we focus our attention on how to control the style of the control points. You will see how to override the **DrawCore** function of **EditInteractiveOverlay**. ​ In this project, we focus our attention on how to control the style of the control points. You will see how to override the **DrawCore** function of **EditInteractiveOverlay**. ​
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/DragPointSample-ForWinForms/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​DragPointSample/​Screenshot.gif?​500|Screenshot}}
  
- +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​DragPointSample?​ref_type=heads| View this sample on Gitlab]]
-[[https://github.com/ThinkGeo/DragPointSample-ForWinForms| View this sample on Github]]+
  
 ==== Cluster Point Sample for WinForms ==== ==== Cluster Point Sample for WinForms ====
- 
  
 ClusterPointStyle is integrated into Map Suite'​s styles. In this project you will see how to use the ClusterPointStyle for clustering various features into one. Sometimes, the map may have too many features which are stacked on top of each other making the map illegible at higher zoom levels. Clustering is a useful technique as it allows you to group together various features into one labeled symbol with the count of all the features. ​ ClusterPointStyle is integrated into Map Suite'​s styles. In this project you will see how to use the ClusterPointStyle for clustering various features into one. Sometimes, the map may have too many features which are stacked on top of each other making the map illegible at higher zoom levels. Clustering is a useful technique as it allows you to group together various features into one labeled symbol with the count of all the features. ​
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details. +Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
- +
-{{https://​github.com/​ThinkGeo/​ClusterPointSample-ForWinForms/​raw/​master/​Screenshot.png?​500|Screenshot}}+
  
 +{{https://​gitlab.com/​thinkgeo/​public/​thinkgeo-desktop-maps/​-/​raw/​support/​v10/​samples/​winforms/​ClusterPointSample/​Screenshot.png?​500|Screenshot}}
  
-[[https://github.com/ThinkGeo/ClusterPointSample-ForWinForms| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​ClusterPointSample?​ref_type=heads| View this sample on Gitlab]]
  
 ==== Heat Map Sample for WinForms ==== ==== Heat Map Sample for WinForms ====
- 
  
 Heat maps is a technique increasingly used in various fields such in biology and other fields. See http://​en.wikipedia.org/​wiki/​Heat_map. They are also used for displaying areas of webs page most frequently scanned by users. http://​csscreme.com/​heat-maps/​. Heat maps is a technique increasingly used in various fields such in biology and other fields. See http://​en.wikipedia.org/​wiki/​Heat_map. They are also used for displaying areas of webs page most frequently scanned by users. http://​csscreme.com/​heat-maps/​.
Line 661: Line 549:
 At ThinkGeo, we are taking this concept to GIS and applying it to geographic maps. Heat maps are a great way to give the users a visually compelling representation of the distribution and intensity of geographic phenomenon. ​ At ThinkGeo, we are taking this concept to GIS and applying it to geographic maps. Heat maps are a great way to give the users a visually compelling representation of the distribution and intensity of geographic phenomenon. ​
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details. +Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
- +
-{{https://​github.com/​ThinkGeo/​HeatMapSample-ForWinForms/​raw/​master/​ScreenShot.png?​500|Screenshot}}+
  
 +{{https://​gitlab.com/​thinkgeo/​public/​thinkgeo-desktop-maps/​-/​raw/​support/​v10/​samples/​winforms/​HeatMapSample/​ScreenShot.png?​500|Screenshot}}
  
-[[https://github.com/ThinkGeo/HeatMapSample-ForWinForms| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​HeatMapSample?​ref_type=heads| View this sample on Gitlab]]
  
 ==== ThinkGeo Cloud Maps Sample for WinForms ==== ==== ThinkGeo Cloud Maps Sample for WinForms ====
- 
  
 This sample demonstrates how you can display ThinkGeo Cloud Maps in your Map Suite GIS applications. It will show you how to use the XYZFileBitmapTileCache to improve the performance of map rendering. ThinkGeoCloudMapsOverlay uses the ThinkGeo Cloud XYZ Tile Server as raster map tile server. It supports 5 different map styles: ​ This sample demonstrates how you can display ThinkGeo Cloud Maps in your Map Suite GIS applications. It will show you how to use the XYZFileBitmapTileCache to improve the performance of map rendering. ThinkGeoCloudMapsOverlay uses the ThinkGeo Cloud XYZ Tile Server as raster map tile server. It supports 5 different map styles: ​
Line 680: Line 566:
 ThinkGeo Cloud Maps support would work in all of the Map Suite controls such as Wpf, Web, MVC, WebApi, Android and iOS. ThinkGeo Cloud Maps support would work in all of the Map Suite controls such as Wpf, Web, MVC, WebApi, Android and iOS.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/ThinkGeoCloudMapsSample-ForWinForms/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​CloudMapSample/​Screenshot.gif?​500|Screenshot}}
  
- +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​CloudMapSample?​ref_type=heads| View this sample on Gitlab]]
-[[https://github.com/ThinkGeo/ThinkGeoCloudMapsSample-ForWinForms| View this sample on Github]]+
  
 ==== Tracked Shapes To WKT Sample for WinForms ==== ==== Tracked Shapes To WKT Sample for WinForms ====
- 
  
 In today’s project, we show how to save a tracked shape to WKT (Well Known Text). You will notice that we make the distinction between the shape being tracked and the finished tracked shape thanks to two different events of TrackOverlay,​ TrackEnding and TrackEnded. In today’s project, we show how to save a tracked shape to WKT (Well Known Text). You will notice that we make the distinction between the shape being tracked and the finished tracked shape thanks to two different events of TrackOverlay,​ TrackEnding and TrackEnded.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/TrackedShapesToWKTSample-ForWinForms/raw/master/​Screenshot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​TrackedShapesToWKT/​Screenshot.png?​500|Screenshot}}
  
- +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​TrackedShapesToWKT?​ref_type=heads| View this sample on Gitlab]]
-[[https://github.com/ThinkGeo/TrackedShapesToWKTSample-ForWinForms| View this sample on Github]]+
  
 ==== Bread Crumb Trail Sample for WinForms ==== ==== Bread Crumb Trail Sample for WinForms ====
Line 703: Line 586:
 An early project of the Code Community, “Vehicle Direction”,​ showed how to rotate the icon of a moving vehicle based on the direction. In today’s project, we are going one step further and we are showing how to display dynamically a bread crumb trail as a trailing tail behind the moving vehicle. For this purpose, we are creating a new LineShape with the latest points at every new position. An early project of the Code Community, “Vehicle Direction”,​ showed how to rotate the icon of a moving vehicle based on the direction. In today’s project, we are going one step further and we are showing how to display dynamically a bread crumb trail as a trailing tail behind the moving vehicle. For this purpose, we are creating a new LineShape with the latest points at every new position.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/BreadCrumbTrailSample-ForWinForms/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​BreadCrumbTrailSample/​Screenshot.gif?​500|Screenshot}}
  
- +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​BreadCrumbTrailSample?​ref_type=heads| View this sample on Gitlab]]
-[[https://github.com/ThinkGeo/BreadCrumbTrailSample-ForWinForms| View this sample on Github]]+
  
 ==== Dynamic Track Shapes Sample for WinForms ==== ==== Dynamic Track Shapes Sample for WinForms ====
Line 714: Line 596:
 This Desktop project shows how to handle **TrackOverlay** to obtain dynamic information about the shape being tracked. This Desktop project shows how to handle **TrackOverlay** to obtain dynamic information about the shape being tracked.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/DynamicTrackShapesSample-ForWinForms/raw/master/​ScreenShot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​DynamicTrackShapesSample/​ScreenShot.png?​500|Screenshot}}
  
- +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​DynamicTrackShapesSample?​ref_type=heads| View this sample on Gitlab]]
-[[https://github.com/ThinkGeo/DynamicTrackShapesSample-ForWinForms| View this sample on Github]]+
  
 ==== Geocoding Sample for WinForms ==== ==== Geocoding Sample for WinForms ====
  
- +[[http://​wiki.thinkgeo.com/​wiki/​_media/​geocoding_hodoisamples_data.zip|Sample Data Download]]
-[Sample Data Download](http://​wiki.thinkgeo.com/​wiki/​_media/​geocoding_hodoisamples_data.zip)+
  
 The Map Suite Geocoder “How Do I?” solution offers a series of useful how-to examples for using the Map Suite Geocoder component. The bundled solution comes with a small set of sample data from Chicago, IL and demonstrates geocoding, reverse geocoding, batch geocoding, use of fuzzy matching logic, getting the closest street number to a point, and much more. Full source code is included in both C# and VB.NET languages; simply select your preferred language to download the associated solution. The Map Suite Geocoder “How Do I?” solution offers a series of useful how-to examples for using the Map Suite Geocoder component. The bundled solution comes with a small set of sample data from Chicago, IL and demonstrates geocoding, reverse geocoding, batch geocoding, use of fuzzy matching logic, getting the closest street number to a point, and much more. Full source code is included in both C# and VB.NET languages; simply select your preferred language to download the associated solution.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/GeocodingSample-ForWinForms/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​GeocodingSample/​Screenshot.gif?​500|Screenshot}}
  
- +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​GeocodingSample?​ref_type=heads| View this sample on Gitlab]]
-[[https://github.com/ThinkGeo/GeocodingSample-ForWinForms| View this sample on Github]]+
  
 ==== Labeling Based On Size Sample for WinForms ==== ==== Labeling Based On Size Sample for WinForms ====
- 
  
 This project shows some advanced uses of the **ClassBreakStyle** to show how to label countries based on the area. You will notice that we also take advantage of the various zoom level sets for labeling purposes. The result is an eye pleasing labeling of the countries, ​ with the size proportionate to the countries’ area, with more countries'​ labels appearing as you zoom in. This project shows some advanced uses of the **ClassBreakStyle** to show how to label countries based on the area. You will notice that we also take advantage of the various zoom level sets for labeling purposes. The result is an eye pleasing labeling of the countries, ​ with the size proportionate to the countries’ area, with more countries'​ labels appearing as you zoom in.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/LabelingBasedOnSizeSample-ForWinForms/raw/master/​ScreenShot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​LabelingBasedOnSize/​ScreenShot.png?​500|Screenshot}}
  
- +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​LabelingBasedOnSize?​ref_type=heads| View this sample on Gitlab]]
-[[https://github.com/ThinkGeo/LabelingBasedOnSizeSample-ForWinForms| View this sample on Github]]+
  
 ==== Track Zoom In Without Shift Key Sample for WinForms ==== ==== Track Zoom In Without Shift Key Sample for WinForms ====
- 
  
 This project is for DesktopEdition users. In Map Suite 2.x, different modes of the map are offered to the developer to choose what kind of behavior the map has at a mouse action. In Map Suite 3.x, we went away from modes to have a more flexible model using InteracticeOverlay. By default, track zoom in is done by clicking and dragging the mouse on the map while holding the Shift key. This is very convenient but what if you want to offer the users the same experience as with 2.x, where the same mouse action has different behavior such as TrackZoomIn and Pan through the use of modes. This project is for DesktopEdition users. In Map Suite 2.x, different modes of the map are offered to the developer to choose what kind of behavior the map has at a mouse action. In Map Suite 3.x, we went away from modes to have a more flexible model using InteracticeOverlay. By default, track zoom in is done by clicking and dragging the mouse on the map while holding the Shift key. This is very convenient but what if you want to offer the users the same experience as with 2.x, where the same mouse action has different behavior such as TrackZoomIn and Pan through the use of modes.
Line 754: Line 630:
 In this project, we show how to build your own InteractiveOverlay to emulate in Map Suite 3.x the mode behavior 2.x has. In this project, we show how to build your own InteractiveOverlay to emulate in Map Suite 3.x the mode behavior 2.x has.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/TrackZoomInWithoutShiftKeySample-ForWinForms/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​TrackZoomInWithoutShift/​Screenshot.gif?​500|Screenshot}}
  
- +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​TrackZoomInWithoutShift?​ref_type=heads| View this sample on Gitlab]]
-[[https://github.com/ThinkGeo/TrackZoomInWithoutShiftKeySample-ForWinForms| View this sample on Github]]+
  
 ==== Centering On Moving Vehicle With Tolerance Sample for WinForms ==== ==== Centering On Moving Vehicle With Tolerance Sample for WinForms ====
Line 765: Line 640:
 In the previous project, we showed how to center the map on a moving vehicle. While this is great, it has the disadvantage of having to refresh the map each time the vehicle changes position. In this project, we respond to this inconvenience by using a set tolerance used for determining if the map needs to be refreshed or not. If the vehicle moves within a rectangle of a certain size located in the center of the current extent of the map, the map will not refresh and only the moving vehicle will. If it moves outside the tolerance area, the entire map will be refreshed and the tolerance recalculated. In the previous project, we showed how to center the map on a moving vehicle. While this is great, it has the disadvantage of having to refresh the map each time the vehicle changes position. In this project, we respond to this inconvenience by using a set tolerance used for determining if the map needs to be refreshed or not. If the vehicle moves within a rectangle of a certain size located in the center of the current extent of the map, the map will not refresh and only the moving vehicle will. If it moves outside the tolerance area, the entire map will be refreshed and the tolerance recalculated.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details. +Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
- +
-{{https://​github.com/​ThinkGeo/​CenteringOnMovingVehicleWithToleranceSample-ForWinForms/​raw/​master/​Screenshot.gif?​500|Screenshot}}+
  
 +{{https://​gitlab.com/​thinkgeo/​public/​thinkgeo-desktop-maps/​-/​raw/​support/​v10/​samples/​winforms/​CenteringOnMovingVehiclesWithTolerance/​Screenshot.gif?​500|Screenshot}}
  
-[[https://github.com/ThinkGeo/CenteringOnMovingVehicleWithToleranceSample-ForWinForms| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​CenteringOnMovingVehiclesWithTolerance?​ref_type=heads| View this sample on Gitlab]]
  
 ==== Native Tab File Support Sample for WinForms ==== ==== Native Tab File Support Sample for WinForms ====
- 
  
 One of the most exciting new features in MapSuite 5.0 is native TAB file support. In the past, the FDO extension was used for displaying TAB files in MapSuite. Now with the new TabFeatureLayer,​ we have a simpler and more stable method of working with TAB files. ​ One of the most exciting new features in MapSuite 5.0 is native TAB file support. In the past, the FDO extension was used for displaying TAB files in MapSuite. Now with the new TabFeatureLayer,​ we have a simpler and more stable method of working with TAB files. ​
Line 779: Line 652:
 This Code Community project demonstrates how to load and display a TAB file using the new TabFeatureLayer. The example also allows you to add, edit and delete features from the TAB file. This Code Community project demonstrates how to load and display a TAB file using the new TabFeatureLayer. The example also allows you to add, edit and delete features from the TAB file.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details. +Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
- +
-{{https://​github.com/​ThinkGeo/​NativeTabFileSupportSample-ForWinForms/​raw/​master/​Screenshot.png?​500|Screenshot}}+
  
 +{{https://​gitlab.com/​thinkgeo/​public/​thinkgeo-desktop-maps/​-/​raw/​support/​v10/​samples/​winforms/​NativeTabFilesSupportSample/​Screenshot.png?​500|Screenshot}}
  
-[[https://github.com/ThinkGeo/NativeTabFileSupportSample-ForWinForms| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​NativeTabFilesSupportSample?​ref_type=heads| View this sample on Gitlab]]
  
 ==== Multi Geo Raster Layer Sample for WinForms ==== ==== Multi Geo Raster Layer Sample for WinForms ====
Line 793: Line 665:
 This class show how to do that using JPEG images with its associating JGW world file. It speeds up the loading of a large number of Raster layers by loading and drawing on demand only the files in the current extent. It loads a reference file that contains the bounding box, path and file information for all of the Raster files. We load this information into an in-memory spatial index. When the map requests to draw the layer, we find the Rasters that are in the current extent, create a layer on-the-fly, call their Draw method and then close them. In this way, we load on demand only the files that are in the current extent. This class show how to do that using JPEG images with its associating JGW world file. It speeds up the loading of a large number of Raster layers by loading and drawing on demand only the files in the current extent. It loads a reference file that contains the bounding box, path and file information for all of the Raster files. We load this information into an in-memory spatial index. When the map requests to draw the layer, we find the Rasters that are in the current extent, create a layer on-the-fly, call their Draw method and then close them. In this way, we load on demand only the files that are in the current extent.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/MultiGeoRasterLayerSample-ForWinForms/raw/master/​Screenshot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​MultiGeoRasterLayerSample/​Screenshot.png?​500|Screenshot}}
  
- +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​MultiGeoRasterLayerSample?​ref_type=heads| View this sample on Gitlab]]
-[[https://github.com/ThinkGeo/MultiGeoRasterLayerSample-ForWinForms| View this sample on Github]]+
  
 ==== Get Features Clicked On Sample for WinForms ==== ==== Get Features Clicked On Sample for WinForms ====
Line 804: Line 675:
 The purpose of this project is to show the technique for finding the feature the user clicked on. To give the user the expected behavior, a buffer in screen coordinates needs to be set so that the feature gets selected within a constant distance in screen coordinates to where the user clicked, regardless of the zoom level. ​ The purpose of this project is to show the technique for finding the feature the user clicked on. To give the user the expected behavior, a buffer in screen coordinates needs to be set so that the feature gets selected within a constant distance in screen coordinates to where the user clicked, regardless of the zoom level. ​
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/GetFeaturesClickedOnSample-ForWinForms/raw/master/​ScreenShot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​GetFeaturesClickedOnSample/​ScreenShot.png?​500|Screenshot}}
  
- +[[https://gitlab.com/​thinkgeo/​public/thinkgeo-desktop-maps/-/tree/support/v10/samples/winforms/GetFeaturesClickedOnSample?ref_type=heads| View this sample on Gitlab]]
-[[https://github.com/ThinkGeo/​GetFeaturesClickedOnSample-ForWinForms| View this sample on Github]] +
- +
-==== Native Tab File Support Sample for WinForms ==== +
- +
- +
-One of the most exciting new features in MapSuite 5.0 is native TAB file support. In the past, the FDO extension was used for displaying TAB files in MapSuite. Now with the new TabFeatureLayer,​ we have a simpler and more stable method of working with TAB files.  +
- +
-This Code Community project demonstrates how to load and display a TAB file using the new TabFeatureLayer. The example also allows you to add, edit and delete features from the TAB file. +
- +
-Please refer to [Wiki](http://​wiki.thinkgeo.com/wiki/map_suite_desktop_for_winforms) for the details. +
- +
-{{https://​github.com/​ThinkGeo/​NativeTabFileSupportSample-ForWinForms/​raw/​master/​Screenshot.png?​500|Screenshot}} +
- +
- +
-[[https://​github.com/​ThinkGeo/​NativeTabFileSupportSample-ForWinForms| View this sample on Github]] +
- +
-==== Centering On Moving Vehicle With Tolerance Sample for WinForms ==== +
- +
-In the previous project, we showed how to center the map on a moving vehicle. While this is great, it has the disadvantage of having to refresh the map each time the vehicle changes position. In this project, we respond to this inconvenience by using a set tolerance used for determining if the map needs to be refreshed or not. If the vehicle moves within a rectangle of a certain size located in the center of the current extent of the map, the map will not refresh and only the moving vehicle will. If it moves outside the tolerance area, the entire map will be refreshed and the tolerance recalculated. +
- +
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms) for the details. +
- +
-{{https://​github.com/​ThinkGeo/​CenteringOnMovingVehicleWithToleranceSample-ForWinForms/​raw/​master/​Screenshot.gif?​500|Screenshot}} +
- +
- +
-[[https://​github.com/​ThinkGeo/​CenteringOnMovingVehicleWithToleranceSample-ForWinForms| View this sample on Github]] +
- +
-==== Bread Crumb Trail Sample for WinForms ==== +
- +
-An early project of the Code Community, “Vehicle Direction”,​ showed how to rotate the icon of a moving vehicle based on the direction. In today’s project, we are going one step further and we are showing how to display dynamically a bread crumb trail as a trailing tail behind the moving vehicle. For this purpose, we are creating a new LineShape with the latest points at every new position. +
- +
-Please refer to [Wiki](http:​//​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms) for the details. +
- +
-{{https://​github.com/​ThinkGeo/​BreadCrumbTrailSample-ForWinForms/raw/master/Screenshot.gif?​500|Screenshot}} +
- +
- +
-[[https://github.com/ThinkGeo/​BreadCrumbTrailSample-ForWinForms| View this sample on Github]] +
- +
-==== Geocoding Sample for WinForms ==== +
- +
- +
-[Sample Data Download](http://​wiki.thinkgeo.com/​wiki/​_media/​geocoding_hodoisamples_data.zip) +
- +
-The Map Suite Geocoder “How Do I?” solution offers a series of useful how-to examples for using the Map Suite Geocoder component. The bundled solution comes with a small set of sample data from Chicago, IL and demonstrates geocoding, reverse geocoding, batch geocoding, use of fuzzy matching logic, getting the closest street number to a point, and much more. Full source code is included in both C# and VB.NET languages; simply select your preferred language to download the associated solution. +
- +
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms) for the details. +
- +
-{{https://​github.com/​ThinkGeo/​GeocodingSample-ForWinForms/​raw/​master/​Screenshot.gif?​500|Screenshot}} +
- +
- +
-[[https://​github.com/​ThinkGeo/​GeocodingSample-ForWinForms| View this sample on Github]] +
- +
-==== Labeling Based On Size Sample for WinForms ==== +
- +
- +
-This project shows some advanced uses of the **ClassBreakStyle** to show how to label countries based on the area. You will notice that we also take advantage of the various zoom level sets for labeling purposes. The result is an eye pleasing labeling of the countries, ​ with the size proportionate to the countries’ area, with more countries'​ labels appearing as you zoom in. +
- +
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms) for the details. +
- +
-{{https://​github.com/​ThinkGeo/​LabelingBasedOnSizeSample-ForWinForms/​raw/​master/​ScreenShot.png?​500|Screenshot}} +
- +
- +
-[[https://​github.com/​ThinkGeo/​LabelingBasedOnSizeSample-ForWinForms| View this sample on Github]] +
- +
-==== Track Zoom In Without Shift Key Sample for WinForms ==== +
- +
- +
-This project is for DesktopEdition users. In Map Suite 2.x, different modes of the map are offered to the developer to choose what kind of behavior the map has at a mouse action. In Map Suite 3.x, we went away from modes to have a more flexible model using InteracticeOverlay. By default, track zoom in is done by clicking and dragging the mouse on the map while holding the Shift key. This is very convenient but what if you want to offer the users the same experience as with 2.x, where the same mouse action has different behavior such as TrackZoomIn and Pan through the use of modes. +
- +
-In this project, we show how to build your own InteractiveOverlay to emulate in Map Suite 3.x the mode behavior 2.x has. +
- +
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms) for the details. +
- +
-{{https://​github.com/​ThinkGeo/​TrackZoomInWithoutShiftKeySample-ForWinForms/​raw/​master/​Screenshot.gif?​500|Screenshot}} +
- +
- +
-[[https://​github.com/​ThinkGeo/​TrackZoomInWithoutShiftKeySample-ForWinForms| View this sample on Github]] +
- +
-==== Dynamic Track Shapes Sample for WinForms ==== +
- +
-This Desktop project shows how to handle **TrackOverlay** to obtain dynamic information about the shape being tracked. +
- +
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms) for the details. +
- +
-{{https://​github.com/​ThinkGeo/​DynamicTrackShapesSample-ForWinForms/​raw/​master/​ScreenShot.png?​500|Screenshot}} +
- +
- +
-[[https://​github.com/​ThinkGeo/​DynamicTrackShapesSample-ForWinForms| View this sample on Github]]+
  
 ==== ThinkGeo Cloud Maps Sample for Android ==== ==== ThinkGeo Cloud Maps Sample for Android ====
- 
  
 This sample demonstrates how you can display ThinkGeo Cloud Maps in your Map Suite GIS applications. It will show you how to use the XYZFileBitmapTileCache to improve the performance of map rendering. ThinkGeoCloudMapsOverlay uses the ThinkGeo Cloud XYZ Tile Server as raster map tile server. It supports 5 different map styles: ​ This sample demonstrates how you can display ThinkGeo Cloud Maps in your Map Suite GIS applications. It will show you how to use the XYZFileBitmapTileCache to improve the performance of map rendering. ThinkGeoCloudMapsOverlay uses the ThinkGeo Cloud XYZ Tile Server as raster map tile server. It supports 5 different map styles: ​
Line 937: Line 719:
  
 ==== Select And Drag Feature Sample for Wpf ==== ==== Select And Drag Feature Sample for Wpf ====
- 
  
 In this Wpf project, we show how to select a feature from a shapefile based on a column value using the GetFeaturesByColumnValue. We also show to setup the EditOverlay to give the user the ability to drag the selected feature. In this project, you can also see how to get the world coordinates at the mouse move event. Notice that the code for doing this is quite different in Wpf compared to the winforms edition. In this Wpf project, we show how to select a feature from a shapefile based on a column value using the GetFeaturesByColumnValue. We also show to setup the EditOverlay to give the user the ability to drag the selected feature. In this project, you can also see how to get the world coordinates at the mouse move event. Notice that the code for doing this is quite different in Wpf compared to the winforms edition.
Line 985: Line 766:
  
 ==== Preset Vertex To Tracked Polygon Sample for WinForms ==== ==== Preset Vertex To Tracked Polygon Sample for WinForms ====
- 
  
 This Desktop sample shows how to extend TrackInteractiveOverlay to give the ability to add a preset vertex to a track polygon while tracking. This can be handy in the situations where you need to add a vertex outside the current extent of the map or when you need to add a vertex with precise X and Y values. In the custom PresetVertexTrackInteractiveOverlay,​ you can see how the protected function GetTrackingShapeCore was overridden to implement this tracking behavior of the polygon. This Desktop sample shows how to extend TrackInteractiveOverlay to give the ability to add a preset vertex to a track polygon while tracking. This can be handy in the situations where you need to add a vertex outside the current extent of the map or when you need to add a vertex with precise X and Y values. In the custom PresetVertexTrackInteractiveOverlay,​ you can see how the protected function GetTrackingShapeCore was overridden to implement this tracking behavior of the polygon.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/PresetVertexToTrackedPolygonSample-ForWinForms/raw/master/​Screenshot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​PresetVertexToTrackedPolygon/​Screenshot.png?​500|Screenshot}}
  
- +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​PresetVertexToTrackedPolygon?​ref_type=heads| View this sample on Gitlab]]
-[[https://github.com/ThinkGeo/PresetVertexToTrackedPolygonSample-ForWinForms| View this sample on Github]]+
  
 ==== Us Earthquake Statistics Sample for WinForms ==== ==== Us Earthquake Statistics Sample for WinForms ====
- 
  
 The Earthquake Statistics sample template is a statistical report system for earthquakes that have occurred in the past few years across the United States. It can help you generate infographics and analyze the severely afflicted areas, or used as supporting evidence when recommending measures to minimize the damage in future quakes. The Earthquake Statistics sample template is a statistical report system for earthquakes that have occurred in the past few years across the United States. It can help you generate infographics and analyze the severely afflicted areas, or used as supporting evidence when recommending measures to minimize the damage in future quakes.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/UsEarthquakeStatisticsSample-ForWinForms/raw/master/​ScreenShot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​UsEarthquakeStatistics/​ScreenShot.png?​500|Screenshot}}
  
- +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​UsEarthquakeStatistics?​ref_type=heads| View this sample on Gitlab]]
-[[https://github.com/ThinkGeo/UsEarthquakeStatisticsSample-ForWinForms| View this sample on Github]]+
  
 ==== How Do I Sample for WinForms ==== ==== How Do I Sample for WinForms ====
- 
  
 The "How Do I?" samples collection is a comprehensive set containing dozens of interactive samples. The "How Do I?" samples collection is a comprehensive set containing dozens of interactive samples.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/HowDoISample-ForWinForms/raw/master/​Screenshot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​HowDoI/​Screenshot.png?​500|Screenshot}}
  
- +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​HowDoI?​ref_type=heads| View this sample on Gitlab]]
-[[https://github.com/ThinkGeo/HowDoISample-ForWinForms| View this sample on Github]]+
  
 ==== Kml Sample for WinForms ==== ==== Kml Sample for WinForms ====
Line 1024: Line 799:
 KML is the file format for displaying geographic data in a Google Earth browser such as Google Earth. Now, you can also display such a file on a Map Suite control. Thanks to its flexible architecture to extent to new file formats, in today’s project we wrote the logic for supporting KML. Look at the class KmlfeatureSource inheriting from FeatureSource to see how the logic for reading FML files was implemented. As well, you can see the class KmlStyle inheriting from Style for the drawing logic. And feel free to modify and improve those classes with your own implementations. KML is the file format for displaying geographic data in a Google Earth browser such as Google Earth. Now, you can also display such a file on a Map Suite control. Thanks to its flexible architecture to extent to new file formats, in today’s project we wrote the logic for supporting KML. Look at the class KmlfeatureSource inheriting from FeatureSource to see how the logic for reading FML files was implemented. As well, you can see the class KmlStyle inheriting from Style for the drawing logic. And feel free to modify and improve those classes with your own implementations.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/KmlSample-ForWinForms/raw/master/​ScreenShot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​KmlSample/​ScreenShot.png?​500|Screenshot}}
  
- +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​KmlSample?​ref_type=heads| View this sample on Gitlab]]
-[[https://github.com/ThinkGeo/KmlSample-ForWinForms| View this sample on Github]]+
  
 ==== Intersect Line Sample for WinForms ==== ==== Intersect Line Sample for WinForms ====
Line 1035: Line 809:
 In today’s project, we show how to split a line based on an intersecting line. To accomplish this task, basically two steps are needed. First, you need to find the crossing point using the GetCrossing function and then you split the line based on the crossing point using the GetLineOnLine function. If you are in the utilities industry working with electric network, gas pipes etc, you will find this project useful. In today’s project, we show how to split a line based on an intersecting line. To accomplish this task, basically two steps are needed. First, you need to find the crossing point using the GetCrossing function and then you split the line based on the crossing point using the GetLineOnLine function. If you are in the utilities industry working with electric network, gas pipes etc, you will find this project useful.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/IntersectLineSample-ForWinForms/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​IntersectLineSample/​Screenshot.gif?​500|Screenshot}}
  
- +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​IntersectLineSample?​ref_type=heads| View this sample on Gitlab]]
-[[https://github.com/ThinkGeo/IntersectLineSample-ForWinForms| View this sample on Github]]+
  
 ==== Dragging Icon Advanced Sample for WinForms ==== ==== Dragging Icon Advanced Sample for WinForms ====
- 
  
 This project is a more complete version of a previous project “Dragging Icon”. In addition to showing how to use EditInteractiveOverlay for dragging and dropping features represented by an icon, we also show how to add new features on the map by left double clicking on the map. You will also see how to remove a feature by right double clicking on its icon. This project is a more complete version of a previous project “Dragging Icon”. In addition to showing how to use EditInteractiveOverlay for dragging and dropping features represented by an icon, we also show how to add new features on the map by left double clicking on the map. You will also see how to remove a feature by right double clicking on its icon.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winformsfor the details. +Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_winforms|Wiki]] ​for the details.
- +
-{{https://​github.com/​ThinkGeo/​DraggingIconAdvancedSample-ForWinForms/​raw/​master/​Screenshot.gif?​500|Screenshot}} +
  
-[[https://github.com/ThinkGeo/DraggingIconAdvancedSample-ForWinFormsView this sample on Github]]+{{https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​raw/​support/​v10/​samples/​winforms/​DraggingIconAdvancedSample/​Screenshot.gif?​500|Screenshot}}
  
 +[[https://​gitlab.com/​thinkgeo/​public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​DraggingIconAdvancedSample?​ref_type=heads| View this sample on Gitlab]]
  
map_suite_desktop_for_winforms_all_samples.txt · Last modified: 2023/08/22 12:52 by ruili