This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
map_suite_services_edition_zooming_panning_moving_samples [2015/09/18 02:34] admin [Custom Zoom Levels] |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Map Suite Services Edition Zooming Panning Moving Samples ====== | ||
| - | <div sampleitem> | ||
| - | ==== Centering and Rotating ==== | ||
| - | <div screenshot> | ||
| - | {{servicesedition:codesamples:Map Suite Services Edition Sample Centering and Rotating.jpg?300x180}} | ||
| - | </div> | ||
| - | <div content> | ||
| - | <div download_viewsource_buttons> | ||
| - | [[Source_Code_ServicesEditionSample_CenteringAndRotating_CS_100225.zip|View Source]] | ||
| - | {{:File:ServicesEditionSample_CenteringAndRotating_CS_100225.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 the project “Centering On Moving Vehicle”, we learned how to have the map always centered on a moving vehicle. In this project, we go one step further and show how to have the map also rotating according to the direction of the moving vehicle. In this project, you will also see how to use the CompassAdornmentLayer that always indicates the north as the map rotates. | ||
| - | </div> | ||
| - | </div> | ||
| - | |||
| - | ---- | ||
| - | <div sampleitem> | ||
| - | ==== Custom Zoom Levels ==== | ||
| - | <div screenshot> | ||
| - | {{:No_screenshot.jpg?300x180}} | ||
| - | </div> | ||
| - | <div content> | ||
| - | <div download_viewsource_buttons> | ||
| - | [[Source_Code_ServicesEditionSample_CustomZoomLevels_CS_100430.zip|View Source]] | ||
| - | {{:File:ServicesEditionSample_CustomZoomLevels_CS_100430.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 the project, “Zoom Levels Partitioning”, we showed how to partition the existing predefined zoom levels to have a finer level of control on how to display layers based on scale. In today’s project, we show how to set your own ten zoom levels based on a reference scale, each zoom level being half in scale of the previous one. So, in this case, we limit the number of zoom levels to ten instead of the twenty predefined ones. | ||
| - | </div> | ||
| - | </div> | ||
| - | |||
| - | ---- | ||
| - | <div sampleitem> | ||
| - | ==== Zoom to Full extent ==== | ||
| - | <div screenshot> | ||
| - | {{servicesedition:codesamples:Map Suite Services Edition Sample Zoom To FullExtent Service.jpg?300x180}} | ||
| - | </div> | ||
| - | <div content> | ||
| - | <div download_viewsource_buttons> | ||
| - | [[Source_Code_ServicesEditionSample_ZoomToFullExtent_CS_100415.zip|View Source]] | ||
| - | {{:File:ServicesEditionSample_ZoomToFullExtent_CS_100415.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> | ||
| - | This project shows you how to set the current extent based on a collection of layers. You can use this technique for the common task of having the map set to the full extent. Instead of having to manually set the full extent, now you can pass all the layers you want the full extent to be based on. | ||
| - | </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.