User Tools

Site Tools


map_suite_desktop_for_wpf_all_samples

Differences

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

Link to this comparison view

Next revision
Previous revision
map_suite_desktop_for_wpf_all_samples [2020/03/08 06:39]
127.0.0.1 external edit
map_suite_desktop_for_wpf_all_samples [2023/08/20 10:34] (current)
ruili
Line 1: Line 1:
 ====== Wpf Samples ====== ====== Wpf Samples ======
-Quickstart Sample for WPF+==== Quickstart Sample for WPF ==== 
 + 
 +=== Description ===
  
-### Description 
 This Quickstart Sample will guide you through the process of creating a sample application and will help you become familiar with creating maps with ThinkGeo UI. This sample project supports ThinkGeo UI 12.0.0.0 and higher and will show you how to create a WPF application using the ThinkGeo UI Desktop for WPF control. This Quickstart Sample will guide you through the process of creating a sample application and will help you become familiar with creating maps with ThinkGeo UI. This sample project supports ThinkGeo UI 12.0.0.0 and higher and will show you how to create a WPF application using the ThinkGeo UI Desktop for WPF control.
  
 Quick Start Video: ​ Quick Start Video: ​
-- [ThinkGeo UI WPF Quick Start in VS Code - Part 1 - Basemap](https://​youtu.be/​1PkOsPyXeUM) 
-- [ThinkGeo UI WPF Quick Start in VS Code - Part 2 - Adding a ShapeFile](https://​youtu.be/​7U31kP1E_fs) 
  
-Please refer to our [Wiki](https://wiki.thinkgeo.com/wiki/​thinkgeo_desktop_for_wpf) for more details.+- [[https://youtu.be/1PkOsPyXeUM|ThinkGeo UI WPF Quick Start in VS Code - Part 1 - Basemap]]
  
-![Screenshot](https://github.com/ThinkGeo/​QuickstartSample-forWpf.NetCore/​blob/​master/​Screenshot.png)+- [[https://youtu.be/7U31kP1E_fs|ThinkGeo ​UI WPF Quick Start in VS Code Part 2 - Adding a ShapeFile]]
  
-### About the Code +Please refer to our [[https://​wiki.thinkgeo.com/​wiki/​thinkgeo_desktop_for_wpf|Wiki]] for more details. 
-```csharp+ 
 +{{https://​gitlab.com/​thinkgeo/​public/​thinkgeo-desktop-maps/​-/​raw/​support/​v10/​samples/​winforms/​QuickstartSample/​Screenshot.png?​500|Screenshot}} 
 + 
 +=== About the Code === 
 +<​code>​
 ShapeFileFeatureLayer capitalLabelLayer = new ShapeFileFeatureLayer(@"​../​../​Data/​WorldCapitals.shp"​);​ ShapeFileFeatureLayer capitalLabelLayer = new ShapeFileFeatureLayer(@"​../​../​Data/​WorldCapitals.shp"​);​
 GeoFont font = new GeoFont("​Arial",​ 9, DrawingFontStyles.Bold);​ GeoFont font = new GeoFont("​Arial",​ 9, DrawingFontStyles.Bold);​
Line 25: Line 28:
  
 capitalLabelLayer.ZoomLevelSet.ZoomLevel06.DefaultTextStyle = textStyle; capitalLabelLayer.ZoomLevelSet.ZoomLevel06.DefaultTextStyle = textStyle;
-``` +</​code>​ 
-### Getting Help+=== Getting Help ===
  
-[ThinkGeo UI Desktop for WPF: Wiki Resources](https://​wiki.thinkgeo.com/​wiki/​thinkgeo_desktop_for_wpf)+- [[https://​wiki.thinkgeo.com/​wiki/​thinkgeo_desktop_for_wpf|ThinkGeo UI Desktop for WPF: Wiki Resources]]
  
-[ThinkGeo UI Desktop for WPF: Product Description](https://​thinkgeo.com/​ui-controls#​desktop-platforms)+- [[https://​thinkgeo.com/​desktop-maps|ThinkGeo UI Desktop for WPF: Product Description]]
  
-[ThinkGeo Community Forums](https://​community.thinkgeo.com/​)+- [[https://​community.thinkgeo.com/​|ThinkGeo Community Forums]]
  
-[ThinkGeo Website](https://​thinkgeo.com)+- [[https://​thinkgeo.com|ThinkGeo Website]]
  
-### About ThinkGeo+=== About ThinkGeo ​===
 ThinkGeo is a GIS (Geographic Information Systems) company founded in 2004 and located in Frisco, TX. Our clients are in more than 40 industries including agriculture,​ energy, transportation,​ government, engineering,​ software development,​ and defense. ThinkGeo is a GIS (Geographic Information Systems) company founded in 2004 and located in Frisco, TX. Our clients are in more than 40 industries including agriculture,​ energy, transportation,​ government, engineering,​ software development,​ and defense.
  
-==== Quickstart Sample for Wpf ====+=== Quickstart Sample for Wpf ===
  
 The Map Suite WPF 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 WPF application using Map Suite WPF components. The Map Suite WPF 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 WPF application using Map Suite WPF components.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/QuickstartSample-ForWpf/raw/master/​Screenshot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​QuickStart/​Screenshot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/QuickstartSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​QuickStart ​| View this sample on Gitlab]]
 ==== Nautical Charts Viewer Sample for Wpf ==== ==== Nautical Charts Viewer Sample for Wpf ====
  
Line 57: Line 60:
 ThinkGeo uses a default style which can be easily modified. Nautical Charts Viewer provide the ability to switch the map between 5 modes: Day Bright, Day Black, Day White, Dusk and Night. It has 3 verbose mode of “All”, “Standard” and “Base”. It can switch boundaries between dashed line and triangles, it can show/hide different labeling, show different languages, etc. If you are a developer, dig in the code and you can see it’s as simple as creating a layer and set up the properties like following, and it can do more than it shows in this sample ThinkGeo uses a default style which can be easily modified. Nautical Charts Viewer provide the ability to switch the map between 5 modes: Day Bright, Day Black, Day White, Dusk and Night. It has 3 verbose mode of “All”, “Standard” and “Base”. It can switch boundaries between dashed line and triangles, it can show/hide different labeling, show different languages, etc. If you are a developer, dig in the code and you can see it’s as simple as creating a layer and set up the properties like following, and it can do more than it shows in this sample
  
-{{https://github.com/ThinkGeo/NauticalChartsViewerSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​NauticalCharts/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/NauticalChartsViewerSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​NauticalCharts| View this sample on Gitlab]]
  
 ==== Vehicle Tracking Sample for Wpf ==== ==== Vehicle Tracking Sample for Wpf ====
Line 66: Line 69:
 The Vehicle Tracking sample template gives you a head start on your next tracking project. With a working code example to draw from, you can spend more of your time implementing the features you care about and less time thinking about how to accomplish the basic functionality of a tracking system. The Vehicle Tracking sample template gives you a head start on your next tracking project. With a working code example to draw from, you can spend more of your time implementing the features you care about and less time thinking about how to accomplish the basic functionality of a tracking system.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/VehicleTrackingSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​VehicleTrackingSample/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/VehicleTrackingSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​VehicleTrackingSample| View this sample on Gitlab]]
  
 ==== Display Iso Lines Sample for Wpf ==== ==== Display Iso Lines Sample for Wpf ====
Line 77: Line 80:
 In this sample we show how you can use Map Suite to add isolines (commonly known as contour lines) to your .NET application. Isolines are a way to visualize breaks between different groups of data such as elevation levels, soil properties, or just about anything else you can imagine. This sample also shows the various steps in creating isolines, including the gathering of point data, creating a grid using interpolation,​ and finally, picking your isoline break levels. We also quickly dive into some more advanced options such as generating isolines on the fly.  In this sample we show how you can use Map Suite to add isolines (commonly known as contour lines) to your .NET application. Isolines are a way to visualize breaks between different groups of data such as elevation levels, soil properties, or just about anything else you can imagine. This sample also shows the various steps in creating isolines, including the gathering of point data, creating a grid using interpolation,​ and finally, picking your isoline break levels. We also quickly dive into some more advanced options such as generating isolines on the fly. 
  
-To bring this all together, check out our [instructional video](https://​www.youtube.com/​watch?​v=eejtCTftpzothat will walk you through the process of setting up and working with isolines in Map Suite. ​+To bring this all together, check out our [[https://​www.youtube.com/​watch?​v=eejtCTftpzo| instructional video]] ​that will walk you through the process of setting up and working with isolines in Map Suite. ​
  
-Please note that you will need version 5.0.87.0 or newer of Map Suite in order to use isolines. For more information on how to upgrade, see the [Map Suite Daily Builds Guide](http://​wiki.thinkgeo.com/​wiki/​map_suite_daily_builds_guide)+Please note that you will need version 5.0.87.0 or newer of Map Suite in order to use isolines. For more information on how to upgrade, see the [[http://​wiki.thinkgeo.com/​wiki/​map_suite_daily_builds_guide| Map Suite Daily Builds Guide]]
  
 From 6.0.187.0, the sample has been updated that polygons can also be returned as IsoLines results. You need version 6.0.187.0 or newer of Map Suite in order to use this sample. From 6.0.187.0, the sample has been updated that polygons can also be returned as IsoLines results. You need version 6.0.187.0 or newer of Map Suite in order to use this sample.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/DisplayIsoLinesSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​DisplayIsoLinesSample/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/DisplayIsoLinesSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​DisplayIsoLinesSample| View this sample on Gitlab]]
  
-====Overlays Sample for Wpf +==== Overlays Sample for Wpf ====
- +
- ====+
  
 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 103: Line 104:
 It can display different styles of maps by setting the map type. Note: you do need to have Bing Maps API key and Google Maps API key to be able to use these two basemaps. ​ It can display different styles of maps by setting the map type. Note: you do need to have Bing Maps API key and Google Maps API key to be able to use these two basemaps. ​
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/OverlaysSample-ForWpf/raw/master/​Screenshot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​OverlaysSample/​Screenshot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/OverlaysSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​OverlaysSample| View this sample on Gitlab]]
  
 ==== Map Suite GIS Editor ==== ==== Map Suite GIS Editor ====
Line 116: Line 117:
 Looking for a customized GIS Editor or custom plug-ins? Please contact sales@thinkgeo.com for more details. ​ Looking for a customized GIS Editor or custom plug-ins? Please contact sales@thinkgeo.com for more details. ​
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/MapSuiteGisEditor/​raw/​master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/public/​gis-editor/​-/​raw/​master/​Screenshot.gif?​500|Screenshot}}
  
 +[[https://​gitlab.com/​thinkgeo/​public/​gis-editor| View this sample on Gitlab]]
 +==== How Do I Sample for Wpf ====
  
-[[https://​github.com/​ThinkGeo/​MapSuiteGisEditor| View this sample on Github]] +=== Description ​===
-# How Do I Sample for Wpf +
- +
-### Description+
  
 The “How Do I?” samples collection is a comprehensive set containing dozens of interactive samples. Available in C#, these samples are designed to hit all the highlights of Map Suite, from simply adding a layer to a map to performing spatial queries and applying a thematic style. Consider this collection your “encyclopedia” of all the Map Suite basics and a great starting place for new users. The “How Do I?” samples collection is a comprehensive set containing dozens of interactive samples. Available in C#, these samples are designed to hit all the highlights of Map Suite, from simply adding a layer to a map to performing spatial queries and applying a thematic style. Consider this collection your “encyclopedia” of all the Map Suite basics and a great starting place for new users.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​thinkgeo_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​thinkgeo_desktop_for_wpf|Wiki]] ​for the details.
  
-![Screenshot](https://github.com/ThinkGeo/HowDoISample-ForWpf/blob/master/​Screenshot.gif)+{{https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/-/raw/​support/​v10/​samples/​wpf/​HowDoI/​Screenshot.gif?​500|Screenshot}}
  
-### About the Code+=== About the Code ===
  
 Working... Working...
  
-### Getting Help+=== Getting Help ===
  
-[ThinkGeo Desktop for Wpf Wiki Resources](http://​wiki.thinkgeo.com/​wiki/​thinkgeo_desktop_for_wpf)+[[http://​wiki.thinkgeo.com/​wiki/​thinkgeo_desktop_for_wpf|ThinkGeo Desktop for Wpf Wiki Resources]]
  
-[ThinkGeo Desktop for Wpf Product Description](https://​thinkgeo.com/​ui-controls#​desktop-platforms)+[[https://​thinkgeo.com/​desktop-maps|ThinkGeo Desktop for Wpf Product Description]]
  
-[ThinkGeo Community Site](http://​community.thinkgeo.com/​)+[[http://​community.thinkgeo.com/​|ThinkGeo Community Site]]
  
-[ThinkGeo Web Site](http://​www.thinkgeo.com)+[[http://​www.thinkgeo.com|ThinkGeo Web Site]]
  
-### About ThinkGeo+=== About ThinkGeo ​===
 ThinkGeo is a GIS (Geographic Information Systems) company founded in 2004 and located in Frisco, TX. Our clients are in more than 40 industries including agriculture,​ energy, transportation,​ government, engineering,​ software development,​ and defense. ThinkGeo is a GIS (Geographic Information Systems) company founded in 2004 and located in Frisco, TX. Our clients are in more than 40 industries including agriculture,​ energy, transportation,​ government, engineering,​ software development,​ and defense.
  
 +==== Map Touch Sample for Wpf ====
  
-==== Image Style Sample for Wpf ====+Map Suite WPF Edition supports touch events. This sample shows how to add a marker to map by MapTap event.
  
-As you probably already know, using the Map Suite API, you can easily display a point-based feature as an image. But how do you do the same thing for a line or a polygon-based feature? In this WPF project, we show you how to create custom Image Styles for both line and polygon featuresWith the new ImageAreaStyle,​ you can display a polygon feature that uses an image as its fillYou can see how an image for forest and water is used in the sample project. And with the new ImageLineStyle,​ you can do the same thing with line features. You'll see how an image of a pavement texture is used to represent streets.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-Please refer to [Wiki](http://wiki.thinkgeo.com/wiki/map_suite_desktop_for_wpf) for the details.+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/​-/​raw/​support/​v10/​samples/​wpf/​MapTouchSample/Screenshot.png?​500|Screenshot}}
  
-{{https://github.com/ThinkGeo/ImageStyleSample-ForWpf/raw/master/Screenshot.png?​500|Screenshot}}+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/-/tree/support/​v10/​samples/​wpf/​MapTouchSampleView this sample on Gitlab]]
  
 +==== Print Preview Sample for Wpf ====
  
-[[https://​github.com/​ThinkGeo/​ImageStyleSample-ForWpf| View this sample on Github]]+In this sample we show you how to add robust printing support to your Map Suite applications for the desktop, WPF, web or services environmentsUsing the code in this sample, you'll be able to build a Print Preview interface that lets your users interactively arrange items (such as a map, scale line, labels, data grid or image) ​on a virtual page before printing the result to a printer, exporting to a PDF or to a bitmap image. Maps are printed using vector graphics so you can be sure the output will look great on anything from a PDF to a large plotter. The printing system also includes low-level report building classes that make it easy to generate reports in the web or services environment. ​
  
-==== Map Touch Sample for Wpf ====+To help you understand the sample, as well as Map Suite'​s new printing system upon which it is based, check out our [[http://​download.thinkgeo.com/​Videos/​Wiki/​MapSuitePrintingSystemIntroduction.wmv|instructional video]] that will introduce you to all of these concepts and walk you through the sample solution. ​
  
-Map Suite WPF Edition supports touch eventsThis sample shows how to add a marker to map by MapTap event.+Please note that you will need version 5.0.102.0 or newer of Map Suite in order to use the new printing featuresFor more information on how to upgrade, see the [[http://​wiki.thinkgeo.com/​wiki/​map_suite_daily_builds_guide|Map Suite Daily Builds Guide]]
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf) for the details.+NoteUsers of Map Suite Web, Silverlight and Services Editions will not have access to the interactive drag-and-drop page layout interface pictured here. However, these editions can still be used to programmatically design page layouts in code and then export them to a printer.
  
-{{https://github.com/ThinkGeo/MapTouchSample-ForWpf/​raw/​master/​Screenshot.png?​500|Screenshot}}+Please refer to [[http://wiki.thinkgeo.com/wiki/map_suite_desktop_for_wpf|Wiki]] for the details.
  
 +{{https://​gitlab.com/​thinkgeo/​public/​thinkgeo-desktop-maps/​-/​raw/​support/​v10/​samples/​wpf/​PrintPreviewSample/​Screenshot.png?​500|Screenshot}}
  
-[[https://github.com/ThinkGeo/MapTouchSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​PrintPreviewSample| View this sample on Gitlab]]
  
-==== Print Preview Sample for Wpf ====+=== About the Code === 
 +<​code>​ 
 +Map1.ZoomLevelSet ​new PrinterZoomLevelSet(Map1.MapUnit,​ PrinterHelper.GetPointsPerGeographyUnit(Map1.MapUnit));​
  
-In this sample we show you how to add robust printing support to your Map Suite applications for the desktop, WPF, web or services environments. Using the code in this sample, you'll be able to build a Print Preview interface that lets your users interactively arrange items (such as a map, scale line, labels, data grid or imageon a virtual page before printing the result to a printer, exporting to a PDF or to a bitmap image. Maps are printed using vector graphics so you can be sure the output will look great on anything from a PDF to a large plotter. The printing system also includes low-level report building classes that make it easy to generate reports in the web or services environment. ​+PrinterInteractiveOverlay printerOverlay = new PrinterInteractiveOverlay();
  
-To help you understand the sample, as well as Map Suite'​s new printing system upon which it is based, check out our [instructional video](http://​download.thinkgeo.com/​Videos/​Wiki/​MapSuitePrintingSystemIntroduction.wmvthat will introduce you to all of these concepts and walk you through the sample solution+Map1.InteractiveOverlays.Add("​PrintPreviewOverlay",​ printerOverlay)
 +Map1.InteractiveOverlays.MoveToBottom("​PrintPreviewOverlay"​);​
  
-Please note that you will need version 5.0.102.0 or newer of Map Suite in order to use the new printing featuresFor more information on how to upgradesee the [Map Suite Daily Builds Guide](http://​wiki.thinkgeo.com/​wiki/​map_suite_daily_builds_guide). +PagePrinterLayer pagePrinterLayer = new PagePrinterLayer(PrinterPageSize.AnsiAPrinterOrientation.Portrait);​ 
 +pagePrinterLayer.Open()
 +printerOverlay.PrinterLayers.Add("​PageLayer",​ pagePrinterLayer);​ 
 +</​code>​ 
 +=== Getting Help ===
  
-NoteUsers of Map Suite Web, Silverlight and Services Editions will not have access to the interactive drag-and-drop page layout interface pictured hereHowever, these editions can still be used to programmatically design page layouts in code and then export them to a printer.+[[http://wiki.thinkgeo.com/​wiki/​thinkgeo_desktop_for_wpf|Map Suite Desktop for Wpf Wiki Resources]]
  
-Please refer to [Wiki](http://wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf) ​for the details.+[[https://​thinkgeo.com/​desktop-maps|Map Suite Desktop ​for Wpf Product Description]]
  
-{{https://github.com/​ThinkGeo/​PrintPreviewSample-ForWpf/​raw/​master/​Screenshot.png?​500|Screenshot}}+[[http://community.thinkgeo.com/|ThinkGeo ​Community Site]]
  
 +[[http://​www.thinkgeo.com|ThinkGeo Web Site]]
  
-[[https://​github.com/​ThinkGeo/​PrintPreviewSample-ForWpf| View this sample on Github]]+=== About ThinkGeo ​=== 
 +ThinkGeo is a GIS (Geographic Information Systems) company founded in 2004 and located in Frisco, TX. Our clients are in more than 40 industries including agriculture,​ energy, transportation,​ government, engineering,​ software development,​ and defense.
  
 ==== Building 3D Layer Sample for Wpf ==== ==== Building 3D Layer Sample for Wpf ====
Line 193: Line 205:
 This project shows to create simulated 3D buildings on WPF map control and OsmBuildingOnlineServiceFeatureLayer. This project shows to create simulated 3D buildings on WPF map control and OsmBuildingOnlineServiceFeatureLayer.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details. +Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
- +
-{{https://​github.com/​ThinkGeo/​Building3DLayerSample-ForWpf/​raw/​master/​Screenshot.png?​500|Screenshot}}+
  
 +{{https://​gitlab.com/​thinkgeo/​public/​thinkgeo-desktop-maps/​-/​raw/​support/​v10/​samples/​wpf/​Building3DLayerSample/​Screenshot.png?​500|Screenshot}}
  
-[[https://github.com/ThinkGeo/Building3DLayerSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​Building3DLayerSample| 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 214: Line 224:
 This RoutingEngine supports routing in all of the Map Suite controls such as WinForms, Web, MVC and WebApi. This RoutingEngine supports routing in all of the Map Suite controls such as WinForms, Web, MVC and WebApi.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/RoutingDataExplorerSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​RoutingDataExplorer/​Screenshot.gif?​500|Screenshot}}
  
- +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​RoutingDataExplorer| View this sample on Gitlab]]
-[[https://github.com/ThinkGeo/RoutingDataExplorerSample-ForWpf| View this sample on Github]]+
  
 ==== ThinkGeo Cloud Maps Sample for Wpf ==== ==== ThinkGeo Cloud Maps Sample for Wpf ====
- 
  
 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 233: Line 241:
 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_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/ThinkGeoCloudMapsSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​CloudMapsSample/​Screenshot.gif?​500|Screenshot}}
  
- +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​CloudMapsSample| View this sample on Gitlab]]
-[[https://github.com/ThinkGeo/ThinkGeoCloudMapsSample-ForWpf| 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| View this sample on Gitlab]]
-[[https://github.com/ThinkGeo/DisplayCadFileSample-ForWinForms| View this sample on Github]]+
  
 ==== Zoom To Full Extent Wpf Sample for Wpf ==== ==== Zoom To Full Extent Wpf Sample for Wpf ====
- 
  
 This is a simple project that shows how to set the current extent based on a collection of layers. You can use this technique for the common task of having the map set to the full extent. Instead of having to manually set the full extent, you can pass all the layers you want the full extent to be based on. This is a simple project that shows how to set the current extent based on a collection of layers. You can use this technique for the common task of having the map set to the full extent. Instead of having to manually set the full extent, you can pass all the layers you want the full extent to be based on.
               ​               ​
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/ZoomToFullExtentWpfSample-ForWpf/raw/master/​ScreenShot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​ZoomToFullExtent/​ScreenShot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/ZoomToFullExtentWpfSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​ZoomToFullExtent| View this sample on Gitlab]]
  
 ==== Place search world reverse geocoding sample for Wpf ==== ==== Place search world reverse geocoding sample for Wpf ====
  
-In this sample, we show how you can use Map Suite [World Reverse Geocoding SDK](https://​thinkgeo.com/​gisserver#​featureto turn a geographic location into meaningful addresses. It ships with an optimized set of worldwide coverage of cities and towns, but any customized data can be supported as well. +In this sample, we show how you can use Map Suite [[https://​thinkgeo.com/​gisserver#​feature|World Reverse Geocoding SDK]] to turn a geographic location into meaningful addresses. It ships with an optimized set of worldwide coverage of cities and towns, but any customized data can be supported as well. 
  
-{{https://github.com/ThinkGeo/PlaceSearchWorldReverseGeocodingSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}} +{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​PlaceSearchWordReverseGeocoding/​Screenshot.gif?​500|Screenshot}} 
- ===+  
-### What areas does the World Reverse Geocoding cover? +=== What areas does the World Reverse Geocoding cover? ​===
- +
-![World Reverse Geocoding Data Coverage](https://​github.com/​ThinkGeo/​PlaceSearchWorldReverseGeocodingSample-ForWpf/​blob/​master/​Reverse%20geocoding%20data%20coverage.png)+
  
 +{{https://​gitlab.com/​thinkgeo/​public/​thinkgeo-desktop-maps/​-/​raw/​support/​v10/​samples/​wpf/​PlaceSearchWordReverseGeocoding/​Reverse%20geocoding%20data%20coverage.png?​500|World Reverse Geocoding Data Coverage}}
  
  
-[[https://github.com/ThinkGeo/PlaceSearchWorldReverseGeocodingSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​PlaceSearchWordReverseGeocoding| View this sample on Gitlab]]
  
 ==== BuildingSamples-ForWpf ==== ==== BuildingSamples-ForWpf ====
Line 287: Line 290:
 - OsmBuildingOnlineServiceFeatureLayer represents the online data source of feature layer. - OsmBuildingOnlineServiceFeatureLayer represents the online data source of feature layer.
  
-![Build Preview](https://github.com/ThinkGeo/BuildingSamples-ForWpf/raw/master/​Screenshot.gif)+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​BuildingSample/​Screenshot.gif?500| Build Preview}}
  
  
-[[https://github.com/ThinkGeo/BuildingSamples-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​BuildingSample| View this sample on Gitlab]]
  
 ==== PerformanceSample-ForWpf ==== ==== PerformanceSample-ForWpf ====
Line 296: Line 299:
 This is a WPF desktop sample for drawing performance test of MapSuite product. This is a WPF desktop sample for drawing performance test of MapSuite product.
 When running the sample, it will render 16,000 count of rectangle shape features at first, these features will be distributed in 4 layers averagely. After clicking Start button the sample application will update 1,600 count of rectangle shape features per 1,000 milliseconds,​ the time cost of features drawing will display in the application footer. When running the sample, it will render 16,000 count of rectangle shape features at first, these features will be distributed in 4 layers averagely. After clicking Start button the sample application will update 1,600 count of rectangle shape features per 1,000 milliseconds,​ the time cost of features drawing will display in the application footer.
-Customer can modify the update rate, update features count, and enable or disable the layers. ​ ===+Customer can modify the update rate, update features count, and enable or disable the layers.  ​ 
-### Key Points+ 
 +=== Key Points ​===
 - The rectangle shape is added to an InMemoryFeatureLayer,​ the layer uses a ValueStyle to draw the shape. The ValueStyle has 4 count of ValueItems which the item Id is from 0 to 3 and the item AreaStyle uses 4 different of fill colors. The shape also has a column value of 0 at the first time, the ValueStyle will use this value to draw the shape using corresponding AreaStyle. - The rectangle shape is added to an InMemoryFeatureLayer,​ the layer uses a ValueStyle to draw the shape. The ValueStyle has 4 count of ValueItems which the item Id is from 0 to 3 and the item AreaStyle uses 4 different of fill colors. The shape also has a column value of 0 at the first time, the ValueStyle will use this value to draw the shape using corresponding AreaStyle.
  
Line 306: Line 310:
 - Customer can check or uncheck the layers in the right list of the application form, the application will only choose the features which in the checked layers when updating, and the unchecked layers will be hidden in the map. - Customer can check or uncheck the layers in the right list of the application form, the application will only choose the features which in the checked layers when updating, and the unchecked layers will be hidden in the map.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/PerformanceSample-ForWpf/raw/master/​Screenshot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​PerformanceSample/​Screenshot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/PerformanceSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​PerformanceSample| View this sample on Gitlab]]
  
 ==== Filter Style Sample for Wpf ==== ==== Filter Style Sample for Wpf ====
- 
  
 This project outlines how to apply the FilterStyle to a layer'​s display. By using this style, the map will filter the features queried from the source file by checking if a specified column value fits the input condition. This effect can be applied to all the Map Suite products. This project outlines how to apply the FilterStyle to a layer'​s display. By using this style, the map will filter the features queried from the source file by checking if a specified column value fits the input condition. This effect can be applied to all the Map Suite products.
               ​               ​
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/FilterStyleSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​FilterStyleSample/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/FilterStyleSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​FilterStyleSample| View this sample on Gitlab]]
  
 ==== Delay Drawing Sample for Wpf ==== ==== Delay Drawing Sample for Wpf ====
Line 329: Line 332:
 This WPF project shows how to use the Delay Map Drawing feature to control whether or not the layer is redrawn after a specified delay. This option is very helpful for anyone wanting to do something before actually refreshing the map - such as editing the elements, adding an animation, etc.  This WPF project shows how to use the Delay Map Drawing feature to control whether or not the layer is redrawn after a specified delay. This option is very helpful for anyone wanting to do something before actually refreshing the map - such as editing the elements, adding an animation, etc. 
               ​               ​
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/DelayDrawingSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​DelayDrawingSample/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/DelayDrawingSample-ForWpf| View this sample on Github]] +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​DelayDrawingSample| View this sample on Gitlab]]
-# Annotation Style Sample for Wpf+
  
-### Description+==== Annotation Style Sample for Wpf ==== 
 + 
 +=== Description ​===
  
 In this project you will see how to use the AnnotationStyle to display and edit a feature depending on the value of a specific property in its data source. In this project you will see how to use the AnnotationStyle to display and edit a feature depending on the value of a specific property in its data source.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​thinkgeo_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​thinkgeo_desktop_for_wpf|Wiki]] ​for the details.
  
-![Screenshot](https://github.com/ThinkGeo/AnnotationStyleSample-ForWpf/blob/master/​Screenshot.gif)+{{https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/-/raw/​support/​v10/​samples/​wpf/​AnnotatingStyleSample/​Screenshot.gif?​500|Screenshot}}
  
-### About the Code+[[https://​gitlab.com/​thinkgeo/​public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​AnnotatingStyleSample?​ref_type=heads| View this sample on Gitlab]]
  
-```csharp +=== About the Code === 
-       + 
 +<​code> ​      ​
 protected override void DrawCore(IEnumerable<​Feature>​ features, GeoCanvas canvas, Collection<​SimpleCandidate>​ labelsInThisLayer,​ Collection<​SimpleCandidate>​ labelsInAllLayers) protected override void DrawCore(IEnumerable<​Feature>​ features, GeoCanvas canvas, Collection<​SimpleCandidate>​ labelsInThisLayer,​ Collection<​SimpleCandidate>​ labelsInAllLayers)
 { {
Line 380: Line 385:
     }     }
 } }
 +</​code>​
  
-```+=== Getting Help ===
  
-### Getting Help+[[http://​wiki.thinkgeo.com/​wiki/​thinkgeo_desktop_for_wpf|ThinkGeo Desktop for Wpf Wiki Resources]]
  
-[ThinkGeo Desktop for Wpf Wiki Resources](http://wiki.thinkgeo.com/​wiki/​thinkgeo_desktop_for_wpf)+[[https://​thinkgeo.com/​desktop-maps|ThinkGeo Desktop for Wpf Product Description]]
  
-[ThinkGeo Desktop for Wpf Product Description](https://​thinkgeo.com/​ui-controls#​desktop-platforms)+[[http://community.thinkgeo.com/​|ThinkGeo Community Site]]
  
-[ThinkGeo Community Site](http://community.thinkgeo.com/)+[[http://www.thinkgeo.com|ThinkGeo Web Site]]
  
-[ThinkGeo Web Site](http://​www.thinkgeo.com) +=== About ThinkGeo ​===
- +
-### About ThinkGeo+
 ThinkGeo is a GIS (Geographic Information Systems) company founded in 2004 and located in Frisco, TX. Our clients are in more than 40 industries including agriculture,​ energy, transportation,​ government, engineering,​ software development,​ and defense. ThinkGeo is a GIS (Geographic Information Systems) company founded in 2004 and located in Frisco, TX. Our clients are in more than 40 industries including agriculture,​ energy, transportation,​ government, engineering,​ software development,​ and defense.
  
Line 401: Line 405:
 This sample shows you how to get started building your first application with the Map Suite Desktop for Wpf 10.0.0. This sample shows you how to get started building your first application with the Map Suite Desktop for Wpf 10.0.0.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/HelloWorldSample-ForWpf/raw/master/​Screenshot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​HelloWorldSample/​Screenshot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/HelloWorldSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​HelloWorldSample| View this sample on Github]]
  
 ==== Usgs Dem Sample for Wpf ==== ==== Usgs Dem Sample for Wpf ====
Line 413: Line 417:
 This sample demonstrates how you can read data from an DEM file in your Map Suite GIS applications,​ and how to render it with DEM embedded value style as well as a customized style. This DEM File support would work in all of the Map Suite controls such as Wpf, Web, Android and iOS. This sample demonstrates how you can read data from an DEM file in your Map Suite GIS applications,​ and how to render it with DEM embedded value style as well as a customized style. This DEM File support would work in all of the Map Suite controls such as Wpf, Web, Android and iOS.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/UsgsDemSample-ForWpf/raw/master/​Screenshot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​UsgsDemSample/​Screenshot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/UsgsDemSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​UsgsDemSample| View this sample on Gitlab]]
  
 ==== Touch Events Sample for Wpf ==== ==== Touch Events Sample for Wpf ====
- 
  
 This sample shows how to take advantage of touch screen to manipulate that map using one’s fingers. Learn how the map can be panned, zoomed in and out or rotated using two fingers. On addition, markers can be added, and shapes can be added and edited by tapping the screen. ​ This sample shows how to take advantage of touch screen to manipulate that map using one’s fingers. Learn how the map can be panned, zoomed in and out or rotated using two fingers. On addition, markers can be added, and shapes can be added and edited by tapping the screen. ​
Line 427: Line 430:
 The sample code makes this straight forward to implement. ​ The sample code makes this straight forward to implement. ​
               ​               ​
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/TouchEventsSample-ForWpf/raw/master/​ScreenShot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​TouchEventsSample/​ScreenShot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/TouchEventsSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​TouchEventsSample| View this sample on Gitlab]]
  
 ==== Wmts Layer Sample for Wpf ==== ==== Wmts Layer Sample for Wpf ====
- 
  
 This project shows how to consume data from a WMTS Server using WmtsLayer. You would find the code pretty straightforward,​ just like displaying a shapefile, while behind the scenes we request tiles from the server asynchronously and efficiently,​ and stitch them into a proper map.  This project shows how to consume data from a WMTS Server using WmtsLayer. You would find the code pretty straightforward,​ just like displaying a shapefile, while behind the scenes we request tiles from the server asynchronously and efficiently,​ and stitch them into a proper map. 
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/WmtsLayerSample-ForWpf/raw/master/​Screenshot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​WmtsLayerSample/​Screenshot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/WmtsLayerSample-ForWpf| View this sample on Github]] +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​WmtsLayerSample| View this sample on Gitlab]]
-# Reproject Wmts Sample for Wpf+
  
-### Description+==== Reproject Wmts Sample for Wpf ==== 
 + 
 +=== Description ​===
 In today’s project, we show how to create your own projection class that allows projecting a WMTS layer from any internal projection to any external. ​ In today’s project, we show how to create your own projection class that allows projecting a WMTS layer from any internal projection to any external. ​
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-![Screenshot](https://github.com/ThinkGeo/ReprojectWmtsSample-ForWpf/blob/master/​Screenshot.png)+{{https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/-/raw/​support/​v10/​samples/​wpf/​ReprojectWmtsSample/​Screenshot.png?​500|Screenshot}}
  
-### About the Code +[[https://​gitlab.com/​thinkgeo/​public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​ReprojectWmtsSample| View this sample on Gitlab]] 
-```csharp+ 
 +=== About the Code === 
 +<​code>​
 wmtsLayer = new WmtsLayer();​ wmtsLayer = new WmtsLayer();​
 wmtsLayer.WmtsSeverEncodingType = ThinkGeo.MapSuite.Layers.WmtsSeverEncodingType.Kvp;​ wmtsLayer.WmtsSeverEncodingType = ThinkGeo.MapSuite.Layers.WmtsSeverEncodingType.Kvp;​
Line 466: Line 471:
 wmtsLayer.ProjectedTileCache = new FileBitmapTileCache("​WmtsProjectedTileCache",​ "​USGSImageryOnly-4326"​);​ wmtsLayer.ProjectedTileCache = new FileBitmapTileCache("​WmtsProjectedTileCache",​ "​USGSImageryOnly-4326"​);​
 wmtsLayer.TileCache = new FileBitmapTileCache("​WmtsTileCache",​ "​USGSImageryOnly-3857"​);​ wmtsLayer.TileCache = new FileBitmapTileCache("​WmtsTileCache",​ "​USGSImageryOnly-3857"​);​
-``` +</​code>​ 
-### Getting Help+=== Getting Help ===
  
-[Map Suite Desktop for Wpf Wiki Resources](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf)+[[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Map Suite Desktop for Wpf Wiki Resources]]
  
-[Map Suite Desktop for Wpf Product Description](https://​thinkgeo.com/​ui-controls#​desktop-platforms)+[[https://​thinkgeo.com/​desktop-maps|Map Suite Desktop for Wpf Product Description]]
  
-[ThinkGeo Community Site](http://​community.thinkgeo.com/​)+[[http://​community.thinkgeo.com/​|ThinkGeo Community Site]]
  
-[ThinkGeo Web Site](http://​www.thinkgeo.com)+[[http://​www.thinkgeo.com|ThinkGeo Web Site]]
  
-### About ThinkGeo+=== About ThinkGeo ​===
 ThinkGeo is a GIS (Geographic Information Systems) company founded in 2004 and located in Frisco, TX. Our clients are in more than 40 industries including agriculture,​ energy, transportation,​ government, engineering,​ software development,​ and defense. ThinkGeo is a GIS (Geographic Information Systems) company founded in 2004 and located in Frisco, TX. Our clients are in more than 40 industries including agriculture,​ energy, transportation,​ government, engineering,​ software development,​ and defense.
- 
- 
-==== Earthquake Statistics Sample for Wpf ==== 
- 
-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_wpf) for the details. 
- 
-{{https://​github.com/​ThinkGeo/​EarthquakeStatisticsSample-ForWpf/​raw/​master/​Screenshot.gif?​500|Screenshot}} 
- 
- 
-[[https://​github.com/​ThinkGeo/​EarthquakeStatisticsSample-ForWpf| View this sample on Github]] 
  
 ==== Show A Legend Sample for Wpf ==== ==== Show A Legend Sample for Wpf ====
- 
  
 In today’s project we learn how to display a simple legend using the new and improved LegendAdornmentLayer. The improved LegendAdornmentLayer was added to Map Suite 5.0 and provides an easy to use API for creating legend adornments. The LegendAdornmentLayer is part of Map Suite Core which allows you to access this powerful feature across all Map Suite products. ​ In today’s project we learn how to display a simple legend using the new and improved LegendAdornmentLayer. The improved LegendAdornmentLayer was added to Map Suite 5.0 and provides an easy to use API for creating legend adornments. The LegendAdornmentLayer is part of Map Suite Core which allows you to access this powerful feature across all Map Suite products. ​
-              ​ 
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf) for the details. 
  
-{{https://github.com/ThinkGeo/ShowALegendSample-ForWpf/​raw/​master/​ScreenShot.png?​500|Screenshot}}+Please refer to [[http://wiki.thinkgeo.com/wiki/map_suite_desktop_for_wpf|Wiki]] for the details.
  
 +{{https://​gitlab.com/​thinkgeo/​public/​thinkgeo-desktop-maps/​-/​raw/​support/​v10/​samples/​wpf/​ShowALegendSample/​ScreenShot.png?​500|Screenshot}}
  
-[[https://github.com/ThinkGeo/ShowALegendSample-ForWpf| View this sample on Github]]+ 
 +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​ShowALegendSample| View this sample on Gitlab]]
  
 ==== Rotate Events Sample for Wpf ==== ==== Rotate Events Sample for Wpf ====
Line 509: Line 501:
 This sample shows how to take the advantage of a touchable screen, to play with the map using fingers. You would see we can pan the map with one finger, zoom in/out or rotate a map using 2 fingers. Not only that, we can add a marker, and track/edit a shape (point, line or polygons) by tapping on the screen. And marker/​popup/​label won't rotate with the map. It is straightforward to use and checking out the code, you would see it is very simple to implement with Map Suite! It is available in 8.0.48.0 or later. ​ This sample shows how to take the advantage of a touchable screen, to play with the map using fingers. You would see we can pan the map with one finger, zoom in/out or rotate a map using 2 fingers. Not only that, we can add a marker, and track/edit a shape (point, line or polygons) by tapping on the screen. And marker/​popup/​label won't rotate with the map. It is straightforward to use and checking out the code, you would see it is very simple to implement with Map Suite! It is available in 8.0.48.0 or later. ​
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/RotateEventsSample-ForWpf/raw/master/​Screenshot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​RotateEventsSample/​Screenshot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/RotateEventsSample-ForWpf| View this sample on Github]] +[[https://gitlab.com/thinkgeo/public/thinkgeo-desktop-maps/-/tree/support/v10/samples/wpf/RotateEventsSample| View this sample on Gitlab]]
- +
-==== MBTiles Extractor Sample for WPF ==== +
- +
- +
-The MBTiles Extractor allows you to create new smaller subsets from the MBTiles database. You simply specify the bounding box by tracking a rectangle shape on the map for the new area, then it will create a new SQLite database for that regions.  +
- +
-*.MBTile format can be supported in all of the Map Suite controls such as Wpf, Web, MVC, WebApi, Android and iOS. +
- +
-Please refer to [Wiki](https:​//wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf) for the details. +
- +
-{{https://​github.com/​ThinkGeo/​MBTilesExtractorSample-ForWpf/​raw/​master/​Screenshot.gif?​500|Screenshot}} +
- +
- +
-[[https://​github.com/​ThinkGeo/​MBTilesExtractorSample-ForWpf| View this sample on Github]] +
- +
-==== Show A Legend Sample for Wpf ==== +
- +
- +
-In today’s project we learn how to display a simple legend using the new and improved LegendAdornmentLayer. The improved LegendAdornmentLayer was added to Map Suite 5.0 and provides an easy to use API for creating legend adornments. The LegendAdornmentLayer is part of Map Suite Core which allows you to access this powerful feature across all Map Suite products.  +
-               +
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf) for the details. +
- +
-{{https://​github.com/​ThinkGeo/ShowALegendSample-ForWpf/raw/master/ScreenShot.png?​500|Screenshot}} +
- +
- +
-[[https://github.com/ThinkGeo/​ShowALegendSample-ForWpf| View this sample on Github]]+
  
 ==== Draggable Labels Sample for Wpf ==== ==== Draggable Labels Sample for Wpf ====
- 
  
 In this WPF project, you will learn how to place labels from a shapefile into a **SimpleMarkerOverlay**. Using the **DragMode** property of the **SimpleMarkerOverlay**,​ the user can then drag the labels to place them at the desired location for the most pleasing labeling effect. This project will be later completed to show how to save the state of the dragged labels from the **SimpleMarkerOverlay** and reload them. In this WPF project, you will learn how to place labels from a shapefile into a **SimpleMarkerOverlay**. Using the **DragMode** property of the **SimpleMarkerOverlay**,​ the user can then drag the labels to place them at the desired location for the most pleasing labeling effect. This project will be later completed to show how to save the state of the dragged labels from the **SimpleMarkerOverlay** and reload them.
               ​               ​
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/DraggableLabelsSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​DraggableLabelSample/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/DraggableLabelsSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​DraggableLabelSample| View this sample on Gitlab]]
  
 ==== Color Replacement Sample for Wpf ==== ==== Color Replacement Sample for Wpf ====
Line 558: Line 523:
 In today’s WPF project, we show you how to replace a specific color in a raster image, with the advantage of new added API Color Mapping. For the example, in this project, the lake in Green can be replaced with blue.  ​ In today’s WPF project, we show you how to replace a specific color in a raster image, with the advantage of new added API Color Mapping. For the example, in this project, the lake in Green can be replaced with blue.  ​
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/ColorReplacementSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​ColorReplacementSample/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/ColorReplacementSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​ColorReplacementSample| View this sample on Github]]
  
 ==== Site Selection Sample for Wpf ==== ==== Site Selection Sample for Wpf ====
Line 569: Line 534:
 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_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/SiteSelectionSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​SiteSelectionSample/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/SiteSelectionSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​SiteSelectionSample| View this sample on Gitlab]]
  
 ==== Mini Map Sample for Wpf ==== ==== Mini Map Sample for Wpf ====
Line 581: Line 546:
 This project shows how to create a simple mini map to give a reference of where you are when you zoomed in. As for the MiniMapAdormentLayer inherits from AdornmentLayer. This project shows how to create a simple mini map to give a reference of where you are when you zoomed in. As for the MiniMapAdormentLayer inherits from AdornmentLayer.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/MiniMapSample-ForWpf/raw/master/​Screenshot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​MiniMapSample/​Screenshot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/MiniMapSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​MiniMapSample| View this sample on Gitlab]]
  
 ==== Magnetic Declination Sample for Wpf ==== ==== Magnetic Declination Sample for Wpf ====
Line 593: Line 558:
 In today'​s WPF project, we show you how to add the Magnetic Declination or Magnetic variation to the map, it's designed as an **AdormentLayer**,​ which is used for showing the angle on the horizontal plane between magnetic north (the direction in which the north end of a compass needle, corresponding to the direction of the Earth'​s magnetic field lines) and true north (the direction along a meridian towards the geographic North Pole). This angle varies depending on one's position on the Earth'​s surface, and over time. See In today'​s WPF project, we show you how to add the Magnetic Declination or Magnetic variation to the map, it's designed as an **AdormentLayer**,​ which is used for showing the angle on the horizontal plane between magnetic north (the direction in which the north end of a compass needle, corresponding to the direction of the Earth'​s magnetic field lines) and true north (the direction along a meridian towards the geographic North Pole). This angle varies depending on one's position on the Earth'​s surface, and over time. See
               ​               ​
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/MagneticDeclinationSample-ForWpf/raw/master/​ScreenShot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​MagneticDeclinationSample/​ScreenShot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/MagneticDeclinationSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​MagneticDeclinationSample| View this sample on Gitlab]]
  
 ==== Building 3D Sample for Wpf ==== ==== Building 3D Sample for Wpf ====
Line 604: Line 569:
 This project shows to create simulated 3D buildings on WPF map control and Shapefile. This project shows to create simulated 3D buildings on WPF map control and Shapefile.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/Building3DSample-forWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​Building3DLayerSample/​Screenshot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/Building3DSample-forWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​Building3DLayerSample| View this sample on Gitlab]]
  
 ==== Friends Network Sample for Wpf ==== ==== Friends Network Sample for Wpf ====
  
  
-In this WPF project we show how you can create a friends network using a point with a circle symbol. It’s a combination of PointStyle and TextStyle, including a description with a mask that keeps the labels in the same layer. It was originally required by a customer at [http://​community.thinkgeo.com/​t/​label-on-a-circle-with-lot-of-points/​8193/​6](http://​community.thinkgeo.com/​t/​label-on-a-circle-with-lot-of-points/​8193/​6), it’s a solution with many applications.+In this WPF project we show how you can create a friends network using a point with a circle symbol. It’s a combination of PointStyle and TextStyle, including a description with a mask that keeps the labels in the same layer. It was originally required by a customer at [[http://​community.thinkgeo.com/​t/​label-on-a-circle-with-lot-of-points/​8193/​6|http://​community.thinkgeo.com/​t/​label-on-a-circle-with-lot-of-points/​8193/​6]], it’s a solution with many applications.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/FriendsNetworkSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​FriendsNetworkSample/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/FriendsNetworkSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​FriendsNetworkSample| View this sample on Gitlab]]
  
 ==== Combine Overlay Sample for Wpf ==== ==== Combine Overlay Sample for Wpf ====
Line 628: Line 593:
 In today’s Wpf project, we show a technique of using a common FeatureSource for two different Overlays. From a physical shapefile representing cities, a regular LayerOverlay is used for the higher zoom levels while a FeatureSourceMarkerOverlay is used for the lower zoom levels. FeatureSourceMarkerOverlay is a Wpf specific overlay offering features for a better user experience such a Tooltips and ImageSource. ​             ​ In today’s Wpf project, we show a technique of using a common FeatureSource for two different Overlays. From a physical shapefile representing cities, a regular LayerOverlay is used for the higher zoom levels while a FeatureSourceMarkerOverlay is used for the lower zoom levels. FeatureSourceMarkerOverlay is a Wpf specific overlay offering features for a better user experience such a Tooltips and ImageSource. ​             ​
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/CombineOverlaySample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​CombineOverlaySample/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/CombineOverlaySample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​CombineOverlaySample| View this sample on Gitlab]]
  
 ==== US Demographic Map Sample for Wpf ==== ==== US Demographic Map Sample for Wpf ====
Line 639: Line 604:
 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_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/USDemographicMapSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​USDemographicMapSample/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/USDemographicMapSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​USDemographicMapSample| View this sample on Gitlab]]
  
 ==== Elevation Statistics Sample for WPF ==== ==== Elevation Statistics Sample for WPF ====
Line 655: Line 620:
  - **For polygon** - By setting the interval distance, clip the polygon to the grids and get all the center of the grids where the polygon is located. Now, determine whether the center points are within the surface or inside the surface (use improved arc-length method).  - **For polygon** - By setting the interval distance, clip the polygon to the grids and get all the center of the grids where the polygon is located. Now, determine whether the center points are within the surface or inside the surface (use improved arc-length method).
    
-{{https://github.com/ThinkGeo/ElevationStatisticsSample-ForWpf/raw/master/​Screenshot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​ElevationStatisticsSample/​Screenshot.png?​500|Screenshot}}
  
  
  
-[[https://github.com/ThinkGeo/ElevationStatisticsSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​ElevationStatisticsSample| View this sample on Gitlab]]
  
 ==== Local Datum UTM Sample for Wpf ==== ==== Local Datum UTM Sample for Wpf ====
Line 667: Line 632:
  
 See the code and note the comments in the **MouseMove** event where all the projection logic is taken place. Notice that the correction is about 200 meters. Once you understand for the case for Australia, you will be able to apply the same principles for your own datums in UTM.  See the code and note the comments in the **MouseMove** event where all the projection logic is taken place. Notice that the correction is about 200 meters. Once you understand for the case for Australia, you will be able to apply the same principles for your own datums in UTM. 
-              ​ 
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf) for the details. 
  
-{{https://github.com/ThinkGeo/LocalDatumUTMSample-ForWpf/​raw/​master/​ScreenShot.png?​500|Screenshot}}+Please refer to [[http://wiki.thinkgeo.com/wiki/map_suite_desktop_for_wpf|Wiki]] for the details.
  
 +{{https://​gitlab.com/​thinkgeo/​public/​thinkgeo-desktop-maps/​-/​raw/​support/​v10/​samples/​wpf/​LocalDatumUTMSample/​ScreenShot.png?​500|Screenshot}}
  
-[[https://github.com/ThinkGeo/LocalDatumUTMSample-ForWpf| View this sample on Github]]+ 
 +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​LocalDatumUTMSample| View this sample on Gitlab]]
  
 ==== Multi Line Labeling Sample for Wpf ==== ==== Multi Line Labeling Sample for Wpf ====
Line 679: Line 644:
  
 For labeling purpose, **TextStyle** has a property called LabelAllPolygonParts that will label all the parts making up a polygon based feature. Unfortunately,​ we don’t have an equivalent API for labeling all the parts of a line based feature. But thanks to the flexible framework of Map Suite, we show in this WPF sample how easily you can expand the **TextStyle** class to allow this labeling capability. Look at the custom class **MultiLinetextStyle** and how **DrawCore** function is overridden to have the expected labeling behavior. For labeling purpose, **TextStyle** has a property called LabelAllPolygonParts that will label all the parts making up a polygon based feature. Unfortunately,​ we don’t have an equivalent API for labeling all the parts of a line based feature. But thanks to the flexible framework of Map Suite, we show in this WPF sample how easily you can expand the **TextStyle** class to allow this labeling capability. Look at the custom class **MultiLinetextStyle** and how **DrawCore** function is overridden to have the expected labeling behavior.
-              ​ 
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf) for the details. 
  
-{{https://github.com/ThinkGeo/MultiLineLabelingSample-ForWpf/raw/master/​ScreenShot.png?​500|Screenshot}}+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] for the details. 
 + 
 +{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​MultiLineLabelingStyle/​ScreenShot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/MultiLineLabelingSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​MultiLineLabelingStyle| View this sample on Gitlab]]
  
 ==== Cluster Feature Layer Sample for Wpf ==== ==== Cluster Feature Layer Sample for Wpf ====
Line 691: Line 656:
 The sample shows how to use ClusterFeatureLayer to render the specified column data as a pie chart. Allows users to compare data visually. ​ The sample shows how to use ClusterFeatureLayer to render the specified column data as a pie chart. Allows users to compare data visually. ​
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/ClusterFeatureLayerSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​ClusterFeatureLayerSample/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/ClusterFeatureLayerSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​ClusterFeatureLayerSample| View this sample on Gitlab]]
  
 ==== Google Map To Geodetic Sample for Wpf ==== ==== Google Map To Geodetic Sample for Wpf ====
Line 702: Line 667:
  
 In this Wpf project, we are showing a trick for getting the current extent of the map with Google Map as an image and displaying it on a map in decimal degrees unit. You may be in a situation where you want the details and accuracy of Google Map, especially the satellite view but want to have it displayed on your map in decimal degrees. In this sample, you will see how to get the Google Map image and create the accompanying world file for decimal degrees. Notice that we are realizing an affine transformation on the image to go to Geodetic as illustrated in the case 3 In this Wpf project, we are showing a trick for getting the current extent of the map with Google Map as an image and displaying it on a map in decimal degrees unit. You may be in a situation where you want the details and accuracy of Google Map, especially the satellite view but want to have it displayed on your map in decimal degrees. In this sample, you will see how to get the Google Map image and create the accompanying world file for decimal degrees. Notice that we are realizing an affine transformation on the image to go to Geodetic as illustrated in the case 3
-              ​ 
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/GoogleMapToGeodeticSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​GoogleMapToGeodeticSample/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/GoogleMapToGeodeticSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​GoogleMapToGeodeticSample| View this sample on Gitlab]]
  
 ==== GPS Exchange Format Feature Layer Sample for Wpf ==== ==== GPS Exchange Format Feature Layer Sample for Wpf ====
Line 715: Line 679:
 This sample demonstrates how to read GPS EXchange Format file(*.gpx) with Map Suite. GPX (GPS Exchange Format) is a light-weight XML data format for the interchange of GPS data (waypoints, routes, and tracks) between applications and Web services on the Internet, which you can find more information:​here. Now Map Suite supports the GPX 1.0 and 1.1 schema. This sample works with Map Suite development branch daily build 7.0.275.0 or later. This sample demonstrates how to read GPS EXchange Format file(*.gpx) with Map Suite. GPX (GPS Exchange Format) is a light-weight XML data format for the interchange of GPS data (waypoints, routes, and tracks) between applications and Web services on the Internet, which you can find more information:​here. Now Map Suite supports the GPX 1.0 and 1.1 schema. This sample works with Map Suite development branch daily build 7.0.275.0 or later.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/GPSExchangeFormatFeatureLayerSample-ForWpf/raw/master/​Screenshot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​GPSExchangeFormatFeautureLayer/​Screenshot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/GPSExchangeFormatFeatureLayerSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​GPSExchangeFormatFeautureLayer| View this sample on Gitlab]]
  
 ==== Dynamic Marker Overlay Sample for Wpf ==== ==== Dynamic Marker Overlay Sample for Wpf ====
Line 726: Line 690:
 In today’s WPF project, we show you how to retrieve data from a REST service and display them as markers with different styles based on its attributes. You can click on any marker to call a WCF service which returns data from the server. A popup displays a chart with information. All the markers and related information are updated dynamically after a specific time interval. In today’s WPF project, we show you how to retrieve data from a REST service and display them as markers with different styles based on its attributes. You can click on any marker to call a WCF service which returns data from the server. A popup displays a chart with information. All the markers and related information are updated dynamically after a specific time interval.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/DynamicMarkerOverlaySample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​DynamicMarkerOverlaySample/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/DynamicMarkerOverlaySample-ForWpf| View this sample on Github]] +[[https://gitlab.com/thinkgeo/public/thinkgeo-desktop-maps/-/tree/support/v10/samples/wpf/DynamicMarkerOverlaySample| View this sample on Gitlab]]
-# Print Preview Sample for Wpf +
- +
-### Description +
-In this sample we show you how to add robust printing support to your Map Suite applications for the WPF. Using the code in this sample, you'll be able to build a Print Preview interface that lets your users interactively arrange items (such as a map, scale line, labels, data grid or image) on a virtual page before printing the result to a printer, exporting to a bitmap image. Maps are printed using vector graphics so you can be sure the output will look great on anything. +
- +
-Please refer to [Wiki](http:​//wiki.thinkgeo.com/​wiki/​thinkgeo_desktop_for_wpf) for the details. +
- +
-![Screenshot](https://​github.com/​ThinkGeo/PrintPreviewSample-ForWpf.NETCore/blob/master/Screenshot.png) +
- +
-### About the Code +
-```csharp +
-Map1.ZoomLevelSet = new PrinterZoomLevelSet(Map1.MapUnit,​ PrinterHelper.GetPointsPerGeographyUnit(Map1.MapUnit));​ +
- +
-PrinterInteractiveOverlay printerOverlay = new PrinterInteractiveOverlay();​ +
- +
-Map1.InteractiveOverlays.Add("​PrintPreviewOverlay",​ printerOverlay);​ +
-Map1.InteractiveOverlays.MoveToBottom("​PrintPreviewOverlay"​);​ +
- +
-PagePrinterLayer pagePrinterLayer = new PagePrinterLayer(PrinterPageSize.AnsiA,​ PrinterOrientation.Portrait);​ +
-pagePrinterLayer.Open();​ +
-printerOverlay.PrinterLayers.Add("​PageLayer",​ pagePrinterLayer);​ +
-``` +
-### Getting Help +
- +
-[Map Suite Desktop for Wpf Wiki Resources](http:​//wiki.thinkgeo.com/wiki/​thinkgeo_desktop_for_wpf) +
- +
-[Map Suite Desktop for Wpf Product Description](https://​thinkgeo.com/​ui-controls#​desktop-platforms) +
- +
-[ThinkGeo Community Site](http://​community.thinkgeo.com/​) +
- +
-[ThinkGeo Web Site](http://​www.thinkgeo.com) +
- +
-### About ThinkGeo +
-ThinkGeo is a GIS (Geographic Information Systems) company founded in 2004 and located in Frisco, TX. Our clients are in more than 40 industries including agriculture,​ energy, transportation,​ government, engineering,​ software development,​ and defense. +
  
 ==== ThinkGeo MBTiles Maps Sample for WPF ==== ==== ThinkGeo MBTiles Maps Sample for WPF ====
  
- +This sample demonstrates how you can draw the map with Vector Tiles saved in *.MBTiles in your Map Suite GIS applications,​ with any style you want from [[https://​wiki.thinkgeo.com/​wiki/​thinkgeo_stylejson|StyleJSON (Mapping Defination Grammar)]]. It will show you how to use the XyzFileBitmapTileCache 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 saved in *.MBTiles in your Map Suite GIS applications,​ with any style you want from [StyleJSON (Mapping Defination Grammar)](https://​wiki.thinkgeo.com/​wiki/​thinkgeo_stylejson). It will show you how to use the XyzFileBitmapTileCache 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 782: Line 710:
 *.MBTile format can be supported in all of the Map Suite controls such as Wpf, Web, MVC, WebApi, Android and iOS. *.MBTile format can be supported in all of the Map Suite controls such as Wpf, Web, MVC, WebApi, Android and iOS.
  
-Please refer to [Wiki](https://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[https://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/ThinkGeoMBTilesMapsSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​MBTilesMapSample/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/ThinkGeoMBTilesMapsSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​MBTilesMapSample| View this sample on Gitlab]]
  
 ==== Four Color Map Sample for Wpf ==== ==== Four Color Map Sample for Wpf ====
Line 797: Line 725:
 At present, the four color map only supports polygon, and doesn'​t support point and line.  At present, the four color map only supports polygon, and doesn'​t support point and line. 
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/FourColorMapSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​FourColorMapSample/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/FourColorMapSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​FourColorMapSample| View this sample on Gitlab]]
  
 ==== Elevation Grade Of Line Sample for Wpf ==== ==== Elevation Grade Of Line Sample for Wpf ====
  
-In this sample, we show how you can use Map Suite [Elevation SDK](https://​thinkgeo.com/​gisserver#​featureto get the elevation values of a specific line for your .NET application. It allows you to customize your query to get data as detailed as you need it to be. Draw elevation profiles for your  hiking or biking trip, contral the granularity of the response, sample elevation values at controllable intervals along a route should be shown up.+In this sample, we show how you can use Map Suite [[https://​thinkgeo.com/​gisserver#​feature|Elevation SDK]] to get the elevation values of a specific line for your .NET application. It allows you to customize your query to get data as detailed as you need it to be. Draw elevation profiles for your  hiking or biking trip, contral the granularity of the response, sample elevation values at controllable intervals along a route should be shown up.
  
-{{https://github.com/ThinkGeo/ElevationGradeOfLineSample-ForWpf/raw/master/​Screenshot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​ElevationGradeOfLineSample/​Screenshot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/ElevationGradeOfLineSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​ElevationGradeOfLineSample| View this sample on Gitlab]]
  
 ==== Custom Parameters Projection Sample for Wpf ==== ==== Custom Parameters Projection Sample for Wpf ====
Line 819: Line 747:
               ​               ​
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/CustomParametersProjectionSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​CustomParametersProjectionSample/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/CustomParametersProjectionSample-ForWpf| View this sample on Github]] +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​CustomParametersProjectionSample| View this sample on Gitlab]]
-# Class Break Style Sample for Wpf+
  
-### Description+==== Class Break Style Sample for Wpf ==== 
 + 
 +=== Description ​===
  
 In this project you will see how to use the ClassBreakStyle to group and render features by values. ClassBreakStyle is a useful technique as it allows you to group various features by the specified values, then applies differently style to the feature groups. ​ In this project you will see how to use the ClassBreakStyle to group and render features by values. ClassBreakStyle is a useful technique as it allows you to group various features by the specified values, then applies differently style to the feature groups. ​
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​thinkgeo_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​thinkgeo_desktop_for_wpf|Wiki]] ​for the details.
  
-![Screenshot](https://github.com/ThinkGeo/ClassBreakStyleSample-ForWpf.NETCore/blob/master/​Screenshot.png)+{{https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/-/raw/​support/​v10/​samples/​wpf/​ClassBreakeStyleSample/​Screenshot.png?​500|Screenshot}}
  
-### About the Code+[[https://​gitlab.com/​thinkgeo/​public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​ClassBreakeStyleSample?​ref_type=heads| View this sample on Gitlab]] 
 + 
 +=== About the Code ===
 Use a ClassBreakStyle to colorize each state differently depending on the range into which its population falls. ​ This value is found in the states ShapeFile DBF in the column named "​POP1990"​. Use a ClassBreakStyle to colorize each state differently depending on the range into which its population falls. ​ This value is found in the states ShapeFile DBF in the column named "​POP1990"​.
  
-```csharp +<​code>​
-       +
 ClassBreakStyle statesStyle = new ClassBreakStyle("​POP1990"​);​ ClassBreakStyle statesStyle = new ClassBreakStyle("​POP1990"​);​
 statesStyle.ClassBreaks.Add( statesStyle.ClassBreaks.Add(
Line 865: Line 795:
 statesLayer.ZoomLevelSet.ZoomLevel01.CustomStyles.Add(statesStyle);​ statesLayer.ZoomLevelSet.ZoomLevel01.CustomStyles.Add(statesStyle);​
 statesLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20;​ statesLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20;​
 +</​code>​
  
-```+=== Getting Help ===
  
-### Getting Help+[[http://​wiki.thinkgeo.com/​wiki/​thinkgeo_desktop_for_wpf|ThinkGeo Desktop for Wpf Wiki Resources]]
  
-[ThinkGeo Desktop for Wpf Wiki Resources](http://wiki.thinkgeo.com/​wiki/​thinkgeo_desktop_for_wpf)+[[https://​thinkgeo.com/​desktop-maps|ThinkGeo Desktop for Wpf Product Description]]
  
-[ThinkGeo Desktop for Wpf Product Description](https://​thinkgeo.com/​ui-controls#​desktop-platforms)+[[http://community.thinkgeo.com/​|ThinkGeo Community Site]]
  
-[ThinkGeo Community Site](http://community.thinkgeo.com/)+[[http://www.thinkgeo.com|ThinkGeo Web Site]]
  
-[ThinkGeo Web Site](http://​www.thinkgeo.com) +=== About ThinkGeo ​===
- +
-### About ThinkGeo+
 ThinkGeo is a GIS (Geographic Information Systems) company founded in 2004 and located in Frisco, TX. Our clients are in more than 40 industries including agriculture,​ energy, transportation,​ government, engineering,​ software development,​ and defense. ThinkGeo is a GIS (Geographic Information Systems) company founded in 2004 and located in Frisco, TX. Our clients are in more than 40 industries including agriculture,​ energy, transportation,​ government, engineering,​ software development,​ and defense.
  
Line 885: Line 814:
  
  
-In this wpf-based project, we'll demonstrate the new ArcGISServerRestLayer released with Map Suite 9.0. This layer gives developers a simple and powerful tool to access their maps that reside on ArcGIS Server. This new layer utilizes the [ArcGIS Server REST API](http://​resources.arcgis.com/​en/​help/​arcgis-rest-api/​). Now, the latest version of Map Suite Core can support that. In order to run this project, you will need the Development Build 9.0.443.0 or later.+In this wpf-based project, we'll demonstrate the new ArcGISServerRestLayer released with Map Suite 9.0. This layer gives developers a simple and powerful tool to access their maps that reside on ArcGIS Server. This new layer utilizes the [[http://​resources.arcgis.com/​en/​help/​arcgis-rest-api/​|ArcGIS Server REST API]]. Now, the latest version of Map Suite Core can support that. In order to run this project, you will need the Development Build 9.0.443.0 or later.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/ArcGISServerRestLayerSample-ForWPF/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​GetFeatureFromArcGISServer/​Screenshot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/ArcGISServerRestLayerSample-ForWPF| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​GetFeatureFromArcGISServer| View this sample on Gitlab]]
  
 ==== Large Scale Map Printing Sample for Wpf ==== ==== Large Scale Map Printing Sample for Wpf ====
Line 899: Line 828:
 This WPF project is the second in our series of samples on printing. The This WPF project is the second in our series of samples on printing. The
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details. +Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
- +
-{{https://​github.com/​ThinkGeo/​LargeScaleMapPrintingSample-ForWpf/​raw/​master/​ScreenShot.png?​500|Screenshot}}+
  
 +{{https://​gitlab.com/​thinkgeo/​public/​thinkgeo-desktop-maps/​-/​raw/​support/​v10/​samples/​wpf/​LargeScaleMapPrintingSample/​ScreenShot.png?​500|Screenshot}}
  
-[[https://github.com/ThinkGeo/LargeScaleMapPrintingSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​LargeScaleMapPrintingSample?​ref_type=heads| View this sample on Gitlab]]
  
 ==== Labeling Flight Lines Sample for Wpf ==== ==== Labeling Flight Lines Sample for Wpf ====
Line 910: Line 838:
 This sample shows how to offset arc shaped flight lines so multiple from point to point are visible and then show popup labels providing information on the flights the lines represent. This sample shows how to offset arc shaped flight lines so multiple from point to point are visible and then show popup labels providing information on the flights the lines represent.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/LabelingFlightLinesSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​LabelingFlightLinesSample/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/LabelingFlightLinesSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​LabelingFlightLinesSample| View this sample on Gitlab]]
  
 ==== Default Value Style Sample for Wpf ==== ==== Default Value Style Sample for Wpf ====
Line 922: Line 850:
 In today’s Wpf project, we demonstrate the extensibility of ThinkGeo API by creating a custom Style. Inheriting from **ValueStyle**,​ we create a Default Value Style that handles the drawing of features that don’t have a value defined in the **ValueStyle**. Here we are using a point based layer with **PointStyle**. Note that the Default **ValueStyle** would also work with line and polygon based layers. In today’s Wpf project, we demonstrate the extensibility of ThinkGeo API by creating a custom Style. Inheriting from **ValueStyle**,​ we create a Default Value Style that handles the drawing of features that don’t have a value defined in the **ValueStyle**. Here we are using a point based layer with **PointStyle**. Note that the Default **ValueStyle** would also work with line and polygon based layers.
               ​               ​
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/DefaultValueStyleSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​DefaultValueStyleSample/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/DefaultValueStyleSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​DefaultValueStyleSample| View this sample on Gitlab]]
  
 ==== Clipping On Line Layer Sample for Wpf ==== ==== Clipping On Line Layer Sample for Wpf ====
Line 933: Line 861:
 This Wpf project completes the series of projects dedicated to the clipping geoprocessing. We already saw how to perform clipping on a polygon based layer in “Clipping” and on a point layer in “Clipping On Point Layer”. Here we show how to perform the clipping geopressing on a line based layer. As for the same operation on a polygon based layer, the key geometric function is GetIntersection. We will also appreciate the operation of creating a layer from scratch as in addition to the geometric operation itself, geoprocessing also involves creating a result layer from the original layers, the clipping layer and the clipped layer. This Wpf project completes the series of projects dedicated to the clipping geoprocessing. We already saw how to perform clipping on a polygon based layer in “Clipping” and on a point layer in “Clipping On Point Layer”. Here we show how to perform the clipping geopressing on a line based layer. As for the same operation on a polygon based layer, the key geometric function is GetIntersection. We will also appreciate the operation of creating a layer from scratch as in addition to the geometric operation itself, geoprocessing also involves creating a result layer from the original layers, the clipping layer and the clipped layer.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/ClippingOnLineLayerSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​ClippingOnLineLayerSample/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/ClippingOnLineLayerSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​ClippingOnLineLayerSample| View this sample on Gitlab]]
  
 ==== Graticule With Google Projection Sample for Wpf ==== ==== Graticule With Google Projection Sample for Wpf ====
Line 945: Line 873:
 In this Wpf project, we explore more features of the **GraticuleAdornmentLayer**,​ which shows meridians and parallels at various intervals based on the zoom level. Being natively in Geodetic, **GraticuleAdornmentLayer** can be set to any projection. In this project’s example, you have the graticule showing with World Map Kit in Spherical Mercator (Google Map projection). Also, note how easily you can change the appearance with properties such as **GraticuleLineStyle** and **GraticuleTextFont**. In this Wpf project, we explore more features of the **GraticuleAdornmentLayer**,​ which shows meridians and parallels at various intervals based on the zoom level. Being natively in Geodetic, **GraticuleAdornmentLayer** can be set to any projection. In this project’s example, you have the graticule showing with World Map Kit in Spherical Mercator (Google Map projection). Also, note how easily you can change the appearance with properties such as **GraticuleLineStyle** and **GraticuleTextFont**.
               ​               ​
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/GraticuleWithGoogleProjectionSample-ForWpf/raw/master/​ScreenShot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​GraticuleWithGoogleProjectionSample/​ScreenShot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/GraticuleWithGoogleProjectionSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​GraticuleWithGoogleProjectionSample| View this sample on Gitlab]]
  
 ==== Edit Attribute Of Shapefile Sample for Wpf ==== ==== Edit Attribute Of Shapefile Sample for Wpf ====
Line 957: Line 885:
 The purpose of this Wpf sample is to show how to edit the attributes of a feature of a shapefile. This sample is useful for anyone wanting to actualize the attributes part of its data by simply clicking on the desired feature on the map and updating its attributes in a textbox. You will find the editing part of the code in the **KeyDown** event of the textbox. The purpose of this Wpf sample is to show how to edit the attributes of a feature of a shapefile. This sample is useful for anyone wanting to actualize the attributes part of its data by simply clicking on the desired feature on the map and updating its attributes in a textbox. You will find the editing part of the code in the **KeyDown** event of the textbox.
               ​               ​
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/EditAttributeOfShapefileSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​EditAttributeOfShapeFile/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/EditAttributeOfShapefileSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​EditAttributeOfShapeFile| View this sample on Gitlab]]
  
 ==== Display Oracle Data Sample for Wpf ==== ==== Display Oracle Data Sample for Wpf ====
Line 969: Line 897:
 Discover how to use OracleFeatureLayer to build up your map. Use oracle data to render map. Discover how to use OracleFeatureLayer to build up your map. Use oracle data to render map.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/DisplayOracleDataSample-ForWpf/raw/master/​Screenshot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​DisplayOracleDataSample/​Screenshot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/DisplayOracleDataSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​DisplayOracleDataSample| View this sample on Gitlab]]
  
 ==== Adjacent Road Search Sample for Wpf ==== ==== Adjacent Road Search Sample for Wpf ====
Line 983: Line 911:
 It’s based on Map Suite Geometry Topology module and does not require the Map Suite Routing Extension.  ​ It’s based on Map Suite Geometry Topology module and does not require the Map Suite Routing Extension.  ​
               ​               ​
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/AdjacentRoadSearchSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​AdjacentRoadSearchSample/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/AdjacentRoadSearchSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​AdjacentRoadSearchSample| View this sample on Gitlab]]
  
-==== NOAA Globel ​Weather Station Layer Sample for Wpf ====+==== NOAA Global ​Weather Station Layer Sample for Wpf ====
  
  
 This WPF project, demonstrates how to query and display real time NOAA weather station data directly as a **Layer**, which allows you to display up-to-date weather station data from around the world on top of your maps. The weather station data is sourced from NOAA and is refreshed every 15 minutes in the background. As these classes are inherited from the **FeatureSource** and **FeatureLayer**,​ many properties are querable and can be used to create a variety of maps or analysis of current weather patterns. This feature can be applied in all Map Suite products. ​             This WPF project, demonstrates how to query and display real time NOAA weather station data directly as a **Layer**, which allows you to display up-to-date weather station data from around the world on top of your maps. The weather station data is sourced from NOAA and is refreshed every 15 minutes in the background. As these classes are inherited from the **FeatureSource** and **FeatureLayer**,​ many properties are querable and can be used to create a variety of maps or analysis of current weather patterns. This feature can be applied in all Map Suite products. ​            
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/NOAAGlobelWeatherStationLayerSample-ForWpf/raw/master/​ScreenShot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​NOAAGlobalWeatherStationLayer/​ScreenShot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/NOAAGlobelWeatherStationLayerSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​NOAAGlobalWeatherStationLayer| View this sample on Gitlab]]
  
 ==== SQLite Bitmap Tile Cache Sample for Wpf ==== ==== SQLite Bitmap Tile Cache Sample for Wpf ====
Line 1007: Line 935:
 This sample shows how you can cache the tile images in SQLite database. This sample shows how you can cache the tile images in SQLite database.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/SQLiteBitmapTileCacheSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​SQLiteBitmapTileCache/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/SQLiteBitmapTileCacheSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​SQLiteBitmapTileCache| View this sample on Gitlab]]
  
 ==== Wmts Tiled Overlay Sample for Wpf ==== ==== Wmts Tiled Overlay Sample for Wpf ====
Line 1019: Line 947:
 This project shows how to consume data from a WMTS Server using WmtsOverlay. You would find the code pretty straightforward,​ while behind the scenes we request tiles from the server asynchronously and efficiently,​ and stitch them into a proper map.  This class is introduced from version 6.0.187.0, besides this WmtsOverlay,​ we also have WmtsLayer available. This project shows how to consume data from a WMTS Server using WmtsOverlay. You would find the code pretty straightforward,​ while behind the scenes we request tiles from the server asynchronously and efficiently,​ and stitch them into a proper map.  This class is introduced from version 6.0.187.0, besides this WmtsOverlay,​ we also have WmtsLayer available.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/WmtsTiledOverlaySample-ForWpf/raw/master/​Screenshot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​WmtsTileOverlaySample/​Screenshot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/WmtsTiledOverlaySample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​WmtsTileOverlaySample| View this sample on Gitlab]]
  
 ==== Display File GeoDatabase Sample for Wpf ==== ==== Display File GeoDatabase Sample for Wpf ====
Line 1031: Line 959:
 This sample demonstrates how you can read data from an ESRI FileGeodatabase,​ and you will find the code as straightforward as consuming any other data source in Map Suite. This sample demonstrates how you can read data from an ESRI FileGeodatabase,​ and you will find the code as straightforward as consuming any other data source in Map Suite.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/DisplayFileGeoDatabaseSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​DisplayFileGeoDatabase/​Screenshot.gif?​500|Screenshot}}
  
- +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​DisplayFileGeoDatabase| View this sample on Gitlab]]
-[[https://github.com/ThinkGeo/DisplayFileGeoDatabaseSample-ForWpf| View this sample on Github]]+
  
 ==== Multiple Dot Density Styles Sample for Wpf ==== ==== Multiple Dot Density Styles Sample for Wpf ====
Line 1045: Line 972:
 Note that the **PointToValueRatio** is used to set how many people a dot is going to represent. For example, if you want a dot to represent 100,000 persons, you set it to 0.00001 (1 / 100000). If you want it to be 500,000 persons, you set it to 0.000002 (1 / 500000). Note that the **PointToValueRatio** is used to set how many people a dot is going to represent. For example, if you want a dot to represent 100,000 persons, you set it to 0.00001 (1 / 100000). If you want it to be 500,000 persons, you set it to 0.000002 (1 / 500000).
               ​               ​
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/MultipleDotDensityStylesSample-ForWpf/raw/master/​ScreenShot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​MultipleDotDensityStyleSample/​ScreenShot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/MultipleDotDensityStylesSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​MultipleDotDensityStyleSample| View this sample on Gitlab]]
  
 ==== BackgroundMapSwitchingSample-ForWpf ==== ==== BackgroundMapSwitchingSample-ForWpf ====
Line 1060: Line 987:
  - **Google Maps**  - **Google Maps**
  
-{{https://github.com/ThinkGeo/BackgroundMapSwitchingSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​BackgroundMapSwitchingSample/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/BackgroundMapSwitchingSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​BackgroundMapSwitchingSample?​ref_type=heads| View this sample on Gitlab]]
  
 ==== Highlight At Mouse Hover Sample for Wpf ==== ==== Highlight At Mouse Hover Sample for Wpf ====
Line 1070: Line 997:
 In this WPF project, we show you how to highlight a feature when the user hovers the mouse pointer over it. This effect can be realized in Map Suite by using a timer and doing some spatial querying based on the location of the mouse pointer. This sample works with area-based features but the same could be accomplished with point- or line-based features simply by using different spatial queries. In this WPF project, we show you how to highlight a feature when the user hovers the mouse pointer over it. This effect can be realized in Map Suite by using a timer and doing some spatial querying based on the location of the mouse pointer. This sample works with area-based features but the same could be accomplished with point- or line-based features simply by using different spatial queries.
               ​               ​
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/HighlightAtMouseHoverSample-ForWpf/raw/master/​ScreenShot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​HighlightAtMouseHoverSample/​ScreenShot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/HighlightAtMouseHoverSample-ForWpf| View this sample on Github]] +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​HighlightAtMouseHoverSample| View this sample on Gitlab]]
-# Cluster Point Sample for Wpf+
  
-### Description+==== Cluster Point Sample for Wpf ==== 
 + 
 +=== Description ​===
  
 ClusterPointStyle is integrated into ThinkGeo'​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 ThinkGeo'​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/​thinkgeo_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​thinkgeo_desktop_for_wpf|Wiki]] ​for the details.
  
-![Screenshot](https://github.com/ThinkGeo/ClusterPointSample-ForWpf.NETCore/blob/master/​Screenshot.gif)+{{https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/-/raw/​support/​v10/​samples/​wpf/​ClusterFeatureLayerSample/​Screenshot.gif?​500|Screenshot}}
  
-### About the Code +[[https://​gitlab.com/​thinkgeo/​public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​ClusterFeatureLayerSample?​ref_type=heads| View this sample on Gitlab]] 
-```csharp+ 
 +=== About the Code === 
 +<​code>​
 ClusterPointStyle clusterPointStyle = new ClusterPointStyle();​ ClusterPointStyle clusterPointStyle = new ClusterPointStyle();​
 clusterPointStyle.MinimumFeaturesPerCellToCluster = 1; clusterPointStyle.MinimumFeaturesPerCellToCluster = 1;
Line 1140: Line 1070:
     return classBreakStyle;​     return classBreakStyle;​
 } }
-```+</​code>​
  
-### Getting Help+=== Getting Help ===
  
-[ThinkGeo Desktop for Wpf Wiki Resources](http://​wiki.thinkgeo.com/​wiki/​thinkgeo_desktop_for_wpf)+[[http://​wiki.thinkgeo.com/​wiki/​thinkgeo_desktop_for_wpf|ThinkGeo Desktop for Wpf Wiki Resources]]
  
-[ThinkGeo Desktop for Wpf Product Description](https://​thinkgeo.com/​ui-controls#​desktop-platforms)+[[https://​thinkgeo.com/​desktop-maps|ThinkGeo Desktop for Wpf Product Description]]
  
-[ThinkGeo Community Site](http://​community.thinkgeo.com/​)+[[http://​community.thinkgeo.com/​|ThinkGeo Community Site]]
  
-[ThinkGeo Web Site](http://​www.thinkgeo.com)+[[http://​www.thinkgeo.com|ThinkGeo Web Site]]
  
-### About ThinkGeo+=== About ThinkGeo ​===
 ThinkGeo is a GIS (Geographic Information Systems) company founded in 2004 and located in Frisco, TX. Our clients are in more than 40 industries including agriculture,​ energy, transportation,​ government, engineering,​ software development,​ and defense. ThinkGeo is a GIS (Geographic Information Systems) company founded in 2004 and located in Frisco, TX. Our clients are in more than 40 industries including agriculture,​ energy, transportation,​ government, engineering,​ software development,​ and defense.
  
Line 1160: Line 1090:
 This sample shows how to use GeoTiff raster layer to mask the background map and allows users to draw a polygon shape in order to only show the raster image which is covered by the polygon. The rendering logic can be applied to other RasterLayers by overwriting DrawCore method. ​ This sample shows how to use GeoTiff raster layer to mask the background map and allows users to draw a polygon shape in order to only show the raster image which is covered by the polygon. The rendering logic can be applied to other RasterLayers by overwriting DrawCore method. ​
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
 {{https://​github.com/​ThinkGeo/​MaskRasterLayerSample-ForWpf/​raw/​master/​Screenshot.png?​500|Screenshot}} {{https://​github.com/​ThinkGeo/​MaskRasterLayerSample-ForWpf/​raw/​master/​Screenshot.png?​500|Screenshot}}
Line 1248: Line 1178:
 In this Wpf sample, we show how to persist the tracked shapes by saving the WKT (Well Known Text) to a file using the TrackEnded event. Also, you can see how to retrieve the WKT from files to create the features for the TrackShapeLayer of the TrackOverlay when loading the map. You will need the MapSuiteCore.dll and WpfDesktopEdition.dll references for this sample. In this Wpf sample, we show how to persist the tracked shapes by saving the WKT (Well Known Text) to a file using the TrackEnded event. Also, you can see how to retrieve the WKT from files to create the features for the TrackShapeLayer of the TrackOverlay when loading the map. You will need the MapSuiteCore.dll and WpfDesktopEdition.dll references for this sample.
               ​               ​
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/TrackedShapesToFileSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​TrackedShapeFile/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/TrackedShapesToFileSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​TrackedShapeFile| View this sample on Gitlab]]
  
 ==== Save Load State Sample for Wpf ==== ==== Save Load State Sample for Wpf ====
Line 1260: Line 1190:
 The purpose of this Wpf project is to show how to use the new SaveState and LoadState of the SimpleMarkerOverlay. We show how you can simply drag the icons to change their location, save their state to a file and then reload the state from that file. For this sample to work, you will need to use the latest The purpose of this Wpf project is to show how to use the new SaveState and LoadState of the SimpleMarkerOverlay. We show how you can simply drag the icons to change their location, save their state to a file and then reload the state from that file. For this sample to work, you will need to use the latest
               ​               ​
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/SaveLoadStateSample-ForWpf/raw/master/​ScreenShot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​SaveAndLoadStates/​ScreenShot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/SaveLoadStateSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​SaveAndLoadStates| View this sample on Gitlab]]
  
 ==== Snap To Layer Sample for Wpf ==== ==== Snap To Layer Sample for Wpf ====
Line 1273: Line 1203:
 This class allowed the snapping of the mouse pointer to the closest vertex of a polygon if it is within a set tolerance. While this worked great for simple polygons, there was a performance limitation with complex polygons made of many vertices. This Wpf sample addresses this limitation and allows responsive dragging and snapping of vertex regardless of the size of polygon to snap to. This class allowed the snapping of the mouse pointer to the closest vertex of a polygon if it is within a set tolerance. While this worked great for simple polygons, there was a performance limitation with complex polygons made of many vertices. This Wpf sample addresses this limitation and allows responsive dragging and snapping of vertex regardless of the size of polygon to snap to.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/SnapToLayerSample-ForWpf/raw/master/​ScreenShot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​SnapToLayerSample/​ScreenShot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/SnapToLayerSample-ForWpf| View this sample on Github]] +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​SnapToLayerSample| View this sample on Gitlab]]
-# MBTiles Extractor Sample for WPF+
  
-### Description+==== MBTiles Extractor Sample for WPF ==== 
 + 
 +=== Description ​===
  
 The MBTiles Extractor allows you to create new smaller subsets from the MBTiles database. You simply specify the bounding box by tracking a rectangle shape on the map for the new area, then it will create a new SQLite database for that regions. ​ The MBTiles Extractor allows you to create new smaller subsets from the MBTiles database. You simply specify the bounding box by tracking a rectangle shape on the map for the new area, then it will create a new SQLite database for that regions. ​
Line 1287: Line 1218:
 *.MBTile format can be supported in all of the Map Suite controls such as Wpf, Web, MVC, WebApi, Android and iOS. *.MBTile format can be supported in all of the Map Suite controls such as Wpf, Web, MVC, WebApi, Android and iOS.
  
-Please refer to [Wiki](https://​wiki.thinkgeo.com/​wiki/​thinkgeo_desktop_for_wpffor the details.+Please refer to [[https://​wiki.thinkgeo.com/​wiki/​thinkgeo_desktop_for_wpf|Wiki]] ​for the details.
  
-![Screenshot](https://github.com/ThinkGeo/MBTilesExtractorSample-ForWpf.NETCore/blob/master/​Screenshot.gif)+{{https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/-/raw/​support/​v10/​samples/​wpf/​MBTilesExtractorSample/​Screenshot.gif?​500|Screenshot}}
  
-### About the Code+[[https://​gitlab.com/​thinkgeo/​public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​MBTilesExtractorSample| View this sample on Gitlab]] 
 + 
 +=== About the Code ===
 The sample can extract MBTiles from source database to target database. One thing needs to be aware of: there are three tables ("​map","​images","​metadata"​) need to be copied from source database to target database. The sample can extract MBTiles from source database to target database. One thing needs to be aware of: there are three tables ("​map","​images","​metadata"​) need to be copied from source database to target database.
-```csharp+<​code>​
 ThinkGeoMBTilesLayer.CreateDatabase(targetFilePath);​ ThinkGeoMBTilesLayer.CreateDatabase(targetFilePath);​
 var targetDBConnection = new SqliteConnection($"​Data Source={targetFilePath}"​);​ var targetDBConnection = new SqliteConnection($"​Data Source={targetFilePath}"​);​
Line 1340: Line 1273:
     }     }
 } }
-``` +</​code>​
-### Getting Help+
  
-[Map Suite UI Control for WPF Wiki Resources](https://​wiki.thinkgeo.com/​wiki/​thinkgeo_desktop_for_wpf)+=== Getting Help ===
  
-[Map Suite UI Control for WPF Product Description](https://​thinkgeo.com/​gis-ui-desktop#​platforms)+[[https://wiki.thinkgeo.com/​wiki/​thinkgeo_desktop_for_wpf|Map Suite UI Control for WPF Wiki Resources]]
  
-[ThinkGeo Community Site](http://community.thinkgeo.com/​)+[[https://​thinkgeo.com/​gis-ui-desktop#​platforms|Map Suite UI Control for WPF Product Description]]
  
-[ThinkGeo Web Site](http://www.thinkgeo.com)+[[http://community.thinkgeo.com/|ThinkGeo Community Site]]
  
-### About ThinkGeo+[[http://​www.thinkgeo.com|ThinkGeo Web Site]] 
 + 
 +=== About ThinkGeo ​===
 ThinkGeo is a GIS (Geographic Information Systems) company founded in 2004 and located in Frisco, TX. Our clients are in more than 40 industries including agriculture,​ energy, transportation,​ government, engineering,​ software development,​ and defense. ThinkGeo is a GIS (Geographic Information Systems) company founded in 2004 and located in Frisco, TX. Our clients are in more than 40 industries including agriculture,​ energy, transportation,​ government, engineering,​ software development,​ and defense.
  
Line 1362: Line 1296:
 Notice the two handy properties to give you more control: Spacing property to adjust the distance in screen coordinate between each symbol on the line, and Side property to control on what side of the line front the symbols should appear. Of course, as you zoom in and out on the map the spacing between each symbol remain the same as it is set in screen coordinate. ​             ​ Notice the two handy properties to give you more control: Spacing property to adjust the distance in screen coordinate between each symbol on the line, and Side property to control on what side of the line front the symbols should appear. Of course, as you zoom in and out on the map the spacing between each symbol remain the same as it is set in screen coordinate. ​             ​
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/WeatherLineStyleSample-ForWpf/raw/master/​ScreenShot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​WeatherLineStyleSample/​ScreenShot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/WeatherLineStyleSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​WeatherLineStyleSample| View this sample on Gitlab]]
  
 ==== Display MsSql GeoDatabase Sample for Wpf ==== ==== Display MsSql GeoDatabase Sample for Wpf ====
Line 1374: Line 1308:
 This sample demonstrates how you can read data from an MsSql database, and you will find the code as straightforward as consuming any other data source in Map Suite. This sample demonstrates how you can read data from an MsSql database, and you will find the code as straightforward as consuming any other data source in Map Suite.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/DisplayMsSqlDatabaseSample-ForWpf/raw/master/​Screenshot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​DisplayMsSQLDatabaseSample/​Screenshot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/DisplayMsSqlDatabaseSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​DisplayMsSQLDatabaseSample| View this sample on Gitlab]]
  
 ==== Use Wpf Map Control Sample for WinForms ==== ==== Use Wpf Map Control Sample for WinForms ====
Line 1387: Line 1321:
  
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|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| View this sample on Gitlab]]
  
 ==== ThinkGeo Cloud Color Sample for Wpf ==== ==== ThinkGeo Cloud Color Sample for Wpf ====
Line 1408: Line 1342:
 ThinkGeo Cloud Client support would work in all of the Map Suite controls such as Wpf, Web, MVC, WebApi, Android and iOS. ThinkGeo Cloud Client 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_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/ThinkGeoCloudColorSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​CloudColorSample/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/ThinkGeoCloudColorSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​CloudColorSample| View this sample on Gitlab]]
  
 ==== Print Popup And Marker Sample for Wpf ==== ==== Print Popup And Marker Sample for Wpf ====
Line 1420: Line 1354:
 Popup and marker need to use click events etc, so they inherit Control class. SimpleMarkerOverlay and PopupOverlay can't be printed directly, and They need to be converted to image. This sample demonstrates how to print popup and marker by PrinterGeoCanvas. ​ Popup and marker need to use click events etc, so they inherit Control class. SimpleMarkerOverlay and PopupOverlay can't be printed directly, and They need to be converted to image. This sample demonstrates how to print popup and marker by PrinterGeoCanvas. ​
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/PrintPopupAndMarkerSample-ForWpf/raw/master/​Screenshot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​PrintPopUpAndMarkerSample/​Screenshot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/PrintPopupAndMarkerSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​PrintPopUpAndMarkerSample| View this sample on Gitlab]]
  
 ==== Raster Layer Print Quality Sample for Wpf ==== ==== Raster Layer Print Quality Sample for Wpf ====
Line 1431: Line 1365:
 This WPF project is the 3rd sample on the printing series. It demonstrates how to print your maps in high quality. This new feature for Map Suite is available in version 9.0.483.0 or later. From the sample you will better understand how to use DPI for handling print quality. The sample is based on raster images, but could also be used with vector data. This WPF project is the 3rd sample on the printing series. It demonstrates how to print your maps in high quality. This new feature for Map Suite is available in version 9.0.483.0 or later. From the sample you will better understand how to use DPI for handling print quality. The sample is based on raster images, but could also be used with vector data.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/RasterLayerPrintQualitySample-ForWpf/raw/master/​Screenshot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​RasterLayerPrintQuality/​Screenshot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/RasterLayerPrintQualitySample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​RasterLayerPrintQuality| View this sample on Gitlab]]
  
 ==== Custom Rotation Projection Sample for Wpf ==== ==== Custom Rotation Projection Sample for Wpf ====
Line 1442: Line 1376:
 In today’s project, we show how to create your own projection class that allows projecting a layer from any internal projection to any external while doing a rotation at the same time. Having the capability to apply those two operations in one step may come handy if the original layer was created in a different projection with the north at an angle and you want to align it on the base map. In today’s project, we show how to create your own projection class that allows projecting a layer from any internal projection to any external while doing a rotation at the same time. Having the capability to apply those two operations in one step may come handy if the original layer was created in a different projection with the north at an angle and you want to align it on the base map.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/CustomRotationProjectionSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​CustomRotationProjectionSample/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/CustomRotationProjectionSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​CustomRotationProjectionSample| View this sample on Gitlab]]
  
 ==== Centering And Rotating Sample for Wpf ==== ==== Centering And Rotating Sample for Wpf ====
Line 1454: Line 1388:
 This project is the Wpf version of the services edition sample “Centering and Rotating On Moving Feature”, where we learn how to have the map always centered and rotated based on the location and direction of a moving vehicle. This issues addresses some issues you have to be aware of regarding both ShapeFileFeatureLayer and InMemoryFeatureLayer when applying rotation to the map. This project is the Wpf version of the services edition sample “Centering and Rotating On Moving Feature”, where we learn how to have the map always centered and rotated based on the location and direction of a moving vehicle. This issues addresses some issues you have to be aware of regarding both ShapeFileFeatureLayer and InMemoryFeatureLayer when applying rotation to the map.
               ​               ​
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/CenteringAndRotatingSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​CenteringAndRotatingSample/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/CenteringAndRotatingSample-ForWpf| View this sample on Github]] +[[https://gitlab.com/thinkgeo/public/thinkgeo-desktop-maps/-/tree/support/v10/samples/wpf/CenteringAndRotatingSample| View this sample ​on Gitlab]]
-# Class Break Style Sample for Wpf +
- +
-### Description +
- +
-In this project you will see how to use the ClassBreakStyle to group and render features by values. ClassBreakStyle is a useful technique as it allows you to group various features by the specified values, then applies differently style to the feature groups.  +
- +
-Please refer to [Wiki](http:​//wiki.thinkgeo.com/wiki/thinkgeo_desktop_for_wpf) for the details. +
- +
-![Screenshot](https:​//github.com/ThinkGeo/ClassBreakStyleSample-ForWpf/blob/​master/​Screenshot.png) +
- +
-### About the Code +
-Use a ClassBreakStyle to colorize each state differently depending ​on the range into which its population falls. ​ This value is found in the states ShapeFile DBF in the column named "​POP1990"​. +
- +
-```csharp +
-        +
-ClassBreakStyle statesStyle = new ClassBreakStyle("​POP1990"​);​ +
-statesStyle.ClassBreaks.Add( +
-    new ClassBreak(value:​ 0, areaStyle: AreaStyles.CreateSimpleAreaStyle( +
-        fillBrushColor:​ GeoColors.LightGray,​ +
-        outlinePenColor:​ GeoColors.DarkGray,​ +
-        outlinePenWidth:​ 1) +
-    ) +
-); +
-statesStyle.ClassBreaks.Add( +
-    new ClassBreak(value:​ 1000000, areaStyle: AreaStyles.CreateSimpleAreaStyle( +
-        fillBrushColor:​ GeoColors.LightBlue,​ +
-        outlinePenColor:​ GeoColors.CornflowerBlue,​ +
-        outlinePenWidth:​ 1) +
-    ) +
-); +
-statesStyle.ClassBreaks.Add( +
-    new ClassBreak(value:​ 3500000, areaStyle: AreaStyles.CreateSimpleAreaStyle( +
-        fillBrushColor:​ GeoColors.SkyBlue,​ +
-        outlinePenColor:​ GeoColors.DeepSkyBlue,​ +
-        outlinePenWidth:​ 1) +
-    ) +
-); +
-// Add stateStyle to the statesLayer and apply the style to all zoom levels. +
-statesLayer.ZoomLevelSet.ZoomLevel01.CustomStyles.Add(statesStyle);​ +
-statesLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20;​ +
- +
-``` +
- +
-### Getting Help +
- +
-[ThinkGeo Desktop for Wpf Wiki Resources](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf) +
- +
-[ThinkGeo Desktop for Wpf Product Description](https://​thinkgeo.com/​ui-controls#​desktop-platforms) +
- +
-[ThinkGeo Community Site](http://​community.thinkgeo.com/​) +
- +
-[ThinkGeo Web Site](http://​www.thinkgeo.com) +
- +
-### About ThinkGeo +
-ThinkGeo is a GIS (Geographic Information Systems) company founded in 2004 and located in Frisco, TX. Our clients are in more than 40 industries including agriculture,​ energy, transportation,​ government, engineering,​ software development,​ and defense. +
  
 ==== Wrap Dateline Mode Sample for Wpf ==== ==== Wrap Dateline Mode Sample for Wpf ====
- 
  
 In this Wpf project, we show a new property of Overlay, WrapDatelineMode. This property that allows to continuously pan west or east with world map was already available in the dev branch. This concept was shown in the previous sample “WrapDatelineMode”. Now it is fully supported in Map Suite 5 and you can see in this sample how the behavior for the map in both Decimal Degrees (Lat/Long) and Spherical Mercator (Google Map/Bing map projection). In order to run this sample, you will need the latest release for Wpf with references to MapSuiteCore.dll and WpfDesktopEdition.dll. In this Wpf project, we show a new property of Overlay, WrapDatelineMode. This property that allows to continuously pan west or east with world map was already available in the dev branch. This concept was shown in the previous sample “WrapDatelineMode”. Now it is fully supported in Map Suite 5 and you can see in this sample how the behavior for the map in both Decimal Degrees (Lat/Long) and Spherical Mercator (Google Map/Bing map projection). In order to run this sample, you will need the latest release for Wpf with references to MapSuiteCore.dll and WpfDesktopEdition.dll.
               ​               ​
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/WrapDatelineModeSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​DistanceQuerryOnWrapDateLineModeSample/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/WrapDatelineModeSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​DistanceQuerryOnWrapDateLineModeSample| View this sample on Gitlab]]
  
 ==== Map Loading Progress Sample for Wpf ==== ==== Map Loading Progress Sample for Wpf ====
Line 1534: Line 1411:
 Discover how to use progress bar to show the LayerOverlay rendering progress. The project is simple and meant to show only the basic logic; to extend it, you could add some other information or a loading image instead of a progress bar. Discover how to use progress bar to show the LayerOverlay rendering progress. The project is simple and meant to show only the basic logic; to extend it, you could add some other information or a loading image instead of a progress bar.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/MapLoadingProgressSample-ForWpf/raw/master/​Screenshot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​MapLoadingProgressSample/​Screenshot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/MapLoadingProgressSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​MapLoadingProgressSample| View this sample on Gitlab]]
  
 ==== ThinkGeo Cloud Geocoding Sample for Wpf ==== ==== ThinkGeo Cloud Geocoding Sample for Wpf ====
Line 1548: Line 1425:
 ThinkGeo Cloud Client support would work in all of the Map Suite controls such as Wpf, Web, MVC, WebApi, Android and iOS. ThinkGeo Cloud Client 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_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/ThinkGeoCloudGeocodingSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​CloudGeocodingSample/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/ThinkGeoCloudGeocodingSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​CloudGeocodingSample| View this sample on Gitlab]]
  
 ==== Select And Drag Feature Sample for Wpf ==== ==== Select And Drag Feature Sample for Wpf ====
Line 1560: Line 1437:
 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.
               ​               ​
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/SelectAndDragFeatureSample-ForWpf/raw/master/​ScreenShot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​SelectAndDragFeatureSample/​ScreenShot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/SelectAndDragFeatureSample-ForWpf| View this sample on Github]] +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​SelectAndDragFeatureSample| View this sample on Gitlab]]
-# Cad Viewer Sample for Wpf+
  
-### Description+==== Cad Viewer Sample for Wpf ==== 
 + 
 +=== Description ​===
  
 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/​thinkgeo_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​thinkgeo_desktop_for_wpf|Wiki]] ​for the details.
  
-![Screenshot](https://​github.com/​ThinkGeo/​CadViewerSample-ForWpf.NETCore/​blob/​master/​Screenshot.png)+{{https://​github.com/​ThinkGeo/​CadViewerSample-ForWpf.NETCore/​blob/​master/​Screenshot.png?​500|Screenshot}}
  
 ### About the Code ### About the Code
Line 1600: Line 1478:
 ThinkGeo is a GIS (Geographic Information Systems) company founded in 2004 and located in Frisco, TX. Our clients are in more than 40 industries including agriculture,​ energy, transportation,​ government, engineering,​ software development,​ and defense. ThinkGeo is a GIS (Geographic Information Systems) company founded in 2004 and located in Frisco, TX. Our clients are in more than 40 industries including agriculture,​ energy, transportation,​ government, engineering,​ software development,​ and defense.
  
-Image Style Sample for Wpf+==== Image Style Sample for Wpf ====
  
-### Description+=== Description ​===
 As you probably already know, using the Map Suite API, you can easily display a point-based feature as an image. But how do you do the same thing for a line or a polygon-based feature? In this WPF project, we show you how to create custom Image Styles for both line and polygon features. With the new ImageAreaStyle,​ you can display a polygon feature that uses an image as its fill. You can see how an image for forest and water is used in the sample project. And with the new ImageLineStyle,​ you can do the same thing with line features. You'll see how an image of a pavement texture is used to represent streets. As you probably already know, using the Map Suite API, you can easily display a point-based feature as an image. But how do you do the same thing for a line or a polygon-based feature? In this WPF project, we show you how to create custom Image Styles for both line and polygon features. With the new ImageAreaStyle,​ you can display a polygon feature that uses an image as its fill. You can see how an image for forest and water is used in the sample project. And with the new ImageLineStyle,​ you can do the same thing with line features. You'll see how an image of a pavement texture is used to represent streets.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​thinkgeo_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​thinkgeo_desktop_for_wpf|Wiki]] ​for the details.
  
-![Screenshot](https://github.com/ThinkGeo/ImageStyleSample-ForWpf.NETCore/blob/master/​Screenshot.png)+{{https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/-/raw/​support/​v10/​samples/​wpf/​ImageStyleSample/​Screenshot.png?​500|Screenshot}}
  
-### About the Code +[[https://​gitlab.com/​thinkgeo/​public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​ImageStyleSample| View this sample on Gitlab]] 
-```csharp+ 
 +=== About the Code === 
 +<​code>​
 [Serializable] [Serializable]
 class ImageAreaStyle : Style class ImageAreaStyle : Style
Line 1641: Line 1521:
     }     }
 } }
-``` +</​code>​ 
-### Getting Help+=== Getting Help ===
  
-[Map Suite Desktop for Wpf Wiki Resources](http://​wiki.thinkgeo.com/​wiki/​thinkgeo_desktop_for_wpf)+[[http://​wiki.thinkgeo.com/​wiki/​thinkgeo_desktop_for_wpf|Map Suite Desktop for Wpf Wiki Resources]]
  
-[Map Suite Desktop for Wpf Product Description](https://​thinkgeo.com/​ui-controls#​desktop-platforms)+[[https://​thinkgeo.com/​desktop-maps|Map Suite Desktop for Wpf Product Description]]
  
-[ThinkGeo Community Site](http://​community.thinkgeo.com/​)+[[http://​community.thinkgeo.com/​|ThinkGeo Community Site]]
  
-[ThinkGeo Web Site](http://​www.thinkgeo.com)+[[http://​www.thinkgeo.com|ThinkGeo Web Site]]
  
-### About ThinkGeo+=== About ThinkGeo ​===
 ThinkGeo is a GIS (Geographic Information Systems) company founded in 2004 and located in Frisco, TX. Our clients are in more than 40 industries including agriculture,​ energy, transportation,​ government, engineering,​ software development,​ and defense. ThinkGeo is a GIS (Geographic Information Systems) company founded in 2004 and located in Frisco, TX. Our clients are in more than 40 industries including agriculture,​ energy, transportation,​ government, engineering,​ software development,​ and defense.
  
-Earthquake Statistics Sample for Wpf+==== Earthquake Statistics Sample for Wpf ====
  
-### Description+=== Description ​===
 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/​thinkgeo_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​thinkgeo_desktop_for_wpf|Wiki]] ​for the details. 
 + 
 +{{https://​gitlab.com/​thinkgeo/​public/​thinkgeo-desktop-maps/​-/​raw/​support/​v10/​samples/​wpf/​EarthquakeStatisticSample/​Screenshot.gif?​500|Screenshot}}
  
-![Screenshot](https://github.com/ThinkGeo/EarthquakeStatisticsSample-ForWpf.NETCore/blob/master/Screenshot.gif)+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/-/tree/support/​v10/​samples/​wpf/​EarthquakeStatisticSample?​ref_type=heads| View this sample on Gitlab]]
  
-### About the Code +=== About the Code === 
-```csharp+<​code>​
 GridInterpolationModel interpolationModel = new InverseDistanceWeightedGridInterpolationModel(3,​ double.MaxValue);​ GridInterpolationModel interpolationModel = new InverseDistanceWeightedGridInterpolationModel(3,​ double.MaxValue);​
 isoLineLayer = new DynamicIsoLineLayer(dataPoints,​ IsoLineLayer.GetIsoLineLevels(dataPoints.Values,​ 12),  isoLineLayer = new DynamicIsoLineLayer(dataPoints,​ IsoLineLayer.GetIsoLineLevels(dataPoints.Values,​ 12), 
Line 1676: Line 1558:
                                      new AreaStyle(new GeoPen(GeoColor.FromHtml("#​FE6B06"​),​ 1),                                       new AreaStyle(new GeoPen(GeoColor.FromHtml("#​FE6B06"​),​ 1), 
                                      new GeoSolidBrush(new GeoColor(100,​ levelAreaColors[0])))));​                                      new GeoSolidBrush(new GeoColor(100,​ levelAreaColors[0])))));​
-``` +</​code>​
-### Getting Help+
  
-[Map Suite Desktop for Wpf Wiki Resources](http://​wiki.thinkgeo.com/​wiki/​thinkgeo_desktop_for_wpf)+=== Getting Help ===
  
-[Map Suite Desktop for Wpf Product Description](https://​thinkgeo.com/​ui-controls#​desktop-platforms)+[[http://wiki.thinkgeo.com/​wiki/​thinkgeo_desktop_for_wpf|Map Suite Desktop for Wpf Wiki Resources]]
  
-[ThinkGeo Community Site](http://community.thinkgeo.com/​)+[[https://​thinkgeo.com/​desktop-maps|Map Suite Desktop for Wpf Product Description]]
  
-[ThinkGeo Web Site](http://www.thinkgeo.com)+[[http://community.thinkgeo.com/|ThinkGeo Community Site]]
  
-### About ThinkGeo+[[http://​www.thinkgeo.com|ThinkGeo Web Site]] 
 + 
 +=== About ThinkGeo ​===
 ThinkGeo is a GIS (Geographic Information Systems) company founded in 2004 and located in Frisco, TX. Our clients are in more than 40 industries including agriculture,​ energy, transportation,​ government, engineering,​ software development,​ and defense. ThinkGeo is a GIS (Geographic Information Systems) company founded in 2004 and located in Frisco, TX. Our clients are in more than 40 industries including agriculture,​ energy, transportation,​ government, engineering,​ software development,​ and defense.
  
Line 1700: Line 1583:
 ThinkGeo Cloud Client support would work in all of the Map Suite controls such as Wpf, Web, MVC, WebApi, Android and iOS. ThinkGeo Cloud Client 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_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/ThinkGeoCloudElevationSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​CloudElevationSample/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/ThinkGeoCloudElevationSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​CloudElevationSample| View this sample on Gitlab]]
  
 ==== Find Nearest Cross Streets Sample for Wpf ==== ==== Find Nearest Cross Streets Sample for Wpf ====
Line 1712: Line 1595:
 This sample demonstrates how to geocode an address using Map Suite Geocoder. It then returns and highlights the low and high cross streets. ​         ​ This sample demonstrates how to geocode an address using Map Suite Geocoder. It then returns and highlights the low and high cross streets. ​         ​
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/FindNearestCrossStreetsSample-ForWpf/raw/master/​ScreenShot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​FindNearestCrossSreetsSample/​ScreenShot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/FindNearestCrossStreetsSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​FindNearestCrossSreetsSample| View this sample on Gitlab]]
  
 ==== Spatial Query With ThinkGeo Cloud Vector Maps Sample for Wpf ==== ==== Spatial Query With ThinkGeo Cloud Vector Maps Sample for Wpf ====
Line 1726: Line 1609:
 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](https://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[https://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/SpatialQueryThinkGeoVectorMapsSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​SpatialQueryVectorMapsSample/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/SpatialQueryThinkGeoVectorMapsSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​SpatialQueryVectorMapsSample| View this sample on Gitlab]]
  
 ==== Find Shortest Line And Splitting Lines Sample for Wpf ==== ==== Find Shortest Line And Splitting Lines Sample for Wpf ====
Line 1738: Line 1621:
 This sample will show you how to find the closest line between two features by using the GetShortestLineTo API and how to split a line at a given point using the GetLineOnALine API. These APIs can be very useful when doing spatial analysis and editing of features. This sample also allows you to dynamically alter the test features using the EditOverlay so you can try out different scenarios and see the results quickly. A MapShapes layer is used to display and style the individual results. ​         This sample will show you how to find the closest line between two features by using the GetShortestLineTo API and how to split a line at a given point using the GetLineOnALine API. These APIs can be very useful when doing spatial analysis and editing of features. This sample also allows you to dynamically alter the test features using the EditOverlay so you can try out different scenarios and see the results quickly. A MapShapes layer is used to display and style the individual results. ​        
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/FindShortestLineAndSplittingLinesSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​FindShortestLineAndSplittingLinesSample/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/FindShortestLineAndSplittingLinesSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​FindShortestLineAndSplittingLinesSample| View this sample on Gitlab]]
  
 ==== Polygon Shapes To Multipolygon Shape Sample for Wpf ==== ==== Polygon Shapes To Multipolygon Shape Sample for Wpf ====
Line 1750: Line 1633:
 In this Wpf project, we show how to create a MultipolygonShape from various PolygonShapes. Since a collection of PolygonShapes cannot be directly cast to a MultipolygonShape,​ we show the technique to build a MultipolygonShape passing an IEnumerable of PolygonShape. This is a Wpf sample and you will need the references for MapSuiteCore.dll and WpfDesktopEdition.dll. In this Wpf project, we show how to create a MultipolygonShape from various PolygonShapes. Since a collection of PolygonShapes cannot be directly cast to a MultipolygonShape,​ we show the technique to build a MultipolygonShape passing an IEnumerable of PolygonShape. This is a Wpf sample and you will need the references for MapSuiteCore.dll and WpfDesktopEdition.dll.
               ​               ​
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/PolygonShapesToMultipolygonShapeSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​PolygonShapesToMultipolygonShape/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/PolygonShapesToMultipolygonShapeSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​PolygonShapesToMultipolygonShape| View this sample on Gitlab]]
  
 ==== World Map Kit Data Extractor Sample for Wpf ==== ==== World Map Kit Data Extractor Sample for Wpf ====
Line 1762: Line 1645:
 The World Map Kit Data Extractor allows you to create new smaller subsets from the World Map Kit SQLite master database. You simply specify the bounding box (or a shape file) for the new area then it will create a new SQLite database for that regions. There are options to preserve high level data allowing you to keep higher extent features, about 700 meg of data, such as the world, countries, high level roads etc. as a backdrop to the cut out area. If you choose not to preserve the high level data the tool crosscuts every layer leaving you with the smallest dataset possible. The tool works with multiple projections but does not re-project. Specifying the srid allows you to configure your bounding box in decimal degrees regardless of the source database projection. We will consider enhancing the tool to support projection based on feedback. The World Map Kit Data Extractor allows you to create new smaller subsets from the World Map Kit SQLite master database. You simply specify the bounding box (or a shape file) for the new area then it will create a new SQLite database for that regions. There are options to preserve high level data allowing you to keep higher extent features, about 700 meg of data, such as the world, countries, high level roads etc. as a backdrop to the cut out area. If you choose not to preserve the high level data the tool crosscuts every layer leaving you with the smallest dataset possible. The tool works with multiple projections but does not re-project. Specifying the srid allows you to configure your bounding box in decimal degrees regardless of the source database projection. We will consider enhancing the tool to support projection based on feedback.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/WorldMapKitDataExtractorSample-ForWpf/raw/master/​Screenshot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​WorldMapKitDataExtractor/​Screenshot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/WorldMapKitDataExtractorSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​WorldMapKitDataExtractor| View this sample on Github]]
  
 ==== Connecting Two Shapes With Arraw Line Sample for Wpf ==== ==== Connecting Two Shapes With Arraw Line Sample for Wpf ====
Line 1774: Line 1657:
 In this sample, two polygons are connected by a arrowline, and if the polygons are moved the connecting arrowline will be moved automatically as well. In this sample, two polygons are connected by a arrowline, and if the polygons are moved the connecting arrowline will be moved automatically as well.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/ConnectingTwoShapesWithArrawLineSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​ConnectingTwoShapesWithArrawLineSample/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/ConnectingTwoShapesWithArrawLineSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​ConnectingTwoShapesWithArrawLineSample| View this sample on Gitlab]]
  
 ==== Multiple Jpeg2000 Raster Layer Sample for Wpf ==== ==== Multiple Jpeg2000 Raster Layer Sample for Wpf ====
Line 1786: Line 1669:
 This sample shows how to create a customized raster layer for loading multiple files. In this project, we create the MultipleJpeg2000RasterLayer to inherit from Layer to load multiple .jp2 files. You can use the world files or a RectangleShape which is the extent of the image in world coordinate. This sample shows how to create a customized raster layer for loading multiple files. In this project, we create the MultipleJpeg2000RasterLayer to inherit from Layer to load multiple .jp2 files. You can use the world files or a RectangleShape which is the extent of the image in world coordinate.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/MultipleJpeg2000RasterLayerSample-ForWpf/raw/master/​Screenshot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​MultipleJpeg2000RasterLayerSample/​Screenshot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/MultipleJpeg2000RasterLayerSample-ForWpf| View this sample on Github]] +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​MultipleJpeg2000RasterLayerSample| View this sample on Gitlab]]
