User Tools

Site Tools


map_suite_wpf_desktop_edition_quick_start_guide

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
map_suite_wpf_desktop_edition_quick_start_guide [2015/09/06 09:35]
admin
map_suite_wpf_desktop_edition_quick_start_guide [2017/03/17 02:09]
tgwikiupdate
Line 1: Line 1:
 ====== Map Suite Wpf Desktop Edition Quick Start Guide ====== ====== Map Suite Wpf Desktop Edition Quick Start Guide ======
 +{{section>​upgrade_map_suite_to_10.0}}
  
 <div msgbox> <div msgbox>
-The Map Suite WPF Desktop Edition illustrated QuickStart Guide will guide you through the process of creating a sample application and will help you become familiar with Map Suite. This edition of the QuickStart Guide supports WPF Desktop Edition 9.0.0.0 and higher, and will show you how to create a WPF application using Map Suite WPF Desktop Edition.<​br/><​br/>​If you want to build a Winforms application using the standard Map Suite Desktop Edition product, please see the [[Map Suite Desktop Edition Quick Start Guide|Winforms QuickStart Guide]] instead.</​div>​+The Map Suite WPF Desktop Edition illustrated QuickStart Guide will guide you through the process of creating a sample application and will help you become familiar with Map Suite. This edition of the QuickStart Guide supports WPF Desktop Edition 9.0.0.0 and higher, and will show you how to create a WPF application using Map Suite WPF Desktop Edition. 
 + 
 +If you want to build a Winforms application using the standard Map Suite Desktop Edition product, please see the [[Map Suite Desktop Edition Quick Start Guide|Winforms QuickStart Guide]] instead.</​div>​
  
 Welcome to Map Suite™ from ThinkGeo, a full featured mapping control that makes it easy for any Microsoft .NET developer to add mapping functionality to a Microsoft .NET application quickly and efficiently. Using the intuitive object model, even developers inexperienced in Geographic Information Systems (GIS) can have fully functional maps working in minutes. Welcome to Map Suite™ from ThinkGeo, a full featured mapping control that makes it easy for any Microsoft .NET developer to add mapping functionality to a Microsoft .NET application quickly and efficiently. Using the intuitive object model, even developers inexperienced in Geographic Information Systems (GIS) can have fully functional maps working in minutes.
Line 13: Line 16:
  
 ===== Download the Sample ===== ===== Download the Sample =====
-<faicon fa fa-download>​ {{:File:HelloWorld WPFDesktop.zip|Download Sample Code From This Exercise}} //(1.5 MB)//+<faicon fa fa-download ​ fa-lg {{filehistory:HelloWorld WPFDesktop.zip|Download Sample Code From This Exercise}} //(1.5 MB)//
  
 ===== Setting up the Environment ===== ===== Setting up the Environment =====
Line 32: Line 35:
 {{wpfedition:​QSG_WPFDesktop_Img02.png}} {{wpfedition:​QSG_WPFDesktop_Img02.png}}
  
-**2.** A dialogue box to Choose Toolbox Items will appear. You will need to select the WPF Components tab and then click the Browse button. Finally, navigate to the <kbd>C:\Program Files (x86)\ThinkGeo\Map Suite 9.0\Map Suite Wpf Desktop\Current Version\Managed Assemblies</kbd> ​folder and select the "​WpfDesktopEdition.dll"​.+**2.** A dialogue box to Choose Toolbox Items will appear. You will need to select the WPF Components tab and then click the Browse button. Finally, navigate to the //C:\Program Files (x86)\ThinkGeo\Map Suite 9.0\Map Suite Wpf Desktop\Current Version\Managed Assemblies/folder and select the "​WpfDesktopEdition.dll"​.
  
 {{wpfedition:​QSG_WPFDesktop_Img03b.png}} {{wpfedition:​QSG_WPFDesktop_Img03b.png}}
Line 43: Line 46:
  
 ===== Adding the Map Control to your Windows Form ===== ===== Adding the Map Control to your Windows Form =====
-We need to add MapSuiteCore.dll to the reference. Right-click the project in Solution Explorer and select "Add Reference...",​ navigate to the <kbd>C:\Program Files (x86)\ThinkGeo\Map Suite 9.0\Map Suite Wpf Desktop\Current Version\Managed Assemblies</kbd> ​folder and select "​MapSuiteCore.dll"​.+We need to add MapSuiteCore.dll to the reference. Right-click the project in Solution Explorer and select "Add Reference...",​ navigate to the //C:\Program Files (x86)\ThinkGeo\Map Suite 9.0\Map Suite Wpf Desktop\Current Version\Managed Assemblies/folder and select "​MapSuiteCore.dll"​.
  
 {{wpfedition:​QSG_WPFDesktop_Img05.png}} {{wpfedition:​QSG_WPFDesktop_Img05.png}}
Line 144: Line 147:
  
 {{wpfedition:​QSG_WPFDesktop_Img08.png}} {{wpfedition:​QSG_WPFDesktop_Img08.png}}
 +\\
 //Figure 4. A Simple map of Europe.// //Figure 4. A Simple map of Europe.//
  
Line 155: Line 159:
 That was an easy start! Now, let's add another Shapefile to the sample so that we will have a total of two layers: That was an easy start! Now, let's add another Shapefile to the sample so that we will have a total of two layers:
  
-#The borders of every country in the world ("​Countries02.shp"​) +  -The borders of every country in the world ("​Countries02.shp"​) 
-#The capitals of the world countries ("​WorldCapitals.shp"​)+  -The capitals of the world countries ("​WorldCapitals.shp"​)
  
 <code csharp> <code csharp>
Line 302: Line 306:
 You now know the basics of using the Map Suite Map control and are able to get started adding functionality into your own applications. Let's recap what we have learned about the object relationships and how the pieces of Map Suite work together: You now know the basics of using the Map Suite Map control and are able to get started adding functionality into your own applications. Let's recap what we have learned about the object relationships and how the pieces of Map Suite work together:
  
-#It is of the utmost importance that the units (feet, meters, decimal degrees, etc.) be set properly for the Map control based on the data. +  -It is of the utmost importance that the units (feet, meters, decimal degrees, etc.) be set properly for the Map control based on the data. 
-#Shapefiles provide the data used by a Map control to render a map. +  -Shapefiles provide the data used by a Map control to render a map. 
-#A Map is the basic control that contains all of the other objects that are used to tell how the map is to be rendered. +  -A Map is the basic control that contains all of the other objects that are used to tell how the map is to be rendered. 
-#A Map has one-to-many Layers. A Layer correlates one-to-one with a shape file (.shp). +  -A Map has one-to-many Layers. A Layer correlates one-to-one with a shape file (.shp). 
-#A Layer can have one-to-many ZoomLevels. ZoomLevels help to define ranges (upper and lower) of when a Layer should be shown or hidden.+  -A Layer can have one-to-many ZoomLevels. ZoomLevels help to define ranges (upper and lower) of when a Layer should be shown or hidden.
  
-<br> 
-<faicon fa fa-download>​ {{:​File:​HelloWorld WPFDesktop.zip|Download Sample Code From This Exercise}} //(1.5 MB)// 
  
 +<faicon fa fa-download ​ fa-lg> {{filehistory:​HelloWorld WPFDesktop.zip|Download Sample Code From This Exercise}} //(1.5 MB)//
  
map_suite_wpf_desktop_edition_quick_start_guide.txt · Last modified: 2017/03/17 02:09 by tgwikiupdate