User Tools

Site Tools


map_suite_desktop_edition_vehicle_tracking_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_edition_vehicle_tracking_samples [2015/08/20 03:08]
127.0.0.1 external edit
map_suite_desktop_edition_vehicle_tracking_samples [2017/03/17 03:03] (current)
tgwikiupdate
Line 1: Line 1:
-====== ​Map_Suite_Desktop_Edition_Vehicle_Tracking_Samples ​======+====== ​ Map Suite Desktop Edition Vehicle Tracking Samples  ​====== 
 +<div sampleitem>​ 
 +====  Bread Crumb Trail  ==== 
 +<div screenshot>​ 
 +{{desktopedition:​codesamples:​Map Suite Desktop Edition Sample Bread Crumb Trail.jpg?​300x180}} 
 +</​div>​ 
 +<div content>​ 
 +<div download_viewsource_buttons>​ 
 +[[Source_Code_DesktopEditionSample_BreadCrumbTrail_CS_100428.zip|View Source]] 
 +{{filehistory:​DesktopEditionSample_BreadCrumbTrail_CS_100428.zip|C#​ Download}} 
 +</​div>​ 
 +<div sample_otherlinks>​ 
 +[[Map Suite Samples Applies To|Applies To: Desktop \ Web \ Silverlight \ Services \ Wpf ]] 
 +\\ 
 +[[Map Suite Samples Alternate Languages | Need it in another language?​]] 
 +</​div>​ 
 +An early project of the Code Community, “Vehicle Direction”,​ showed how to rotate the icon of a moving vehicle based on the direction. In today’s project, we are going one step further and we are showing how to display dynamically a bread crumb trail as a trailing tail behind the moving vehicle. For this purpose, we are creating a new LineShape with the latest points at every new position. 
 +</​div>​ 
 +</​div>​
  
-<​noinclude>​ +---- 
-{{article rating}} +<div sampleitem
-</noinclude+====  ​Centering And Rotating WPF  ​==== 
-====Bread Crumb Trail==== +<div screenshot>​ 
-^ Screenshot ^ width=78|Sample ^ width=66|Product ^ Description ^ +{{desktopedition:​codesamples:Map Suite Wpf Desktop Edition Sample ​CenteringAndRotatingWPF.jpg?300x180}} 
-{{wiki:Map Suite Desktop Edition Sample ​Bread Crumb Trail.jpg?250}}   | [[Source_Code_DesktopEditionSample_BreadCrumbTrail_CS_100428.zip|View Source]]\\ \\ [[:File:DesktopEditionSample_BreadCrumbTrail_CS_100428.zip|C# Download]]\\ \\ //[[Map Suite Samples Alternate Languages|Need it in another language?​]]// ​  | [[Map Suite Desktop Edition|Desktop \\ \\ ]]//[[Map Suite Samples Applies To|Applies To: Desktop \\  ​Web \\  ​Silverlight \\  Services \\  ​Wpf \\ ]]//   | An early project of the Code Community, ​Vehicle Direction”, showed ​how to rotate ​the icon of a moving vehicle ​based on the direction. In today’s project, we are going one step further and we are showing how to display dynamically ​bread crumb trail as a trailing tail behind the moving vehicle. ​For this purpose, we are creating a new LineShape with the latest points at every new position  |+</​div>​ 
 +<div content>​ 
 +<div download_viewsource_buttons>​ 
 +[[Source_Code_WpfDesktopEditionSample CenteringAndRotatingWPF CS 110504.zip|View Source]] 
 +{{filehistory:WpfDesktopEditionSample CenteringAndRotatingWPF CS 110504.zip|C# Download}} 
 +</div> 
 +<div sample_otherlinks>​ 
 +[[Map Suite Samples Applies To|Applies To: Desktop \ Web \ Silverlight \ Wpf ]] 
 +\\ 
 +[[Map Suite Samples Alternate Languages | Need it in another language?]] 
 +</div> 
 +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. 
 +</​div>​ 
 +</​div>​
  
 +----
 +<div sampleitem>​
 +====  Detect GPS  ====
 +<div screenshot>​
 +{{desktopedition:​codesamples:​Map Suite Desktop Edition Sample Detect GPS.jpg?​300x180}}
 +</​div>​
 +<div content>
 +<div download_viewsource_buttons>​
 +[[Source_Code_DesktopEditionSample_DetectGPS_CS_100630.zip|View Source]]
 +{{filehistory:​DesktopEditionSample_DetectGPS_CS_100630.zip|C#​ Download}}
 +</​div>​
 +<div sample_otherlinks>​
 +[[Map Suite Samples Applies To|Applies To: Desktop \ Web \ Silverlight \ Services \ Wpf ]]
 +\\
 +[[Map Suite Samples Alternate Languages | Need it in another language?]]
 +</​div>​
 +Upon request of our users, today we publish a project that is the Desktop version of “Detect GPS” for Web. Notice how we use ValueStyle and change the column value of the feature based on the Spatial Query feature at each new position. We chose this structure so that you can have more flexibility for adding more than one moving vehicle features to the InMemoryFeatureLayer. For that, you can pretty much keep the same code and just add an outer loop for looping thru all the moving features.
 +</​div>​
 +</​div>​
  
-====Centering And Rotating WPF==== +---- 
-^ Screenshot ^ width=78|Sample ^ width=66|Product ^ Description ^ +<div sampleitem>​ 
-{{wiki:Map Suite Wpf Desktop Edition Sample ​CenteringAndRotatingWPF.jpg?250}}   | [[Source_Code_WpfDesktopEditionSample CenteringAndRotatingWPF CS 110504.zip|View Source]]\\ \\ [[:File:WpfDesktopEditionSample CenteringAndRotatingWPF CS 110504.zip|C# Download]]\\ \\ //[[Map Suite Samples Alternate Languages|Need it in another language?​]]// ​  | [[Map Suite Wpf Desktop Edition|Wpf \\ \\ ]]//[[Map Suite Samples Applies To|Applies To: Desktop \\  ​Web \\  ​Silverlight \\  Wpf \\ ]]//   | 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  |+====  ​Moving Vehicle with Label  ​==== 
 +<div screenshot>​ 
 +{{desktopedition:​codesamples:Map Suite Desktop Edition Sample ​Moving Vehicle with Label.png?300x180}} 
 +</​div>​ 
 +<div content>​ 
 +<div download_viewsource_buttons>​ 
 +[[Source_Code_DesktopEditionSample_MovingVehicleWithLabel_CS_100126.zip|View Source]] 
 +{{filehistory:DesktopEditionSample_MovingVehicleWithLabel_CS_100126.zip|C# Download}} 
 +</div> 
 +<div sample_otherlinks>​ 
 +[[Map Suite Samples Applies To|Applies To: Desktop \ Web \ Silverlight \ Services ​\ Wpf ]] 
 +\\ 
 +[[Map Suite Samples Alternate Languages | Need it in another language?]] 
 +</div> 
 +As many of the Map Suite developers build applications with the common task of tracking vehiclesin today’s project ​we show how to update ​the label of a moving vehicle. ​The InMemoryFeatureLayer has all the tools necessary ​to display ​and label dynamically with editing a moving feature. In today’s project we show in a label the changing Longitude and Latitude each time the vehicle position is updated. 
 +</​div>​ 
 +</​div>​
  
 +----
 +<div sampleitem>​
 +====  Traveling Salesman Problem ​ ====
 +<div screenshot>​
 +{{desktopedition:​codesamples:​Map Suite Desktop Edition Sample Traveling Salesman Problem.jpg?​300x180}}
 +</​div>​
 +<div content>
 +<div download_viewsource_buttons>​
 +[[Source_Code_DesktopEditionSample_TravelingSalesmanProblem_CS_100325.zip|View Source]]
 +{{filehistory:​DesktopEditionSample_TravelingSalesmanProblem_CS_100325.zip|C#​ Download}}
 +</​div>​
 +<div sample_otherlinks>​
 +[[Map Suite Samples Applies To|Applies To: Desktop \ Web \ Silverlight \ Services \ Wpf ]]
 +\\
 +[[Map Suite Samples Alternate Languages | Need it in another language?]]
 +</​div>​
 +In today’s project, we are seeing a variant of the sample “Traveling Salesman Problem” of the “How Do I” samples of the Routing product. At the request of a Discussion Forum user, we added a new API to the GetRouteViaVisitStops function where now you can have distinct start and end points. For being able to run this app, you will need the version 6.0.0.0 or later.
 +</​div>​
 +</​div>​
  
-====Detect GPS==== +---- 
-^ Screenshot ^ width=78|Sample ^ width=66|Product ^ Description ^ +<div sampleitem>​ 
-| {{wiki:Map Suite Desktop Edition Sample Detect GPS.jpg?​250}} ​  | [[Source_Code_DesktopEditionSample_DetectGPS_CS_100630.zip|View Source]]\\ \\ [[:​File:​DesktopEditionSample_DetectGPS_CS_100630.zip|C#​ Download]]\\ \\ //[[Map Suite Samples Alternate Languages|Need it in another language?​]]// ​  | [[Map Suite Desktop Edition|Desktop \\ \\ ]]//[[Map Suite Samples Applies To|Applies To: Desktop \\  Web \\  Silverlight \\  Services \\  Wpf \\ ]]//   | Upon request of our users, today we publish a project that is the Desktop version of “Detect GPS” for Web. Notice how we use ValueStyle and change the column value of the feature based on the Spatial Query feature at each new position. We chose this structure so that you can have more flexibility for adding more than one moving vehicle features to the InMemoryFeatureLayer. For that, you can pretty much keep the same code and just add an outer loop for looping thru all the moving features. ​  | +====  Vehicle ​Direction  ​==== 
- +<div screenshot>​ 
- +{{desktopedition:​codesamples:Map Suite Desktop Edition Sample Vehicle ​Direction.JPG?300x180}} 
-====Moving ​Vehicle ​with Label==== +</div> 
-^ Screenshot ^ width=78|Sample ^ width=66|Product ^ Description ^ +<div content> 
-{{wiki:Map Suite Desktop Edition Sample ​Moving ​Vehicle ​with Label.png?250}}   | [[Source_Code_DesktopEditionSample_MovingVehicleWithLabel_CS_100126.zip|View Source]]\\ \\ [[:​File:​DesktopEditionSample_MovingVehicleWithLabel_CS_100126.zip|C#​ Download]]\\ \\ //[[Map Suite Samples Alternate Languages|Need it in another language?​]]// ​  | [[Map Suite Desktop Edition|Desktop \\ \\ ]]//[[Map Suite Samples Applies To|Applies To: Desktop \\  Web \\  Silverlight \\  Services \\  Wpf \\ ]]//   | As many of the Map Suite developers build applications with the common task of tracking vehicles, in today’s project we show how to update the label of a moving vehicle. The InMemoryFeatureLayer has all the tools necessary to display and label dynamically with editing a moving feature. In today’s project we show in a label the changing Longitude and Latitude each time the vehicle position is updated. ​  | +<div download_viewsource_buttons>​ 
- +[[Source_Code_DesktopEditionSample_VehicleDirection_CS_090728.zip|View Source]] 
- +{{filehistory:DesktopEditionSample_VehicleDirection_CS_090728.zip|C# Download}} 
-====Traveling Salesman Problem==== +</div> 
-^ Screenshot ^ width=78|Sample ^ width=66|Product ^ Description ^ +<div sample_otherlinks>​ 
-| {{wiki:Map Suite Desktop Edition Sample Traveling Salesman Problem.jpg?​250}} ​  ​| ​[[Source_Code_DesktopEditionSample_TravelingSalesmanProblem_CS_100325.zip|View Source]]\\ \\ [[:File:​DesktopEditionSample_TravelingSalesmanProblem_CS_100325.zip|C# Download]]\\ \\ //[[Map Suite Samples Alternate Languages|Need it in another language?​]]// ​  | [[Map Suite Desktop Edition|Desktop \\ \\ ]]//[[Map Suite Samples Applies To|Applies To: Desktop \\  ​Web \\  ​Silverlight \\  ​Services \\  ​Wpf \\ ]]//   | In today’s project, we are seeing a variant of the sample “Traveling Salesman Problem” of the “How Do I” samples of the Routing product. At the request of a Discussion Forum user, we added a new API to the GetRouteViaVisitStops function where now you can have distinct start and end points. For being able to run this app, you will need the version 6.0.0.0 or later. ​  | +[[Map Suite Samples Applies To|Applies To: Desktop \ Web \ Silverlight \ Services \ Wpf ]] 
- +\\ 
- +[[Map Suite Samples Alternate Languages | Need it in another language?]] 
-====Vehicle Direction==== +</div> 
-^ Screenshot ^ width=78|Sample ^ width=66|Product ^ Description ^ +This project is similar to RotatedImageStyle project, but shows in more detail how to use RotatedImageStyle with the Desktop edition. You will see the technique on how to use the Desktop specific OverLays collection to update each Layer. This project forms a good foundation for displaying moving vehicles on a Desktop application. 
-| {{wiki:Map Suite Desktop Edition Sample Vehicle Direction.JPG?​250}} ​  | [[Source_Code_DesktopEditionSample_VehicleDirection_CS_090728.zip|View Source]]\\ \\ [[:​File:​DesktopEditionSample_VehicleDirection_CS_090728.zip|C#​ Download]]\\ \\ //[[Map Suite Samples Alternate Languages|Need it in another language?​]]/​/   | [[Map Suite Desktop Edition|Desktop \\ \\ ]]//[[Map Suite Samples Applies To|Applies To: Desktop \\  Web \\  Silverlight \\  Services \\  Wpf \\ ]]//   ​| ​This project is similar to RotatedImageStyle project, but shows in more detail how to use RotatedImageStyle with the Desktop edition. You will see the technique on how to use the Desktop specific OverLays collection to update each Layer. This project forms a good foundation for displaying moving vehicles on a Desktop application. ​  | +</​div>​ 
- +</​div>​
-{{:Map Suite Services Edition Vehicle Tracking Samples}}+
  
 +----
 +{{page>​Map Suite Services Edition Vehicle Tracking Samples}}
map_suite_desktop_edition_vehicle_tracking_samples.1440040123.txt.gz · Last modified: 2015/09/08 07:04 (external edit)