User Tools

Site Tools


map_suite_wpf_desktop_edition_styles_samples

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_styles_samples [2015/10/10 07:31]
127.0.0.1 external edit
map_suite_wpf_desktop_edition_styles_samples [2017/03/17 02:11] (current)
tgwikiupdate
Line 1: Line 1:
 +{{section>​upgrade_map_suite_to_10.0}}
 +
 +<div sampleitem>​
 +====  ClusterPoint (WPF)   ====
 +<div screenshot>​
 +{{wpfedition:​codesamples:​high_performance_cluster.png?​300x180}}
 +</​div>​
 +<div content>
 +<div download_viewsource_buttons>​
 +[[Source_Code_WpfDesktopEditionSample_ClusterPoint_CS_160627.zip|View Source]]
 +{{filehistory:​WpfDesktopEditionSample_ClusterPoint_CS_160627.zip|C#​ Download}}
 +</​div>​
 +<div sample_otherlinks>​
 +[[Map Suite Samples Applies To|Applies To: Desktop \ Web \ Silverlight \ Services ]]
 +\\
 +[[Map Suite Samples Alternate Languages | Need it in another language?]]
 +</​div>​
 +ClusterPointStyle is integrated into Map Suite'​s core. 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. This latest sample also includes recent performance enhancements to the clustering API.
 +
 +</​div>​
 +</​div>​
 +
 +----
 +
 ====== ​ Map Suite Wpf Desktop Edition Styles Samples ​ ====== ====== ​ Map Suite Wpf Desktop Edition Styles Samples ​ ======
 <div sampleitem>​ <div sampleitem>​
Line 215: Line 239:
 </​div>​ </​div>​
 In the Routing extension, the API GetRoute of the RoutingEngine returns a MultilineShape made of a collection of LineShape. By default, the MultilineShape has LineShapes for each two vertex line segment. The result in the displaying of the route using some transparency is a route that looks dotted and irregular. In this project, we show the trick to get one continuous LineShape which will show as smooth and regular. We recognized that the default result is not the most adequate in most cases and we will correct that for the next major release of the Routing extension. In the meantime, you can use that project to get the result that you want to display your routes. In the Routing extension, the API GetRoute of the RoutingEngine returns a MultilineShape made of a collection of LineShape. By default, the MultilineShape has LineShapes for each two vertex line segment. The result in the displaying of the route using some transparency is a route that looks dotted and irregular. In this project, we show the trick to get one continuous LineShape which will show as smooth and regular. We recognized that the default result is not the most adequate in most cases and we will correct that for the next major release of the Routing extension. In the meantime, you can use that project to get the result that you want to display your routes.
 +</​div>​
 +</​div>​
 +
 +----
 +<div sampleitem>​
 +====  Weather Line Style  ====
 +<div screenshot>​
 +{{wpfedition:​codesamples:​Map Suite Wpf Desktop Edition Sample Weather Line Style.jpg?​300x180}}
 +</​div>​
 +<div content>
 +<div download_viewsource_buttons>​
 +[[Source_Code_WpfDesktopEditionSample WeatherLineStyle CS 110325.zip|View Source]]
 +{{filehistory:​WpfDesktopEditionSample WeatherLineStyle CS 110325.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 this Wpf sample, we learn how to extend LineStyle class to create a style for representing weather fronts such as cold front, warm front and occluded front for your weather maps. To achieve that styling a regular LineStyle is used for the front line itself. For symbolizing the type of front an icon is used. 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.
 </​div>​ </​div>​
 </​div>​ </​div>​
map_suite_wpf_desktop_edition_styles_samples.1444462269.txt.gz · Last modified: 2016/05/27 08:08 (external edit)