-# Use Custom Font Symbol With PointStyle for Wpf+
  
-### Description+==== Use Custom Font Symbol With PointStyle for Wpf ==== 
 + 
 +=== Description ​===
 In this sample we show you how to use custom font symbol with pointStyle to your Map Suite applications for the WPF environment. The UseCustomFontSymbolWithPointStyle-ForWpf.NETCore sample supports ThinkGeo UI for Wpf 12.0 and higher. In this sample we show you how to use custom font symbol with pointStyle to your Map Suite applications for the WPF environment. The UseCustomFontSymbolWithPointStyle-ForWpf.NETCore sample supports ThinkGeo UI for Wpf 12.0 and higher.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​thinkgeo_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​thinkgeo_desktop_for_wpf|Wiki]] ​for the details.
  
-![Screenshot](https://​github.com/​ThinkGeo/​UseCustomFontSymbolWithPointStyle-ForWpf.NETCore/​blob/​master/​Screenshot.gif)+{{https://​github.com/​ThinkGeo/​UseCustomFontSymbolWithPointStyle-ForWpf.NETCore/​blob/​master/​Screenshot.gif?​500|Screenshot}}
  
 ### About the Code ### About the Code
Line 1840: Line 1724:
 ThinkGeo is a GIS (Geographic Information Systems) company founded in 2004 and located in Frisco, TX. Our clients are in more than 40 industries including agriculture,​ energy, transportation,​ government, engineering,​ software development,​ and defense. ThinkGeo is a GIS (Geographic Information Systems) company founded in 2004 and located in Frisco, TX. Our clients are in more than 40 industries including agriculture,​ energy, transportation,​ government, engineering,​ software development,​ and defense.
  
-Render Point With TextStyle for Wpf+==== Render Point With TextStyle for Wpf ====
  
-### Description+=== Description ​===
  
-In this sample we show you how to render points with textStyle in your WPF applications. It is using ThinkGeo Web Font which can be browsed/​downloaded from [Here](https://​thinkgeo.com/​map-icons-webfont). This sample uses ThinkGeo UI for Wpf 12.0.12 or higher.+In this sample we show you how to render points with textStyle in your WPF applications. It is using ThinkGeo Web Font which can be browsed/​downloaded from [[https://​thinkgeo.com/​map-icons-webfont|Here]]. This sample uses ThinkGeo UI for Wpf 12.0.12 or higher.
  
 TextStyle can render a point layer with font glyphs, it can also take advantage of the text confliction check to avoid duplication. PointClusterStyle can also be used to remove duplication,​ and [here](https://​github.com/​ThinkGeo/​ClusterPointSample-ForWpf.NETCore) ​ is a sample of it.  TextStyle can render a point layer with font glyphs, it can also take advantage of the text confliction check to avoid duplication. PointClusterStyle can also be used to remove duplication,​ and [here](https://​github.com/​ThinkGeo/​ClusterPointSample-ForWpf.NETCore) ​ is a sample of it. 
Line 1900: Line 1784:
 This sample also demonstrates another aspect of distance queries. We have the layers projected to the Google Map projection from WGS84, and you'll notice that the aforementioned distance functions (GetFeaturesWithinDistanceOf and GetFeaturesWithinDistanceOf) work seamlessly without requiring the developer to worry whether the layers are projected or not. This sample also demonstrates another aspect of distance queries. We have the layers projected to the Google Map projection from WGS84, and you'll notice that the aforementioned distance functions (GetFeaturesWithinDistanceOf and GetFeaturesWithinDistanceOf) work seamlessly without requiring the developer to worry whether the layers are projected or not.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/GetFeatureClickedOnWithProjectionSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​GetFeatureClickedOnWithProjectionSample/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/GetFeatureClickedOnWithProjectionSample-ForWpf| View this sample on Github]] +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​GetFeatureClickedOnWithProjectionSample| View this sample on Gitlab]]
