This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
map_suite_windows_phone_edition_miscellaneous_samples [2015/09/17 13:31] admin |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Map Suite Windows Phone Edition Miscellaneous Samples ====== | ||
| - | <div sampleitem> | ||
| - | ==== Best Practices - Silverlight Edition ==== | ||
| - | <div screenshot> | ||
| - | {{windowsphoneedition:codesamples:SilverlightEditionSample_ClientAndServerData_CS_110614.jpg?300x180}} | ||
| - | </div> | ||
| - | <div content> | ||
| - | <div download_viewsource_buttons> | ||
| - | [[Source_Code_SilverlightEditionSample_ClientAndServerData_CS_110614.zip|View Source]] | ||
| - | {{:File:SilverlightEditionSample_ClientAndServerData_CS_110614.zip|C# Download}} | ||
| - | </div> | ||
| - | <div sample_otherlinks> | ||
| - | [[Map Suite Samples Applies To|Applies To: WindowsPhone \ Silverlight ]] | ||
| - | \\ | ||
| - | [[Map Suite Samples Alternate Languages | Need it in another language?]] | ||
| - | </div> | ||
| - | of the video which provides a brief summary of this sample. | ||
| - | </div> | ||
| - | </div> | ||
| - | |||
| - | ---- | ||
| - | <div sampleitem> | ||
| - | ==== Custom Scale Bar ==== | ||
| - | <div screenshot> | ||
| - | {{windowsphoneedition:codesamples:Map Suite Silverlight Edition Sample Custom Scale Bar.jpg?300x180}} | ||
| - | </div> | ||
| - | <div content> | ||
| - | <div download_viewsource_buttons> | ||
| - | [[Source_Code_WebEditionSample_CustomScaleBar_CS_100810.zip|View Source]] | ||
| - | {{:File:WebEditionSample_CustomScaleBar_CS_100810.zip|C# Download}} | ||
| - | </div> | ||
| - | <div sample_otherlinks> | ||
| - | [[Map Suite Samples Applies To|Applies To: WindowsPhone \ Desktop \ Web \ Silverlight \ Services \ Wpf ]] | ||
| - | \\ | ||
| - | [[Map Suite Samples Alternate Languages | Need it in another language?]] | ||
| - | </div> | ||
| - | In today’s Web project, we learn how to extend ScaleBarAdornmentLayer to create a custom scale bar that is based on a projection of choice instead of the projection of the map. This can be useful when the displayed projection of the map has highly distortable distances especially at high latitudes such as Spherical Mercator (used by Google Map, Virtual Earth, Yahoo maps etc). Using a scale bar based on distance geometry of the Geodetic (WGS84) projection will give a more accurate result. Note that the CustomScaleBar class is based on MapSuiteCore and can be used in any other versions of MapSuite such as Desktop. | ||
| - | </div> | ||
| - | </div> | ||
| - | |||
| - | ---- | ||
| - | <div sampleitem> | ||
| - | ==== Draw Custom Exception ==== | ||
| - | <div screenshot> | ||
| - | {{windowsphoneedition:codesamples:Map Suite Silverlight Edition Sample Draw Custom Exception.png?300x180}} | ||
| - | </div> | ||
| - | <div content> | ||
| - | <div download_viewsource_buttons> | ||
| - | [[Source_Code_DesktopEditionSample_DrawCustomException_CS_100127.zip|View Source]] | ||
| - | {{:File:DesktopEditionSample_DrawCustomException_CS_100127.zip|C# Download}} | ||
| - | </div> | ||
| - | <div sample_otherlinks> | ||
| - | [[Map Suite Samples Applies To|Applies To: WindowsPhone \ Desktop \ Web \ Silverlight \ Services \ Wpf ]] | ||
| - | \\ | ||
| - | [[Map Suite Samples Alternate Languages | Need it in another language?]] | ||
| - | </div> | ||
| - | This sample shows how you can suppress and draw exceptions in desktop overlays instead of throwing them. There is a little-known feature in the Map Suite Desktop Edition Overlay class that allows you to draw an exception in the event an exception is thrown during the drawing process. We have a default image we draw in this case; however, you can override this using the DrawExceptionCore method and draw whatever you want. By default we always throw expections, but to start drawing them you can use the Overlay.DrawExceptionMode property. | ||
| - | </div> | ||
| - | </div> | ||
| - | |||
| - | ---- | ||
8501 Wade Blvd Ste 550
Frisco, TX 75034
United States
sales@thinkgeo.com
1-785-727-4133
Online Store
- Desktop
WPF
WinForms
- Web
WebAPI HTML5/JavaScript
ASP.NET MVC
WebForms with AJAX
- Mobile
iOS
Android™
World Street
World Imagery
Routing
Geocoding
Reverse Geocoding
Elevation
Quick Start Guides
Documentation
Blogs
Discussion Forums
Customer Portal
About Us
News & Announcemets
Privacy Policy
Copyright 2003-2017 ThinkGeo LLC.
All rights reserved.