This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
map_suite_windows_phone_edition_faq_miscellaneous [2015/08/20 03:08] 127.0.0.1 external edit |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Map_Suite_Windows_Phone_Edition_FAQ_Miscellaneous ====== | ||
| - | |||
| - | <noinclude> | ||
| - | {{article rating}} | ||
| - | </noinclude> | ||
| - | ====How do I export the current extent to a geo-referenced bitmap?==== | ||
| - | This question has a corresponding sample application(s) associated with it. | ||
| - | |||
| - | [[Map_Suite_Windows_Phone_Edition Miscellaneous Samples#Current Extent to Bitmap|Sample:Current Extent to Bitmap]] | ||
| - | |||
| - | In today’s project we learn how to convert to bitmap the current extent of the map. In order to have the bitmap georeferenced or being tied to the ground an accompanying world file needs to be created. That way it can be used as an image layer along with the other layers of the same projection (in this case geodetic). To test the result, you can load the bitmap to Map Suite Explorer and add a vector layer in geodetic to see how the two layers align with each other. | ||
| - | |||
| - | ====How do I create a custom scale bar that is accurate in another projection?==== | ||
| - | This question has a corresponding sample application(s) associated with it. | ||
| - | |||
| - | [[Map_Suite_Windows_Phone_Edition Miscellaneous Samples#Custom Scale Bar|Sample:Custom Scale Bar]] | ||
| - | |||
| - | 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. | ||
| - | |||
| - | ====How can I draw an exception instead of being thrown during drawing?==== | ||
| - | This question has a corresponding sample application(s) associated with it. | ||
| - | |||
| - | [[Map_Suite_Windows_Phone_Edition_Miscellaneous_Samples#Draw Custom Exception|Sample:Draw Custom Exception]] | ||
| - | |||
| - | 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. | ||
| - | |||
| - | ====How do I convert the current extent of a raster layer to a bitmap?==== | ||
| - | This question has a corresponding sample application(s) associated with it. | ||
| - | |||
| - | [[Map_Suite_Windows_Phone_Edition_Miscellaneous_Samples#Raster_Layer_to_Bitmap|Sample:Raster Layer to Bitmap]] | ||
| - | |||
| - | Today’s project is comparable to “Current Extent to Bitmap” project where we learned how to convert the current extent of the map to bitmap with its accompanying world file. Here we learn how to get the bitmap of a raster layer (in our example a Mr Sid image) and convert it to bitmap. We learn some techniques such as how to get the image size of the raster layer using ExtentHelper static functions and how to manipulate GeoImage. This project brings a good foundation for building applications converting different image formats. | ||
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.