====== Map Suite Wpf Desktop Edition Background Maps (Google, Bing, etc) Samples ====== {{section>upgrade_map_suite_to_10.0}}
==== GPS to Google Map(Desktop) ====
{{wpfedition:codesamples:Map Suite Wpf Desktop Edition Sample GPS to GoogleMap Desktop.jpg?300x180}}
[[Source_Code_DesktopEditionSample_GPStoGoogleMap_CS_100226.zip|View Source]] {{filehistory:DesktopEditionSample_GPStoGoogleMap_CS_100226.zip|C# Download}}
[[Map Suite Samples Applies To|Applies To: Desktop \ Services \ Wpf]] \\ [[Map Suite Samples Alternate Languages | Need it in another language?]]
Today we have the Desktop version of the Web project “GPS to Google”. In this project, we show how to display on Google Map point data coming from some GPS reading in Geodetic (Longitude/Latitude). It also shows how to set the extent of the map so that it is centered on the GPS point. \\
{{http://youtu.be/0C34A890U7M|Video Walkthrough}}
----
==== Great Circle with Google Map ====
{{wpfedition:codesamples:Map Suite Wpf Desktop Edition Sample Great Circle With GoogleMap.jpg?300x180}}
[[Source_Code_WebEditionSample_GreatCircleWithGoogleMap_CS_100607.zip|View Source]] {{filehistory:WebEditionSample_GreatCircleWithGoogleMap_CS_100607.zip|C# Download}}
[[Map Suite Samples Applies To|Applies To: Desktop \ Web \ Silverlight \ Services \ Wpf]] \\ [[Map Suite Samples Alternate Languages | Need it in another language?]]
The purpose of this Web project is to complete an earlier project “Great Circle on Pacific Rim” which showed how to create the Great Circle between two points over the Pacific with the geodetic projection (decimal degrees). In this project, we apply Great Circle to Google Map showing on the Pacific Rim going from America to Asia.
----
==== Mini map with Google Map ====
{{wpfedition:codesamples:Map Suite Wpf Desktop Edition Sample Mini map with Google Map.jpg?300x180}}
[[[Source_Code_WebEditionSample_GreatCircleWithGoogleMap_CS_100607.zip|View Source]] {{filehistory:DesktopEditionSample_MiniMapWithGoogleMap_CS_100604.zip|C# Download}}
[[Map Suite Samples Applies To|Applies To: Desktop \ Web \ Silverlight \ Services \ Wpf]] \\ [[Map Suite Samples Alternate Languages | Need it in another language?]]
The purpose of this Web project is to complete an earlier project “Great Circle on Pacific Rim” which showed how to create the Great Circle between two points over the Pacific with the geodetic projection (decimal degrees). In this project, we apply Great Circle to Google Map showing on the Pacific Rim going from America to Asia.
----
==== Mini map with Google Map ====
{{wpfedition:codesamples:Map Suite Wpf Desktop Edition Sample Mini map with Google Map.jpg?300x180}}
[[Source_Code_DesktopEditionSample_MiniMapWithGoogleMap_CS_100604.zip|View Source]] {{filehistory:DesktopEditionSample_MiniMapWithGoogleMap_CS_100604.zip|C# Download}}
[[Map Suite Samples Applies To|Map Suite Samples Applies To: Desktop \ Web \ Silverlight \ Services \ Wpf]] \\ [[Map Suite Samples Alternate Languages | Need it in another language?]]
At the request of a Discussion Forum user who wants to know how to use a map locator with Google Map, today we publish a Desktop project that shows how to extent the AdornmentLayer for creating a locator mini map that can use Google Map.
----
==== OpenStreetMap ====
{{wpfedition:codesamples:Map Suite Wpf Desktop Edition Sample OpenStreetMap.jpg?300x180}}
[[Source_Code_DesktopEditionSample_OpenStreetMap_CS_100728.zip|View Source]] {{filehistory:DesktopEditionSample_OpenStreetMap_CS_100728.zip|C# Download}}
[[Map Suite Samples Applies To|Applies To: Desktop \ Web \ Silverlight \ Wpf ]] \\ [[Map Suite Samples Alternate Languages | Need it in another language?]]
OpenStreetMap (OSM) is a collaborative project to create free geographic data for the entire world. It can be thought of the “Free Wiki World Map”. Now, the latest version of MapSuite desktop can support that. In order to run this project, you will need the Development Build 4.0.72.0 or later.
----
==== ArcGISServerRestLayer====
{{wpfedition:codesamples:map_suite_wpf_desktop_edition_arcgisserverrestlayer_sample.png?300x180}}
[[Source_Code_WpfEditionSample_ArcGISServerRestLayer_CS_160908.zip|View Source]] {{filehistory:wpf_arcgisserverrestlayer09082016.zip|C# Download}}
[[Map Suite Samples Applies To|Applies To: Desktop \ Web \ Silverlight \ Wpf ]] \\ [[Map Suite Samples Alternate Languages | Need it in another language?]]
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.
----
==== Shapefile to Google Map ====
{{wpfedition:codesamples:Map Suite Wpf Desktop Edition Sample Shapefile To GoogleMap.jpg?300x180}}
[[[Source_Code_DesktopEditionSample_ShapefileToGoogleMap_CS_100609.zip|View Source]] {{filehistory:DesktopEditionSample_ShapefileToGoogleMap_CS_100609.zip|C# Download}}
[[Map Suite Samples Applies To|Applies To: Desktop \ Web \ Silverlight \ Wpf]] \\ [[Map Suite Samples Alternate Languages | Need it in another language?]]
In the project “GPS to Google Map”, we learned how to project a single point in Longitude/Latitude so that it displays correctly on Google Map. In today’s project, we apply the same principle of projection to a shapefile to have it showing on Google Map. Notice how we also set the extent of the map based on the projected shapefile.
---- ==== Get Features From ArcGISServer====
{{wpfedition:codesamples:map_suite_wpf_desktop_edition_getfeaturesfromarcgisserver_sample.png?300x180}}
[[Source_Code_WpfEditionSample_GetFeaturesFromArcGISServer.zip|View Source]] {{filehistory:wpf_getfeaturesfromarcgisserver.zip|C# Download}}
[[Map Suite Samples Applies To|Applies To: Desktop \ Web \ Silverlight \ Wpf ]] \\ [[Map Suite Samples Alternate Languages | Need it in another language?]]
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.
{{page>Map Suite Services Edition Background Maps (Google, Bing, etc) Samples}}