This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
map_suite_services_edition_zooming_panning_moving_samples [2015/08/20 03:08] 127.0.0.1 external edit |
map_suite_services_edition_zooming_panning_moving_samples [2017/03/17 03:06] (current) tgwikiupdate |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Map_Suite_Services_Edition_Zooming_Panning_Moving_Samples ====== | + | ====== 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]] | ||
| + | {{filehistory: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> | ||
| - | <noinclude> | + | ---- |
| - | {{article rating}} | + | <div sampleitem> |
| - | </noinclude> | + | ==== Custom Zoom Levels ==== |
| - | ====Centering and Rotating==== | + | <div screenshot> |
| - | ^ Screenshot ^ width=78|Sample ^ width=66|Product ^ Description ^ | + | {{:No_screenshot.jpg?300x180}} |
| - | | {{wiki:Map Suite Services Edition Sample Centering and Rotating.jpg?250}} | [[Source_Code_ServicesEditionSample_CenteringAndRotating_CS_100225.zip|View Source]]\\ \\ [[:File:ServicesEditionSample_CenteringAndRotating_CS_100225.zip|C# Download]]\\ \\ //[[Map Suite Samples Alternate Languages|Need it in another language?]]// | [[Map Suite Services Edition|Services \\ \\ ]]//[[Map Suite Samples Applies To|Applies To: Desktop \\ Web \\ Silverlight \\ Services \\ Wpf \\ ]]// | 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 content> | ||
| + | <div download_viewsource_buttons> | ||
| + | [[Source_Code_ServicesEditionSample_CustomZoomLevels_CS_100430.zip|View Source]] | ||
| + | {{filehistory: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]] | ||
| + | {{filehistory: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> | ||
| + | ==== Map Suite License File Generator ==== | ||
| + | <div screenshot> | ||
| + | {{servicesedition:codesamples:mapsuiitefilelicensegenerator.png?300x180}} | ||
| + | </div> | ||
| + | <div content> | ||
| + | <div download_viewsource_buttons> | ||
| + | {{filehistory:mapsuitelicensefilegenerator.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> | ||
| + | The Map Suite License File Generator shows how to take the advantage of MapSuiteLicense.dll to create the Map Suite Production Server license in your application on the fly. When you activate a Map Suite Production Server license that you have purchased, that license is verified with ThinkGeo’s online servers as part of the activation process. The simple process ensures that you are activating a license that you are entitled to. ThinkGeo takes care of all the particulars, and the process is seamless if you have an internet connection. | ||
| - | ====Custom Zoom Levels==== | + | NOTE: please ask support@thinkgeo.com for MapSuiteLicense.dll |
| - | ^ Screenshot ^ width=78|Sample ^ width=66|Product ^ Description ^ | + | |
| - | | {{wiki:No screenshot.jpg}} | [[Source_Code_ServicesEditionSample_CustomZoomLevels_CS_100430.zip|View Source]]\\ \\ [[:File:ServicesEditionSample_CustomZoomLevels_CS_100430.zip|C# Download]]\\ \\ //[[Map Suite Samples Alternate Languages|Need it in another language?]]// | [[Map Suite Services Edition|Services \\ \\ ]]//[[Map Suite Samples Applies To|Applies To: Desktop \\ Web \\ Silverlight \\ Services \\ Wpf \\ ]]// | 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. | | + | |
| - | + | ||
| - | + | ||
| - | ====Zoom to Full extent==== | + | |
| - | ^ Screenshot ^ width=78|Sample ^ width=66|Product ^ Description ^ | + | |
| - | | {{wiki:Map Suite Services Edition Sample Zoom To FullExtent Service.jpg?250}} | [[Source_Code_ServicesEditionSample_ZoomToFullExtent_CS_100415.zip|View Source]]\\ \\ [[:File:ServicesEditionSample_ZoomToFullExtent_CS_100415.zip|C# Download]]\\ \\ //[[Map Suite Samples Alternate Languages|Need it in another language?]]// | [[Map Suite Services Edition|Services \\ \\ ]]//[[Map Suite Samples Applies To|Applies To: Desktop \\ Web \\ Silverlight \\ Services \\ Wpf \\ ]]// | 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> | ||