-# Apply DirectionPointStyle for LineStyle for Wpf+
  
-### Description+==== Apply DirectionPointStyle for LineStyle for Wpf ==== 
 + 
 +=== Description ​===
  
 The Map Suite WPF ApplyDirectionPointStyleForLineStyle sample will guide you to draw lineStyle'​s direction Point on map. The direction Point can be an image or a glyph, it not only rotates the icon accross the angle of the road, but also provides a way to customize the rotation of the direction point. The arrows highlighted in the red circle in the following screenshot are customized based on the line's attributes. Please check out the source for detail. This sample supports Map Suite 10.5.8 and higher. ​ The Map Suite WPF ApplyDirectionPointStyleForLineStyle sample will guide you to draw lineStyle'​s direction Point on map. The direction Point can be an image or a glyph, it not only rotates the icon accross the angle of the road, but also provides a way to customize the rotation of the direction point. The arrows highlighted in the red circle in the following screenshot are customized based on the line's attributes. Please check out the source for detail. This sample supports Map Suite 10.5.8 and higher. ​
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-![Screenshot](https://github.com/ThinkGeo/ApplyDirectionPointStyleForLineStyle-ForWpf/blob/master/​Screenshot.png) +{{https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/-/raw/​support/​v10/​samples/​wpf/​ApplyDirectionalPointStyle/​Screenshot.gif?​500|Screenshot}}
- +
-### About the Code+
  
 +=== About the Code ===
  
-``` csharp+<​code>​
 // Set up the line style with white inner pen and black center pen.  // Set up the line style with white inner pen and black center pen. 
 var lineStyle = new LineStyle(new GeoPen(GeoColors.Black,​ 16) { StartCap = DrawingLineCap.Round,​ EndCap = DrawingLineCap.Round }, new GeoPen(GeoColors.White,​ 13) { StartCap = DrawingLineCap.Round,​ EndCap = DrawingLineCap.Round }); var lineStyle = new LineStyle(new GeoPen(GeoColors.Black,​ 16) { StartCap = DrawingLineCap.Round,​ EndCap = DrawingLineCap.Round }, new GeoPen(GeoColors.White,​ 13) { StartCap = DrawingLineCap.Round,​ EndCap = DrawingLineCap.Round });
Line 1937: Line 1821:
     }     }
 } }
-```+</​code>​
  
-### Getting Help+=== Getting Help ===
  
-[Map Suite Desktop for Wpf Wiki Resources](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf)+[[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Map Suite Desktop for Wpf Wiki Resources]]
  
-[Map Suite Desktop for Wpf Product Description](https://​thinkgeo.com/​ui-controls#​desktop-platforms)+[[https://​thinkgeo.com/​desktop-maps|Map Suite Desktop for Wpf Product Description]]
  
-[ThinkGeo Community Site](http://​community.thinkgeo.com/​)+[[http://​community.thinkgeo.com/​|ThinkGeo Community Site]]
  
-[ThinkGeo Web Site](http://​www.thinkgeo.com)+[[http://​www.thinkgeo.com|ThinkGeo Web Site]]
  
-### About ThinkGeo+=== About ThinkGeo ​===
  
 ThinkGeo is a GIS (Geographic Information Systems) company founded in 2004 and located in Frisco, TX. Our clients are in more than 40 industries including agriculture,​ energy, transportation,​ government, engineering,​ software development,​ and defense. ThinkGeo is a GIS (Geographic Information Systems) company founded in 2004 and located in Frisco, TX. Our clients are in more than 40 industries including agriculture,​ energy, transportation,​ government, engineering,​ software development,​ and defense.
  
  
-File Geo Database Viewer Sample for Wpf+==== File Geo Database Viewer Sample for Wpf ====
  
-### Description+=== Description ​===
  
 This sample demonstrates how you can read data from an ESRI FileGeodatabase,​ and you will find the code as straightforward as consuming any other data source in Map Suite. This sample demonstrates how you can read data from an ESRI FileGeodatabase,​ and you will find the code as straightforward as consuming any other data source in Map Suite.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​thinkgeo_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​thinkgeo_desktop_for_wpf|Wiki]] ​for the details.
  
-![Screenshot](https://github.com/ThinkGeo/FileGeoDatabaseViewerSample-ForWpf.NETCore/blob/master/​Screenshot.png)+{{https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/-/raw/​support/​v10/​samples/​wpf/​DisplayFileGeoDatabase/​Screenshot.gif?​500|Screenshot}}
  
-### About the Code+[[https://​gitlab.com/​thinkgeo/​public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​DisplayFileGeoDatabase?​ref_type=heads| View this sample on Gitlab]] 
 + 
 +=== About the Code ===
 Use a ClassBreakStyle to colorize each state differently depending on the range into which its population falls. ​ This value is found in the states ShapeFile DBF in the column named "​POP1990"​. Use a ClassBreakStyle to colorize each state differently depending on the range into which its population falls. ​ This value is found in the states ShapeFile DBF in the column named "​POP1990"​.
  
-```csharp +<​code> ​      ​
-       ​+
 layerOverlay = new LayerOverlay();​ layerOverlay = new LayerOverlay();​
 layer = new FileGeoDatabaseFeatureLayer(@"​..\..\..\AppData\Shapes.gdb"​);​ layer = new FileGeoDatabaseFeatureLayer(@"​..\..\..\AppData\Shapes.gdb"​);​
Line 1978: Line 1863:
 layerOverlay.Layers.Add(layer);​ layerOverlay.Layers.Add(layer);​
 mapView.Overlays.Add(layerOverlay);​ mapView.Overlays.Add(layerOverlay);​
 +</​code>​
  
-```+=== Getting Help ===
  
-### Getting Help+[[http://​wiki.thinkgeo.com/​wiki/​thinkgeo_desktop_for_wpf|ThinkGeo Desktop for Wpf Wiki Resources]]
  
-[ThinkGeo Desktop for Wpf Wiki Resources](http://wiki.thinkgeo.com/​wiki/​thinkgeo_desktop_for_wpf)+[[https://​thinkgeo.com/​desktop-maps|ThinkGeo Desktop for Wpf Product Description]]
  
-[ThinkGeo Desktop for Wpf Product Description](https://​thinkgeo.com/​ui-controls#​desktop-platforms)+[[http://community.thinkgeo.com/​|ThinkGeo Community Site]]
  
-[ThinkGeo Community Site](http://community.thinkgeo.com/)+[[http://www.thinkgeo.com|ThinkGeo Web Site]]
  
-[ThinkGeo Web Site](http://​www.thinkgeo.com) +=== About ThinkGeo ​===
- +
-### About ThinkGeo+
 ThinkGeo is a GIS (Geographic Information Systems) company founded in 2004 and located in Frisco, TX. Our clients are in more than 40 industries including agriculture,​ energy, transportation,​ government, engineering,​ software development,​ and defense. ThinkGeo is a GIS (Geographic Information Systems) company founded in 2004 and located in Frisco, TX. Our clients are in more than 40 industries including agriculture,​ energy, transportation,​ government, engineering,​ software development,​ and defense.
  
Line 1999: Line 1883:
 In this sample we show you how to add robust printing support to your Map Suite applications for the WPF. Using the code in this sample, you'll be able to build a Print Preview interface that lets your users interactively arrange items on a virtual page before printing the result to a printer, exporting to a PDF or to a bitmap image. The printing system also print maps with multi pages or print multi maps to one page.  In this sample we show you how to add robust printing support to your Map Suite applications for the WPF. Using the code in this sample, you'll be able to build a Print Preview interface that lets your users interactively arrange items on a virtual page before printing the result to a printer, exporting to a PDF or to a bitmap image. The printing system also print maps with multi pages or print multi maps to one page. 
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/PrintMapWithMultiPagesSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​PrintMapWithMultiplePages/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/PrintMapWithMultiPagesSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​PrintMapWithMultiplePages| View this sample on Gitlab]]
  
 ==== Distance Query On Wrap Dateline Mode Sample for Wpf ==== ==== Distance Query On Wrap Dateline Mode Sample for Wpf ====
Line 2011: Line 1895:
 This WPF sample shows how to take advantage of the projection class **WrapDatelineProjection** for doing spatial queries when on a “virtual map”. From this spatial query example, the developer should understand how the same principle using the same projection class can be applied for other operations such as Spatial Queries, Identify, etc.                This WPF sample shows how to take advantage of the projection class **WrapDatelineProjection** for doing spatial queries when on a “virtual map”. From this spatial query example, the developer should understand how the same principle using the same projection class can be applied for other operations such as Spatial Queries, Identify, etc.               
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/DistanceQueryOnWrapDatelineModeSample-ForWpf/raw/master/Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​winforms/​DistanceQueryOnProjectionLayersSample/ScreenShot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/DistanceQueryOnWrapDatelineModeSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​DistanceQueryOnProjectionLayersSample| View this sample on Gitlab]]
  
 ==== Get Features From Arc GIS Server Sample for WPF ==== ==== Get Features From Arc GIS Server Sample for WPF ====
Line 2023: Line 1907:
 In this wpf-based project, it illustrates how to get the features from the ArcGIS Restful Server. On the left side of the screenshot shows the raster data from ArcGIS Server and on the other side shows the features from ArcGIS Restful Server. In order to run this project, you will need the Development Build 9.0.482.0 or later. In this wpf-based project, it illustrates how to get the features from the ArcGIS Restful Server. On the left side of the screenshot shows the raster data from ArcGIS Server and on the other side shows the features from ArcGIS Restful Server. In order to run this project, you will need the Development Build 9.0.482.0 or later.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/GetFeaturesFromArcGISServerSample-ForWPF/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/​wpf/​GetFeatureFromArcGISServer?​ref_type=heads| View this sample on Gitlab]]
-[[https://github.com/ThinkGeo/GetFeaturesFromArcGISServerSample-ForWPF| View this sample on Github]]+
  
 ==== ThinkGeo Cloud Vector Maps Sample for Wpf ==== ==== ThinkGeo Cloud Vector Maps Sample for Wpf ====
  
  
-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': ​+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': ​
 - Light - Light
 - Dark - Dark
Line 2041: Line 1924:
 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_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/ThinkGeoCloudVectorMapsSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​CloudVectorMapsSample/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/ThinkGeoCloudVectorMapsSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​CloudVectorMapsSample| View this sample on Gitlab]]
  
 ==== Styles With Inmemory Feature Layer Sample for Wpf ==== ==== Styles With Inmemory Feature Layer Sample for Wpf ====
Line 2052: Line 1935:
 In this WPF project, we show how to build an InMemoryFeatureLayer from a text file. You'll notice how the columns are set up so that styles can be used as if the InMemoryFeatureLayer were a static layer such as a Shapefile. Here, we apply a Class Breask Style and a Text Style to our InMemoryFeatureLayer. What we learn in this sample can be applied to all the different editions of Map Suite. In this WPF project, we show how to build an InMemoryFeatureLayer from a text file. You'll notice how the columns are set up so that styles can be used as if the InMemoryFeatureLayer were a static layer such as a Shapefile. Here, we apply a Class Breask Style and a Text Style to our InMemoryFeatureLayer. What we learn in this sample can be applied to all the different editions of Map Suite.
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/StylesWithInmemoryFeatureLayerSample-ForWpf/raw/master/​Screenshot.png?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​StylesWithinMemoryFeatureLayer/​Screenshot.png?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/StylesWithInmemoryFeatureLayerSample-ForWpf| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​StylesWithinMemoryFeatureLayer| View this sample on Gitlab]]
  
 ==== ThinkGeo Cloud Reverse Geocoding Sample for Wpf ==== ==== ThinkGeo Cloud Reverse Geocoding Sample for Wpf ====
