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:37]
admin [Summary]
map_suite_wpf_desktop_edition_quick_start_guide [2017/03/17 02:09] (current)
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>
Line 15: 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 34: 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 45: 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 158: 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 305: 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.
  
  
-<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.1441532246.txt.gz · Last modified: 2015/09/06 09:37 by admin