Line 2066: Line 1949:
 ThinkGeo Cloud Client support would work in all of the Map Suite controls such as Wpf, Web, MVC, WebApi, Android and iOS. ThinkGeo Cloud Client 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_wpffor the details.+Please refer to [[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Wiki]] ​for the details.
  
-{{https://github.com/ThinkGeo/ThinkGeoCloudReverseGeocodingSample-ForWpf/raw/master/​Screenshot.gif?​500|Screenshot}}+{{https://gitlab.com/thinkgeo/​public/​thinkgeo-desktop-maps/-/raw/support/​v10/​samples/​wpf/​CloudReverseGeocoding/​Screenshot.gif?​500|Screenshot}}
  
  
-[[https://github.com/ThinkGeo/ThinkGeoCloudReverseGeocodingSample-ForWpf| View this sample on Github]] +[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​CloudReverseGeocoding| View this sample on Gitlab]]
-# CustomZoomLevel for ThinkGeoCloudRasterOverlay for Wpf+
  
-### Description+==== CustomZoomLevel for ThinkGeoCloudRasterOverlay for Wpf ====
  
-The ThinkGeo WPF CustomZoomLevelForThinkGeoCloudRasterOverlay sample will guide you to how to draw map with custom zoomlevels. This CustomZoomLevelForThinkGeoCloudRasterOverlay sample supports ThinkGeo UI WPF 12.0.0.0 and higher and will show you how to create a WPF application using ThinkGeo UI WPF components.+=== Description ===
  
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​thinkgeo_desktop_for_wpf) for the details.+The Map Suite WPF CustomZoomLevelForThinkGeoCloudRasterOverlay sample will guide you to how to draw map with custom zoomlevelsThis CustomZoomLevelForThinkGeoCloudRasterOverlay sample supports Map Suite 10.0.0.0 and higher and will show you how to create a WPF application using Map Suite WPF components.
  
-![Screenshot](https://github.com/ThinkGeo/CustomZoomLevelForThinkGeoCloudRasterOverlay-ForWpf.NETCore/​blob/​master/​Screenshot.gif)+Please refer to [[http://wiki.thinkgeo.com/wiki/map_suite_desktop_for_wpf|Wiki]] for the details.
  
-### About the Code+{{https://​gitlab.com/​thinkgeo/​public/​thinkgeo-desktop-maps/​-/​raw/​support/​v10/​samples/​wpf/​CustomZoomLevelForThinkGeoCloudRasterOverlay/​Screenshot.gif?​500|Screenshot}}
  
-``` csharp +[[https://​gitlab.com/​thinkgeo/​public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​wpf/​CustomZoomLevelForThinkGeoCloudRasterOverlay?​ref_type=heads| View this sample on Gitlab]]
-ThinkGeoCloudMapsZoomLevelSet thinkGeoCloudMapsZoomLevelSet ​new ThinkGeoCloudMapsZoomLevelSet();​ +
-ThinkGeoCloudMapsZoomLevelSet customZoomLevelSet = new ThinkGeoCloudMapsZoomLevelSet();​+
  
-customZoomLevelSet.CustomZoomLevels.Add(new ZoomLevel(thinkGeoCloudMapsZoomLevelSet.ZoomLevel04.Scale));​ +=== About the Code ===
-customZoomLevelSet.CustomZoomLevels.Add(new ZoomLevel(thinkGeoCloudMapsZoomLevelSet.ZoomLevel05.Scale));​ +
-customZoomLevelSet.CustomZoomLevels.Add(new ZoomLevel(thinkGeoCloudMapsZoomLevelSet.ZoomLevel06.Scale));​ +
-customZoomLevelSet.CustomZoomLevels.Add(new ZoomLevel(thinkGeoCloudMapsZoomLevelSet.ZoomLevel07.Scale));​ +
-customZoomLevelSet.CustomZoomLevels.Add(new ZoomLevel(thinkGeoCloudMapsZoomLevelSet.ZoomLevel08.Scale));​ +
-customZoomLevelSet.CustomZoomLevels.Add(new ZoomLevel(thinkGeoCloudMapsZoomLevelSet.ZoomLevel09.Scale));​ +
-customZoomLevelSet.CustomZoomLevels.Add(new ZoomLevel(thinkGeoCloudMapsZoomLevelSet.ZoomLevel10.Scale));​ +
-customZoomLevelSet.CustomZoomLevels.Add(new ZoomLevel(thinkGeoCloudMapsZoomLevelSet.ZoomLevel11.Scale));​ +
-customZoomLevelSet.CustomZoomLevels.Add(new ZoomLevel(thinkGeoCloudMapsZoomLevelSet.ZoomLevel12.Scale));​ +
-customZoomLevelSet.CustomZoomLevels.Add(new ZoomLevel(thinkGeoCloudMapsZoomLevelSet.ZoomLevel13.Scale));​ +
-customZoomLevelSet.CustomZoomLevels.Add(new ZoomLevel(thinkGeoCloudMapsZoomLevelSet.ZoomLevel14.Scale));​ +
-customZoomLevelSet.CustomZoomLevels.Add(new ZoomLevel(thinkGeoCloudMapsZoomLevelSet.ZoomLevel15.Scale));​ +
-customZoomLevelSet.CustomZoomLevels.Add(new ZoomLevel(thinkGeoCloudMapsZoomLevelSet.ZoomLevel16.Scale));​ +
-customZoomLevelSet.CustomZoomLevels.Add(new ZoomLevel(thinkGeoCloudMapsZoomLevelSet.ZoomLevel17.Scale));​ +
-customZoomLevelSet.CustomZoomLevels.Add(new ZoomLevel(thinkGeoCloudMapsZoomLevelSet.ZoomLevel18.Scale));​ +
-customZoomLevelSet.CustomZoomLevels.Add(new ZoomLevel(thinkGeoCloudMapsZoomLevelSet.ZoomLevel19.Scale));​ +
-customZoomLevelSet.CustomZoomLevels.Add(new ZoomLevel(thinkGeoCloudMapsZoomLevelSet.ZoomLevel20.Scale));​ +
- +
-double zoomlevel17Scale ​thinkGeoCloudMapsZoomLevelSet.ZoomLevel20.Scale;​ +
-customZoomLevelSet.CustomZoomLevels.Add(new ZoomLevel(zoomlevel17Scale / 2)); +
-customZoomLevelSet.CustomZoomLevels.Add(new ZoomLevel(zoomlevel17Scale / 4)); +
-customZoomLevelSet.CustomZoomLevels.Add(new ZoomLevel(zoomlevel17Scale / 8)); +
-``` +
- +
-### Getting Help +
- +
-[ThinkGeo Desktop for Wpf Wiki Resources](http://​wiki.thinkgeo.com/​wiki/​thinkgeo_desktop_for_wpf) +
- +
-[ThinkGeo Desktop for Wpf Product Description](https://​thinkgeo.com/​ui-controls#​desktop-platforms) +
- +
-[ThinkGeo Community Site](http://​community.thinkgeo.com/​) +
- +
-[ThinkGeo Web Site](http://​www.thinkgeo.com) +
- +
-### About ThinkGeo +
-ThinkGeo is a GIS (Geographic Information Systems) company founded in 2004 and located in Frisco, TX. Our clients are in more than 40 industries including agriculture,​ energy, transportation,​ government, engineering,​ software development,​ and defense. +
- +
-# CustomZoomLevel for ThinkGeoCloudRasterOverlay for Wpf +
- +
-### Description +
- +
-The Map Suite WPF CustomZoomLevelForThinkGeoCloudRasterOverlay sample will guide you to how to draw map with custom zoomlevels. This CustomZoomLevelForThinkGeoCloudRasterOverlay sample supports Map Suite 10.0.0.0 and higher and will show you how to create a WPF application using Map Suite WPF components. +
- +
-Please refer to [Wiki](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf) for the details. +
- +
-![Screenshot](https://​github.com/​ThinkGeo/​CustomZoomLevelForThinkGeoCloudRasterOverlay-ForWpf/​blob/​master/​Screenshot.gif) +
- +
-### About the Code+
  
-``` csharp+<​code>​
 ThinkGeoCloudMapsZoomLevelSet thinkGeoCloudMapsZoomLevelSet = new ThinkGeoCloudMapsZoomLevelSet();​ ThinkGeoCloudMapsZoomLevelSet thinkGeoCloudMapsZoomLevelSet = new ThinkGeoCloudMapsZoomLevelSet();​
 ThinkGeoCloudMapsZoomLevelSet customZoomLevelSet = new ThinkGeoCloudMapsZoomLevelSet();​ ThinkGeoCloudMapsZoomLevelSet customZoomLevelSet = new ThinkGeoCloudMapsZoomLevelSet();​
Line 2164: Line 1997:
 customZoomLevelSet.CustomZoomLevels.Add(new ZoomLevel(zoomlevel17Scale / 4)); customZoomLevelSet.CustomZoomLevels.Add(new ZoomLevel(zoomlevel17Scale / 4));
 customZoomLevelSet.CustomZoomLevels.Add(new ZoomLevel(zoomlevel17Scale / 8)); customZoomLevelSet.CustomZoomLevels.Add(new ZoomLevel(zoomlevel17Scale / 8));
-```+</​code>​
  
-### Getting Help+=== Getting Help ===
  
-[Map Suite Desktop for Wpf Wiki Resources](http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf)+[[http://​wiki.thinkgeo.com/​wiki/​map_suite_desktop_for_wpf|Map Suite Desktop for Wpf Wiki Resources]]
  
-[Map Suite Desktop for Wpf Product Description](https://​thinkgeo.com/​ui-controls#​desktop-platforms)+[[https://​thinkgeo.com/​desktop-maps|Map Suite Desktop for Wpf Product Description]]
  
-[ThinkGeo Community Site](http://​community.thinkgeo.com/​)+[[http://​community.thinkgeo.com/​|ThinkGeo Community Site]]
  
-[ThinkGeo Web Site](http://​www.thinkgeo.com)+[[http://​www.thinkgeo.com|ThinkGeo Web Site]]
  
-### About ThinkGeo+=== About ThinkGeo ​===
  
 ThinkGeo is a GIS (Geographic Information Systems) company founded in 2004 and located in Frisco, TX. Our clients are in more than 40 industries including agriculture,​ energy, transportation,​ government, engineering,​ software development,​ and defense. ThinkGeo is a GIS (Geographic Information Systems) company founded in 2004 and located in Frisco, TX. Our clients are in more than 40 industries including agriculture,​ energy, transportation,​ government, engineering,​ software development,​ and defense.
- 
- 
  
 ==== 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| View this sample on Gitlab]]
  
 ==== 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 2263: Line 2092:
 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://github.com/ThinkGeo/ThinkGeoCloudMapsSample-ForWinForms| View this sample on Github]]+[[https://gitlab.com/thinkgeo/public/​thinkgeo-desktop-maps/​-/​tree/​support/​v10/​samples/​winforms/​CloudMapSample| View this sample on Gitlab]]
  
 ==== ThinkGeo Cloud Maps Sample for Mvc ==== ==== ThinkGeo Cloud Maps Sample for Mvc ====
- 
  
 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 2290: Line 2118:
  
 ==== Display ThinkGeo Cloud Maps Sample for JavaScript ==== ==== Display ThinkGeo Cloud Maps Sample for JavaScript ====
- 
  
 This sample demonstrates how you can display ThinkGeo Cloud Maps in a web page using javascript. It supports 5 different map styles: ​ This sample demonstrates how you can display ThinkGeo Cloud Maps in a web page using javascript. It supports 5 different map styles: ​
map_suite_desktop_for_wpf_all_samples.1583649571.txt.gz · Last modified: 2023/08/16 11:30 (external edit)